tencentcloud-sdk-mqtt 3.0.909
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-mqtt.rb +11 -0
- data/lib/v20240516/client.rb +90 -0
- data/lib/v20240516/models.rb +385 -0
- metadata +66 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2798494f61b2a9c431e0e6b9b853c0125b9d0a7d
|
4
|
+
data.tar.gz: 56bc9f2ec7c699dfd2386dc7d2d6a96fe99a8560
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 225e635a4d0238318a33b7bd93f9dcdf0ffab04025056ad1875dd5f438ed1adf6d840219e9e229ec52a624a44c11f41f17617b520f2aa9529799a39e761254be
|
7
|
+
data.tar.gz: b95cbb2d26de8e32ee585024a0b28dce2c5ae7cf7ddc69af7665fb1c0c5baf3fde30e1d55516c01e13d17b384a6e8488686417a6255da15cea69e5752005870a
|
data/lib/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.0.909
|
@@ -0,0 +1,90 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
require 'json'
|
18
|
+
|
19
|
+
module TencentCloud
|
20
|
+
module Mqtt
|
21
|
+
module V20240516
|
22
|
+
class Client < TencentCloud::Common::AbstractClient
|
23
|
+
|
24
|
+
def initialize(credential, region, profile = nil)
|
25
|
+
api_version = '2024-05-16'
|
26
|
+
api_endpoint = 'mqtt.tencentcloudapi.com'
|
27
|
+
sdk_version = 'MQTT_' + File.read(File.expand_path('../VERSION', __dir__)).strip
|
28
|
+
super(credential, region, api_version, api_endpoint, sdk_version, profile)
|
29
|
+
end
|
30
|
+
|
31
|
+
|
32
|
+
# 查询实例信息
|
33
|
+
|
34
|
+
# @param request: Request instance for DescribeInstance.
|
35
|
+
# @type request: :class:`Tencentcloud::mqtt::V20240516::DescribeInstanceRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::mqtt::V20240516::DescribeInstanceResponse`
|
37
|
+
def DescribeInstance(request)
|
38
|
+
body = send_request('DescribeInstance', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = DescribeInstanceResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 获取实例列表,Filters参数使用说明如下:
|
57
|
+
# 1. InstanceName, 名称模糊查询
|
58
|
+
# 2. InstanceId,实例ID查询
|
59
|
+
# 3. InstanceType, 实例类型查询,支持多选
|
60
|
+
# 3. InstanceStatus,实例状态查询,支持多选
|
61
|
+
|
62
|
+
# 当使用TagFilters查询时,Filters参数失效。
|
63
|
+
|
64
|
+
# @param request: Request instance for DescribeInstanceList.
|
65
|
+
# @type request: :class:`Tencentcloud::mqtt::V20240516::DescribeInstanceListRequest`
|
66
|
+
# @rtype: :class:`Tencentcloud::mqtt::V20240516::DescribeInstanceListResponse`
|
67
|
+
def DescribeInstanceList(request)
|
68
|
+
body = send_request('DescribeInstanceList', request.serialize)
|
69
|
+
response = JSON.parse(body)
|
70
|
+
if response['Response'].key?('Error') == false
|
71
|
+
model = DescribeInstanceListResponse.new
|
72
|
+
model.deserialize(response['Response'])
|
73
|
+
model
|
74
|
+
else
|
75
|
+
code = response['Response']['Error']['Code']
|
76
|
+
message = response['Response']['Error']['Message']
|
77
|
+
reqid = response['Response']['RequestId']
|
78
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
79
|
+
end
|
80
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
81
|
+
raise e
|
82
|
+
rescue StandardError => e
|
83
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
84
|
+
end
|
85
|
+
|
86
|
+
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
@@ -0,0 +1,385 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Mqtt
|
19
|
+
module V20240516
|
20
|
+
# DescribeInstanceList请求参数结构体
|
21
|
+
class DescribeInstanceListRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Filters: 查询条件列表
|
23
|
+
# @type Filters: Array
|
24
|
+
# @param Offset: 查询起始位置
|
25
|
+
# @type Offset: Integer
|
26
|
+
# @param Limit: 查询结果限制数量
|
27
|
+
# @type Limit: Integer
|
28
|
+
# @param TagFilters: 标签过滤器
|
29
|
+
# @type TagFilters: Array
|
30
|
+
|
31
|
+
attr_accessor :Filters, :Offset, :Limit, :TagFilters
|
32
|
+
|
33
|
+
def initialize(filters=nil, offset=nil, limit=nil, tagfilters=nil)
|
34
|
+
@Filters = filters
|
35
|
+
@Offset = offset
|
36
|
+
@Limit = limit
|
37
|
+
@TagFilters = tagfilters
|
38
|
+
end
|
39
|
+
|
40
|
+
def deserialize(params)
|
41
|
+
unless params['Filters'].nil?
|
42
|
+
@Filters = []
|
43
|
+
params['Filters'].each do |i|
|
44
|
+
filter_tmp = Filter.new
|
45
|
+
filter_tmp.deserialize(i)
|
46
|
+
@Filters << filter_tmp
|
47
|
+
end
|
48
|
+
end
|
49
|
+
@Offset = params['Offset']
|
50
|
+
@Limit = params['Limit']
|
51
|
+
unless params['TagFilters'].nil?
|
52
|
+
@TagFilters = []
|
53
|
+
params['TagFilters'].each do |i|
|
54
|
+
tagfilter_tmp = TagFilter.new
|
55
|
+
tagfilter_tmp.deserialize(i)
|
56
|
+
@TagFilters << tagfilter_tmp
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# DescribeInstanceList返回参数结构体
|
63
|
+
class DescribeInstanceListResponse < TencentCloud::Common::AbstractModel
|
64
|
+
# @param TotalCount: 查询总数
|
65
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
66
|
+
# @type TotalCount: Integer
|
67
|
+
# @param Data: 实例列表
|
68
|
+
# @type Data: Array
|
69
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
70
|
+
# @type RequestId: String
|
71
|
+
|
72
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
73
|
+
|
74
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
75
|
+
@TotalCount = totalcount
|
76
|
+
@Data = data
|
77
|
+
@RequestId = requestid
|
78
|
+
end
|
79
|
+
|
80
|
+
def deserialize(params)
|
81
|
+
@TotalCount = params['TotalCount']
|
82
|
+
unless params['Data'].nil?
|
83
|
+
@Data = []
|
84
|
+
params['Data'].each do |i|
|
85
|
+
mqttinstanceitem_tmp = MQTTInstanceItem.new
|
86
|
+
mqttinstanceitem_tmp.deserialize(i)
|
87
|
+
@Data << mqttinstanceitem_tmp
|
88
|
+
end
|
89
|
+
end
|
90
|
+
@RequestId = params['RequestId']
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# DescribeInstance请求参数结构体
|
95
|
+
class DescribeInstanceRequest < TencentCloud::Common::AbstractModel
|
96
|
+
# @param InstanceId: 实例ID
|
97
|
+
# @type InstanceId: String
|
98
|
+
|
99
|
+
attr_accessor :InstanceId
|
100
|
+
|
101
|
+
def initialize(instanceid=nil)
|
102
|
+
@InstanceId = instanceid
|
103
|
+
end
|
104
|
+
|
105
|
+
def deserialize(params)
|
106
|
+
@InstanceId = params['InstanceId']
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# DescribeInstance返回参数结构体
|
111
|
+
class DescribeInstanceResponse < TencentCloud::Common::AbstractModel
|
112
|
+
# @param InstanceType: 实例类型,
|
113
|
+
# EXPERIMENT 体验版
|
114
|
+
# BASIC 基础版
|
115
|
+
# PRO 专业版
|
116
|
+
# PLATINUM 铂金版
|
117
|
+
# @type InstanceType: String
|
118
|
+
# @param InstanceId: 实例ID
|
119
|
+
# @type InstanceId: String
|
120
|
+
# @param InstanceName: 实例名称
|
121
|
+
# @type InstanceName: String
|
122
|
+
# @param TopicNum: 主题数量
|
123
|
+
# @type TopicNum: Integer
|
124
|
+
# @param TopicNumLimit: 实例最大主题数量
|
125
|
+
# @type TopicNumLimit: Integer
|
126
|
+
# @param TpsLimit: TPS限流值
|
127
|
+
# @type TpsLimit: Integer
|
128
|
+
# @param CreatedTime: 创建时间,秒为单位
|
129
|
+
# @type CreatedTime: Integer
|
130
|
+
# @param Remark: 备注信息
|
131
|
+
# @type Remark: String
|
132
|
+
# @param InstanceStatus: 实例状态
|
133
|
+
# @type InstanceStatus: String
|
134
|
+
# @param SkuCode: 实例规格
|
135
|
+
# @type SkuCode: String
|
136
|
+
# @param MaxSubscriptionPerClient: 单客户端最大订阅数
|
137
|
+
# @type MaxSubscriptionPerClient: Integer
|
138
|
+
# @param AuthorizationPolicyLimit: 授权规则条数
|
139
|
+
# @type AuthorizationPolicyLimit: Integer
|
140
|
+
# @param ClientNumLimit: 客户端数量上限
|
141
|
+
# @type ClientNumLimit: Integer
|
142
|
+
# @param DeviceCertificateProvisionType: 客户端证书注册方式:JITP,API
|
143
|
+
# @type DeviceCertificateProvisionType: String
|
144
|
+
# @param AutomaticActivation: 自动注册设备证书时是否自动激活
|
145
|
+
# @type AutomaticActivation: Boolean
|
146
|
+
# @param RenewFlag: 是否自动续费
|
147
|
+
# @type RenewFlag: Integer
|
148
|
+
# @param PayMode: 计费模式, POSTPAID,按量计费 PREPAID,包年包月
|
149
|
+
# @type PayMode: String
|
150
|
+
# @param ExpiryTime: 到期时间,秒为单位
|
151
|
+
# @type ExpiryTime: Integer
|
152
|
+
# @param DestroyTime: 预销毁时间
|
153
|
+
# @type DestroyTime: Integer
|
154
|
+
# @param X509Mode: TLS,单向认证
|
155
|
+
# mTLS,双向认证
|
156
|
+
# BYOC;一机一证
|
157
|
+
# @type X509Mode: String
|
158
|
+
# @param MaxCaNum: 最大Ca配额
|
159
|
+
# @type MaxCaNum: Integer
|
160
|
+
# @param RegistrationCode: 证书注册码
|
161
|
+
# @type RegistrationCode: String
|
162
|
+
# @param MaxSubscription: 集群最大订阅数
|
163
|
+
# @type MaxSubscription: Integer
|
164
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
165
|
+
# @type RequestId: String
|
166
|
+
|
167
|
+
attr_accessor :InstanceType, :InstanceId, :InstanceName, :TopicNum, :TopicNumLimit, :TpsLimit, :CreatedTime, :Remark, :InstanceStatus, :SkuCode, :MaxSubscriptionPerClient, :AuthorizationPolicyLimit, :ClientNumLimit, :DeviceCertificateProvisionType, :AutomaticActivation, :RenewFlag, :PayMode, :ExpiryTime, :DestroyTime, :X509Mode, :MaxCaNum, :RegistrationCode, :MaxSubscription, :RequestId
|
168
|
+
|
169
|
+
def initialize(instancetype=nil, instanceid=nil, instancename=nil, topicnum=nil, topicnumlimit=nil, tpslimit=nil, createdtime=nil, remark=nil, instancestatus=nil, skucode=nil, maxsubscriptionperclient=nil, authorizationpolicylimit=nil, clientnumlimit=nil, devicecertificateprovisiontype=nil, automaticactivation=nil, renewflag=nil, paymode=nil, expirytime=nil, destroytime=nil, x509mode=nil, maxcanum=nil, registrationcode=nil, maxsubscription=nil, requestid=nil)
|
170
|
+
@InstanceType = instancetype
|
171
|
+
@InstanceId = instanceid
|
172
|
+
@InstanceName = instancename
|
173
|
+
@TopicNum = topicnum
|
174
|
+
@TopicNumLimit = topicnumlimit
|
175
|
+
@TpsLimit = tpslimit
|
176
|
+
@CreatedTime = createdtime
|
177
|
+
@Remark = remark
|
178
|
+
@InstanceStatus = instancestatus
|
179
|
+
@SkuCode = skucode
|
180
|
+
@MaxSubscriptionPerClient = maxsubscriptionperclient
|
181
|
+
@AuthorizationPolicyLimit = authorizationpolicylimit
|
182
|
+
@ClientNumLimit = clientnumlimit
|
183
|
+
@DeviceCertificateProvisionType = devicecertificateprovisiontype
|
184
|
+
@AutomaticActivation = automaticactivation
|
185
|
+
@RenewFlag = renewflag
|
186
|
+
@PayMode = paymode
|
187
|
+
@ExpiryTime = expirytime
|
188
|
+
@DestroyTime = destroytime
|
189
|
+
@X509Mode = x509mode
|
190
|
+
@MaxCaNum = maxcanum
|
191
|
+
@RegistrationCode = registrationcode
|
192
|
+
@MaxSubscription = maxsubscription
|
193
|
+
@RequestId = requestid
|
194
|
+
end
|
195
|
+
|
196
|
+
def deserialize(params)
|
197
|
+
@InstanceType = params['InstanceType']
|
198
|
+
@InstanceId = params['InstanceId']
|
199
|
+
@InstanceName = params['InstanceName']
|
200
|
+
@TopicNum = params['TopicNum']
|
201
|
+
@TopicNumLimit = params['TopicNumLimit']
|
202
|
+
@TpsLimit = params['TpsLimit']
|
203
|
+
@CreatedTime = params['CreatedTime']
|
204
|
+
@Remark = params['Remark']
|
205
|
+
@InstanceStatus = params['InstanceStatus']
|
206
|
+
@SkuCode = params['SkuCode']
|
207
|
+
@MaxSubscriptionPerClient = params['MaxSubscriptionPerClient']
|
208
|
+
@AuthorizationPolicyLimit = params['AuthorizationPolicyLimit']
|
209
|
+
@ClientNumLimit = params['ClientNumLimit']
|
210
|
+
@DeviceCertificateProvisionType = params['DeviceCertificateProvisionType']
|
211
|
+
@AutomaticActivation = params['AutomaticActivation']
|
212
|
+
@RenewFlag = params['RenewFlag']
|
213
|
+
@PayMode = params['PayMode']
|
214
|
+
@ExpiryTime = params['ExpiryTime']
|
215
|
+
@DestroyTime = params['DestroyTime']
|
216
|
+
@X509Mode = params['X509Mode']
|
217
|
+
@MaxCaNum = params['MaxCaNum']
|
218
|
+
@RegistrationCode = params['RegistrationCode']
|
219
|
+
@MaxSubscription = params['MaxSubscription']
|
220
|
+
@RequestId = params['RequestId']
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
# 查询过滤器
|
225
|
+
class Filter < TencentCloud::Common::AbstractModel
|
226
|
+
# @param Name: 过滤条件名
|
227
|
+
# @type Name: String
|
228
|
+
# @param Values: 过滤条件的值
|
229
|
+
# @type Values: Array
|
230
|
+
|
231
|
+
attr_accessor :Name, :Values
|
232
|
+
|
233
|
+
def initialize(name=nil, values=nil)
|
234
|
+
@Name = name
|
235
|
+
@Values = values
|
236
|
+
end
|
237
|
+
|
238
|
+
def deserialize(params)
|
239
|
+
@Name = params['Name']
|
240
|
+
@Values = params['Values']
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# MQTT 实例信息
|
245
|
+
class MQTTInstanceItem < TencentCloud::Common::AbstractModel
|
246
|
+
# @param InstanceId: 实例ID
|
247
|
+
# @type InstanceId: String
|
248
|
+
# @param InstanceName: 实例名称
|
249
|
+
# @type InstanceName: String
|
250
|
+
# @param Version: 实例版本
|
251
|
+
# @type Version: String
|
252
|
+
# @param InstanceType: 实例类型,
|
253
|
+
# EXPERIMENT,体验版
|
254
|
+
# BASIC,基础版
|
255
|
+
# PRO,专业版
|
256
|
+
# PLATINUM,铂金版
|
257
|
+
# @type InstanceType: String
|
258
|
+
# @param InstanceStatus: 实例状态,
|
259
|
+
# RUNNING, 运行中
|
260
|
+
# MAINTAINING,维护中
|
261
|
+
# ABNORMAL,异常
|
262
|
+
# OVERDUE,欠费
|
263
|
+
# DESTROYED,已删除
|
264
|
+
# CREATING,创建中
|
265
|
+
# MODIFYING,变配中
|
266
|
+
# CREATE_FAILURE,创建失败
|
267
|
+
# MODIFY_FAILURE,变配失败
|
268
|
+
# DELETING,删除中
|
269
|
+
# @type InstanceStatus: String
|
270
|
+
# @param TopicNumLimit: 实例主题数上限
|
271
|
+
# @type TopicNumLimit: Integer
|
272
|
+
# @param Remark: 备注信息
|
273
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
274
|
+
# @type Remark: String
|
275
|
+
# @param TopicNum: 主题数量
|
276
|
+
# @type TopicNum: Integer
|
277
|
+
# @param SkuCode: 商品规格
|
278
|
+
# @type SkuCode: String
|
279
|
+
# @param TpsLimit: 弹性TPS限流值
|
280
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
281
|
+
# @type TpsLimit: Integer
|
282
|
+
# @param CreateTime: 创建时间
|
283
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
284
|
+
# @type CreateTime: Integer
|
285
|
+
# @param MaxSubscriptionPerClient: 单客户端最大订阅数量
|
286
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
287
|
+
# @type MaxSubscriptionPerClient: Integer
|
288
|
+
# @param ClientNumLimit: 客户端连接数上线
|
289
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
290
|
+
# @type ClientNumLimit: Integer
|
291
|
+
# @param RenewFlag: 是否自动续费
|
292
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
293
|
+
# @type RenewFlag: Integer
|
294
|
+
# @param PayMode: 计费模式, POSTPAID,按量计费 PREPAID,包年包月
|
295
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
296
|
+
# @type PayMode: String
|
297
|
+
# @param ExpiryTime: 到期时间,秒为单位
|
298
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
299
|
+
# @type ExpiryTime: Integer
|
300
|
+
# @param DestroyTime: 预销毁时间
|
301
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
302
|
+
# @type DestroyTime: Integer
|
303
|
+
# @param AuthorizationPolicyLimit: 授权规则条数限制
|
304
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
305
|
+
# @type AuthorizationPolicyLimit: Integer
|
306
|
+
# @param MaxCaNum: 最大ca配额
|
307
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
308
|
+
# @type MaxCaNum: Integer
|
309
|
+
# @param MaxSubscription: 最大订阅数
|
310
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
311
|
+
# @type MaxSubscription: Integer
|
312
|
+
|
313
|
+
attr_accessor :InstanceId, :InstanceName, :Version, :InstanceType, :InstanceStatus, :TopicNumLimit, :Remark, :TopicNum, :SkuCode, :TpsLimit, :CreateTime, :MaxSubscriptionPerClient, :ClientNumLimit, :RenewFlag, :PayMode, :ExpiryTime, :DestroyTime, :AuthorizationPolicyLimit, :MaxCaNum, :MaxSubscription
|
314
|
+
|
315
|
+
def initialize(instanceid=nil, instancename=nil, version=nil, instancetype=nil, instancestatus=nil, topicnumlimit=nil, remark=nil, topicnum=nil, skucode=nil, tpslimit=nil, createtime=nil, maxsubscriptionperclient=nil, clientnumlimit=nil, renewflag=nil, paymode=nil, expirytime=nil, destroytime=nil, authorizationpolicylimit=nil, maxcanum=nil, maxsubscription=nil)
|
316
|
+
@InstanceId = instanceid
|
317
|
+
@InstanceName = instancename
|
318
|
+
@Version = version
|
319
|
+
@InstanceType = instancetype
|
320
|
+
@InstanceStatus = instancestatus
|
321
|
+
@TopicNumLimit = topicnumlimit
|
322
|
+
@Remark = remark
|
323
|
+
@TopicNum = topicnum
|
324
|
+
@SkuCode = skucode
|
325
|
+
@TpsLimit = tpslimit
|
326
|
+
@CreateTime = createtime
|
327
|
+
@MaxSubscriptionPerClient = maxsubscriptionperclient
|
328
|
+
@ClientNumLimit = clientnumlimit
|
329
|
+
@RenewFlag = renewflag
|
330
|
+
@PayMode = paymode
|
331
|
+
@ExpiryTime = expirytime
|
332
|
+
@DestroyTime = destroytime
|
333
|
+
@AuthorizationPolicyLimit = authorizationpolicylimit
|
334
|
+
@MaxCaNum = maxcanum
|
335
|
+
@MaxSubscription = maxsubscription
|
336
|
+
end
|
337
|
+
|
338
|
+
def deserialize(params)
|
339
|
+
@InstanceId = params['InstanceId']
|
340
|
+
@InstanceName = params['InstanceName']
|
341
|
+
@Version = params['Version']
|
342
|
+
@InstanceType = params['InstanceType']
|
343
|
+
@InstanceStatus = params['InstanceStatus']
|
344
|
+
@TopicNumLimit = params['TopicNumLimit']
|
345
|
+
@Remark = params['Remark']
|
346
|
+
@TopicNum = params['TopicNum']
|
347
|
+
@SkuCode = params['SkuCode']
|
348
|
+
@TpsLimit = params['TpsLimit']
|
349
|
+
@CreateTime = params['CreateTime']
|
350
|
+
@MaxSubscriptionPerClient = params['MaxSubscriptionPerClient']
|
351
|
+
@ClientNumLimit = params['ClientNumLimit']
|
352
|
+
@RenewFlag = params['RenewFlag']
|
353
|
+
@PayMode = params['PayMode']
|
354
|
+
@ExpiryTime = params['ExpiryTime']
|
355
|
+
@DestroyTime = params['DestroyTime']
|
356
|
+
@AuthorizationPolicyLimit = params['AuthorizationPolicyLimit']
|
357
|
+
@MaxCaNum = params['MaxCaNum']
|
358
|
+
@MaxSubscription = params['MaxSubscription']
|
359
|
+
end
|
360
|
+
end
|
361
|
+
|
362
|
+
# 标签过滤器
|
363
|
+
class TagFilter < TencentCloud::Common::AbstractModel
|
364
|
+
# @param TagKey: 标签键名称
|
365
|
+
# @type TagKey: String
|
366
|
+
# @param TagValues: 标签键名称
|
367
|
+
# @type TagValues: Array
|
368
|
+
|
369
|
+
attr_accessor :TagKey, :TagValues
|
370
|
+
|
371
|
+
def initialize(tagkey=nil, tagvalues=nil)
|
372
|
+
@TagKey = tagkey
|
373
|
+
@TagValues = tagvalues
|
374
|
+
end
|
375
|
+
|
376
|
+
def deserialize(params)
|
377
|
+
@TagKey = params['TagKey']
|
378
|
+
@TagValues = params['TagValues']
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
end
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tencentcloud-sdk-mqtt
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.909
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tencent Cloud
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-09-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: tencentcloud-sdk-common
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
27
|
+
description: Tencent Cloud Ruby SDK is the official software development kit, which
|
28
|
+
allows Ruby developers to write software that makes use of Tencent Cloud service
|
29
|
+
MQTT.
|
30
|
+
email:
|
31
|
+
- tencentcloudapi@tencent.com
|
32
|
+
executables: []
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- lib/v20240516/models.rb
|
37
|
+
- lib/v20240516/client.rb
|
38
|
+
- lib/tencentcloud-sdk-mqtt.rb
|
39
|
+
- lib/VERSION
|
40
|
+
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
|
+
licenses:
|
42
|
+
- Apache-2.0
|
43
|
+
metadata:
|
44
|
+
source_code_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/tencentcloud-sdk-mqtt
|
45
|
+
changelog_uri: https://github.com/TencentCloud/tencentcloud-sdk-ruby/blob/master/CHANGELOG.md
|
46
|
+
post_install_message:
|
47
|
+
rdoc_options: []
|
48
|
+
require_paths:
|
49
|
+
- lib
|
50
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
requirements: []
|
61
|
+
rubyforge_project:
|
62
|
+
rubygems_version: 2.0.14
|
63
|
+
signing_key:
|
64
|
+
specification_version: 4
|
65
|
+
summary: Tencent Cloud SDK for Ruby - MQTT
|
66
|
+
test_files: []
|