tencentcloud-sdk-iotexplorer 3.0.829 → 3.0.830
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190423/client.rb +144 -0
- data/lib/v20190423/models.rb +434 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 092ef010b21b2d9af02c2321612f6c7dfec903dc
|
4
|
+
data.tar.gz: 1e3f7c88845e37b0e3e9a159ed48a40cb61c4c0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2497d1d8eea7b7b95fd1aaccc63db2f1b63c516e3dbee263be0cfa80e1d896cd7788ce1b3ece6af0f33b0317ff3afb2bfda06f1618e9ae069549d7b7f6667aa6
|
7
|
+
data.tar.gz: 7a762af723ea6f4d7e2a9d513ee9958ca9119fb2bca5bc97a043276b8b50e182890c7f34ac6c5cdad5f2e7bd71f55ce2fd3641d7e67f24e76d2c3a2251a474d2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.830
|
data/lib/v20190423/client.rb
CHANGED
@@ -29,6 +29,54 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 激活
|
33
|
+
|
34
|
+
# @param request: Request instance for ActivateTWeCallLicense.
|
35
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ActivateTWeCallLicenseRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ActivateTWeCallLicenseResponse`
|
37
|
+
def ActivateTWeCallLicense(request)
|
38
|
+
body = send_request('ActivateTWeCallLicense', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = ActivateTWeCallLicenseResponse.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
|
+
# 分配License
|
57
|
+
|
58
|
+
# @param request: Request instance for AssignTWeCallLicense.
|
59
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::AssignTWeCallLicenseRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::AssignTWeCallLicenseResponse`
|
61
|
+
def AssignTWeCallLicense(request)
|
62
|
+
body = send_request('AssignTWeCallLicense', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = AssignTWeCallLicenseResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
32
80
|
# 绑定云存用户
|
33
81
|
|
34
82
|
# @param request: Request instance for BindCloudStorageUser.
|
@@ -149,6 +197,30 @@ module TencentCloud
|
|
149
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
198
|
end
|
151
199
|
|
200
|
+
# 取消分配
|
201
|
+
|
202
|
+
# @param request: Request instance for CancelAssignTWeCallLicense.
|
203
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CancelAssignTWeCallLicenseRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CancelAssignTWeCallLicenseResponse`
|
205
|
+
def CancelAssignTWeCallLicense(request)
|
206
|
+
body = send_request('CancelAssignTWeCallLicense', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = CancelAssignTWeCallLicenseResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
152
224
|
# 根据设备产品ID、设备名称,设置控制设备的属性数据。
|
153
225
|
|
154
226
|
# @param request: Request instance for ControlDeviceData.
|
@@ -2021,6 +2093,30 @@ module TencentCloud
|
|
2021
2093
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2022
2094
|
end
|
2023
2095
|
|
2096
|
+
# 查询小程序列表
|
2097
|
+
|
2098
|
+
# @param request: Request instance for GetAuthMiniProgramAppList.
|
2099
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::GetAuthMiniProgramAppListRequest`
|
2100
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GetAuthMiniProgramAppListResponse`
|
2101
|
+
def GetAuthMiniProgramAppList(request)
|
2102
|
+
body = send_request('GetAuthMiniProgramAppList', request.serialize)
|
2103
|
+
response = JSON.parse(body)
|
2104
|
+
if response['Response'].key?('Error') == false
|
2105
|
+
model = GetAuthMiniProgramAppListResponse.new
|
2106
|
+
model.deserialize(response['Response'])
|
2107
|
+
model
|
2108
|
+
else
|
2109
|
+
code = response['Response']['Error']['Code']
|
2110
|
+
message = response['Response']['Error']['Message']
|
2111
|
+
reqid = response['Response']['RequestId']
|
2112
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2113
|
+
end
|
2114
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2115
|
+
raise e
|
2116
|
+
rescue StandardError => e
|
2117
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2118
|
+
end
|
2119
|
+
|
2024
2120
|
# 列出量产数据列表信息。
|
2025
2121
|
|
2026
2122
|
# @param request: Request instance for GetBatchProductionsList.
|
@@ -2285,6 +2381,54 @@ module TencentCloud
|
|
2285
2381
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2286
2382
|
end
|
2287
2383
|
|
2384
|
+
# 查询激活状态
|
2385
|
+
|
2386
|
+
# @param request: Request instance for GetTWeCallActiveStatus.
|
2387
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::GetTWeCallActiveStatusRequest`
|
2388
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GetTWeCallActiveStatusResponse`
|
2389
|
+
def GetTWeCallActiveStatus(request)
|
2390
|
+
body = send_request('GetTWeCallActiveStatus', request.serialize)
|
2391
|
+
response = JSON.parse(body)
|
2392
|
+
if response['Response'].key?('Error') == false
|
2393
|
+
model = GetTWeCallActiveStatusResponse.new
|
2394
|
+
model.deserialize(response['Response'])
|
2395
|
+
model
|
2396
|
+
else
|
2397
|
+
code = response['Response']['Error']['Code']
|
2398
|
+
message = response['Response']['Error']['Message']
|
2399
|
+
reqid = response['Response']['RequestId']
|
2400
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2401
|
+
end
|
2402
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2403
|
+
raise e
|
2404
|
+
rescue StandardError => e
|
2405
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
# 查询TWeCall包列表
|
2409
|
+
|
2410
|
+
# @param request: Request instance for GetTWeCallPkgList.
|
2411
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::GetTWeCallPkgListRequest`
|
2412
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GetTWeCallPkgListResponse`
|
2413
|
+
def GetTWeCallPkgList(request)
|
2414
|
+
body = send_request('GetTWeCallPkgList', request.serialize)
|
2415
|
+
response = JSON.parse(body)
|
2416
|
+
if response['Response'].key?('Error') == false
|
2417
|
+
model = GetTWeCallPkgListResponse.new
|
2418
|
+
model.deserialize(response['Response'])
|
2419
|
+
model
|
2420
|
+
else
|
2421
|
+
code = response['Response']['Error']['Code']
|
2422
|
+
message = response['Response']['Error']['Message']
|
2423
|
+
reqid = response['Response']['RequestId']
|
2424
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2425
|
+
end
|
2426
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2427
|
+
raise e
|
2428
|
+
rescue StandardError => e
|
2429
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2430
|
+
end
|
2431
|
+
|
2288
2432
|
# 获取规则列表
|
2289
2433
|
|
2290
2434
|
# @param request: Request instance for GetTopicRuleList.
|
data/lib/v20190423/models.rb
CHANGED
@@ -17,6 +17,53 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Iotexplorer
|
19
19
|
module V20190423
|
20
|
+
# ActivateTWeCallLicense请求参数结构体
|
21
|
+
class ActivateTWeCallLicenseRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param PkgType: voip类型
|
23
|
+
# @type PkgType: Integer
|
24
|
+
# @param MiniProgramAppId: appId
|
25
|
+
# @type MiniProgramAppId: String
|
26
|
+
# @param DeviceList: 设备列表
|
27
|
+
# @type DeviceList: Array
|
28
|
+
|
29
|
+
attr_accessor :PkgType, :MiniProgramAppId, :DeviceList
|
30
|
+
|
31
|
+
def initialize(pkgtype=nil, miniprogramappid=nil, devicelist=nil)
|
32
|
+
@PkgType = pkgtype
|
33
|
+
@MiniProgramAppId = miniprogramappid
|
34
|
+
@DeviceList = devicelist
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@PkgType = params['PkgType']
|
39
|
+
@MiniProgramAppId = params['MiniProgramAppId']
|
40
|
+
unless params['DeviceList'].nil?
|
41
|
+
@DeviceList = []
|
42
|
+
params['DeviceList'].each do |i|
|
43
|
+
twecallinfo_tmp = TWeCallInfo.new
|
44
|
+
twecallinfo_tmp.deserialize(i)
|
45
|
+
@DeviceList << twecallinfo_tmp
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
# ActivateTWeCallLicense返回参数结构体
|
52
|
+
class ActivateTWeCallLicenseResponse < TencentCloud::Common::AbstractModel
|
53
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
54
|
+
# @type RequestId: String
|
55
|
+
|
56
|
+
attr_accessor :RequestId
|
57
|
+
|
58
|
+
def initialize(requestid=nil)
|
59
|
+
@RequestId = requestid
|
60
|
+
end
|
61
|
+
|
62
|
+
def deserialize(params)
|
63
|
+
@RequestId = params['RequestId']
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
20
67
|
# 云api直接绑定设备出参
|
21
68
|
class AppDeviceInfo < TencentCloud::Common::AbstractModel
|
22
69
|
# @param DeviceId: 产品ID/设备名
|
@@ -69,6 +116,88 @@ module TencentCloud
|
|
69
116
|
end
|
70
117
|
end
|
71
118
|
|
119
|
+
# AssignTWeCallLicense请求参数结构体
|
120
|
+
class AssignTWeCallLicenseRequest < TencentCloud::Common::AbstractModel
|
121
|
+
# @param PkgType: voip类型
|
122
|
+
# @type PkgType: Integer
|
123
|
+
# @param MiniProgramAppId: appId
|
124
|
+
# @type MiniProgramAppId: String
|
125
|
+
# @param DeductNum: License数
|
126
|
+
# @type DeductNum: Integer
|
127
|
+
|
128
|
+
attr_accessor :PkgType, :MiniProgramAppId, :DeductNum
|
129
|
+
|
130
|
+
def initialize(pkgtype=nil, miniprogramappid=nil, deductnum=nil)
|
131
|
+
@PkgType = pkgtype
|
132
|
+
@MiniProgramAppId = miniprogramappid
|
133
|
+
@DeductNum = deductnum
|
134
|
+
end
|
135
|
+
|
136
|
+
def deserialize(params)
|
137
|
+
@PkgType = params['PkgType']
|
138
|
+
@MiniProgramAppId = params['MiniProgramAppId']
|
139
|
+
@DeductNum = params['DeductNum']
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# AssignTWeCallLicense返回参数结构体
|
144
|
+
class AssignTWeCallLicenseResponse < TencentCloud::Common::AbstractModel
|
145
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
146
|
+
# @type RequestId: String
|
147
|
+
|
148
|
+
attr_accessor :RequestId
|
149
|
+
|
150
|
+
def initialize(requestid=nil)
|
151
|
+
@RequestId = requestid
|
152
|
+
end
|
153
|
+
|
154
|
+
def deserialize(params)
|
155
|
+
@RequestId = params['RequestId']
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# 授权小程序信息
|
160
|
+
class AuthMiniProgramAppInfo < TencentCloud::Common::AbstractModel
|
161
|
+
# @param MiniProgramAppId: 小程序APPID
|
162
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
163
|
+
# @type MiniProgramAppId: String
|
164
|
+
# @param CreateTime: 创建时间
|
165
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
166
|
+
# @type CreateTime: Integer
|
167
|
+
# @param MiniProgramName: 小程序名称
|
168
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
169
|
+
# @type MiniProgramName: String
|
170
|
+
# @param LicenseNum: 激活码数
|
171
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
172
|
+
# @type LicenseNum: Integer
|
173
|
+
# @param IotAppId: 应用ID
|
174
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
175
|
+
# @type IotAppId: String
|
176
|
+
# @param IotAppName: 应用名称
|
177
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
178
|
+
# @type IotAppName: String
|
179
|
+
|
180
|
+
attr_accessor :MiniProgramAppId, :CreateTime, :MiniProgramName, :LicenseNum, :IotAppId, :IotAppName
|
181
|
+
|
182
|
+
def initialize(miniprogramappid=nil, createtime=nil, miniprogramname=nil, licensenum=nil, iotappid=nil, iotappname=nil)
|
183
|
+
@MiniProgramAppId = miniprogramappid
|
184
|
+
@CreateTime = createtime
|
185
|
+
@MiniProgramName = miniprogramname
|
186
|
+
@LicenseNum = licensenum
|
187
|
+
@IotAppId = iotappid
|
188
|
+
@IotAppName = iotappname
|
189
|
+
end
|
190
|
+
|
191
|
+
def deserialize(params)
|
192
|
+
@MiniProgramAppId = params['MiniProgramAppId']
|
193
|
+
@CreateTime = params['CreateTime']
|
194
|
+
@MiniProgramName = params['MiniProgramName']
|
195
|
+
@LicenseNum = params['LicenseNum']
|
196
|
+
@IotAppId = params['IotAppId']
|
197
|
+
@IotAppName = params['IotAppName']
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
72
201
|
# 获取返回列表的详情。
|
73
202
|
class BatchProductionInfo < TencentCloud::Common::AbstractModel
|
74
203
|
# @param BatchProductionId: 量产ID
|
@@ -405,6 +534,38 @@ module TencentCloud
|
|
405
534
|
end
|
406
535
|
end
|
407
536
|
|
537
|
+
# CancelAssignTWeCallLicense请求参数结构体
|
538
|
+
class CancelAssignTWeCallLicenseRequest < TencentCloud::Common::AbstractModel
|
539
|
+
# @param PkgId: 订单号
|
540
|
+
# @type PkgId: String
|
541
|
+
|
542
|
+
attr_accessor :PkgId
|
543
|
+
|
544
|
+
def initialize(pkgid=nil)
|
545
|
+
@PkgId = pkgid
|
546
|
+
end
|
547
|
+
|
548
|
+
def deserialize(params)
|
549
|
+
@PkgId = params['PkgId']
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
553
|
+
# CancelAssignTWeCallLicense返回参数结构体
|
554
|
+
class CancelAssignTWeCallLicenseResponse < TencentCloud::Common::AbstractModel
|
555
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
556
|
+
# @type RequestId: String
|
557
|
+
|
558
|
+
attr_accessor :RequestId
|
559
|
+
|
560
|
+
def initialize(requestid=nil)
|
561
|
+
@RequestId = requestid
|
562
|
+
end
|
563
|
+
|
564
|
+
def deserialize(params)
|
565
|
+
@RequestId = params['RequestId']
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
408
569
|
# 云存 AI 服务任务信息
|
409
570
|
class CloudStorageAIServiceTask < TencentCloud::Common::AbstractModel
|
410
571
|
# @param TaskId: 云存 AI 服务任务 ID
|
@@ -5164,6 +5325,61 @@ module TencentCloud
|
|
5164
5325
|
end
|
5165
5326
|
end
|
5166
5327
|
|
5328
|
+
# GetAuthMiniProgramAppList请求参数结构体
|
5329
|
+
class GetAuthMiniProgramAppListRequest < TencentCloud::Common::AbstractModel
|
5330
|
+
# @param MiniProgramAppId: appId
|
5331
|
+
# @type MiniProgramAppId: String
|
5332
|
+
# @param Offset: 页码
|
5333
|
+
# @type Offset: Integer
|
5334
|
+
# @param Limit: 每页大小
|
5335
|
+
# @type Limit: Integer
|
5336
|
+
|
5337
|
+
attr_accessor :MiniProgramAppId, :Offset, :Limit
|
5338
|
+
|
5339
|
+
def initialize(miniprogramappid=nil, offset=nil, limit=nil)
|
5340
|
+
@MiniProgramAppId = miniprogramappid
|
5341
|
+
@Offset = offset
|
5342
|
+
@Limit = limit
|
5343
|
+
end
|
5344
|
+
|
5345
|
+
def deserialize(params)
|
5346
|
+
@MiniProgramAppId = params['MiniProgramAppId']
|
5347
|
+
@Offset = params['Offset']
|
5348
|
+
@Limit = params['Limit']
|
5349
|
+
end
|
5350
|
+
end
|
5351
|
+
|
5352
|
+
# GetAuthMiniProgramAppList返回参数结构体
|
5353
|
+
class GetAuthMiniProgramAppListResponse < TencentCloud::Common::AbstractModel
|
5354
|
+
# @param MiniProgramList: 小程序列表
|
5355
|
+
# @type MiniProgramList: Array
|
5356
|
+
# @param Total: 总数
|
5357
|
+
# @type Total: Integer
|
5358
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5359
|
+
# @type RequestId: String
|
5360
|
+
|
5361
|
+
attr_accessor :MiniProgramList, :Total, :RequestId
|
5362
|
+
|
5363
|
+
def initialize(miniprogramlist=nil, total=nil, requestid=nil)
|
5364
|
+
@MiniProgramList = miniprogramlist
|
5365
|
+
@Total = total
|
5366
|
+
@RequestId = requestid
|
5367
|
+
end
|
5368
|
+
|
5369
|
+
def deserialize(params)
|
5370
|
+
unless params['MiniProgramList'].nil?
|
5371
|
+
@MiniProgramList = []
|
5372
|
+
params['MiniProgramList'].each do |i|
|
5373
|
+
authminiprogramappinfo_tmp = AuthMiniProgramAppInfo.new
|
5374
|
+
authminiprogramappinfo_tmp.deserialize(i)
|
5375
|
+
@MiniProgramList << authminiprogramappinfo_tmp
|
5376
|
+
end
|
5377
|
+
end
|
5378
|
+
@Total = params['Total']
|
5379
|
+
@RequestId = params['RequestId']
|
5380
|
+
end
|
5381
|
+
end
|
5382
|
+
|
5167
5383
|
# GetBatchProductionsList请求参数结构体
|
5168
5384
|
class GetBatchProductionsListRequest < TencentCloud::Common::AbstractModel
|
5169
5385
|
# @param ProjectId: 项目ID
|
@@ -5810,6 +6026,123 @@ module TencentCloud
|
|
5810
6026
|
end
|
5811
6027
|
end
|
5812
6028
|
|
6029
|
+
# GetTWeCallActiveStatus请求参数结构体
|
6030
|
+
class GetTWeCallActiveStatusRequest < TencentCloud::Common::AbstractModel
|
6031
|
+
# @param MiniProgramAppId: appId
|
6032
|
+
# @type MiniProgramAppId: String
|
6033
|
+
# @param DeviceList: 设备列表
|
6034
|
+
# @type DeviceList: Array
|
6035
|
+
|
6036
|
+
attr_accessor :MiniProgramAppId, :DeviceList
|
6037
|
+
|
6038
|
+
def initialize(miniprogramappid=nil, devicelist=nil)
|
6039
|
+
@MiniProgramAppId = miniprogramappid
|
6040
|
+
@DeviceList = devicelist
|
6041
|
+
end
|
6042
|
+
|
6043
|
+
def deserialize(params)
|
6044
|
+
@MiniProgramAppId = params['MiniProgramAppId']
|
6045
|
+
unless params['DeviceList'].nil?
|
6046
|
+
@DeviceList = []
|
6047
|
+
params['DeviceList'].each do |i|
|
6048
|
+
twecallinfo_tmp = TWeCallInfo.new
|
6049
|
+
twecallinfo_tmp.deserialize(i)
|
6050
|
+
@DeviceList << twecallinfo_tmp
|
6051
|
+
end
|
6052
|
+
end
|
6053
|
+
end
|
6054
|
+
end
|
6055
|
+
|
6056
|
+
# GetTWeCallActiveStatus返回参数结构体
|
6057
|
+
class GetTWeCallActiveStatusResponse < TencentCloud::Common::AbstractModel
|
6058
|
+
# @param TWeCallActiveInfos: 激活状态
|
6059
|
+
# @type TWeCallActiveInfos: Array
|
6060
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6061
|
+
# @type RequestId: String
|
6062
|
+
|
6063
|
+
attr_accessor :TWeCallActiveInfos, :RequestId
|
6064
|
+
|
6065
|
+
def initialize(twecallactiveinfos=nil, requestid=nil)
|
6066
|
+
@TWeCallActiveInfos = twecallactiveinfos
|
6067
|
+
@RequestId = requestid
|
6068
|
+
end
|
6069
|
+
|
6070
|
+
def deserialize(params)
|
6071
|
+
unless params['TWeCallActiveInfos'].nil?
|
6072
|
+
@TWeCallActiveInfos = []
|
6073
|
+
params['TWeCallActiveInfos'].each do |i|
|
6074
|
+
twecallactiveinfo_tmp = TWeCallActiveInfo.new
|
6075
|
+
twecallactiveinfo_tmp.deserialize(i)
|
6076
|
+
@TWeCallActiveInfos << twecallactiveinfo_tmp
|
6077
|
+
end
|
6078
|
+
end
|
6079
|
+
@RequestId = params['RequestId']
|
6080
|
+
end
|
6081
|
+
end
|
6082
|
+
|
6083
|
+
# GetTWeCallPkgList请求参数结构体
|
6084
|
+
class GetTWeCallPkgListRequest < TencentCloud::Common::AbstractModel
|
6085
|
+
# @param MiniProgramAppId: appId
|
6086
|
+
# @type MiniProgramAppId: String
|
6087
|
+
# @param PkgType: 类型
|
6088
|
+
# @type PkgType: Array
|
6089
|
+
# @param Status: 状态
|
6090
|
+
# @type Status: Array
|
6091
|
+
# @param Offset: 偏移量
|
6092
|
+
# @type Offset: Integer
|
6093
|
+
# @param Limit: 每页数据大小
|
6094
|
+
# @type Limit: Integer
|
6095
|
+
|
6096
|
+
attr_accessor :MiniProgramAppId, :PkgType, :Status, :Offset, :Limit
|
6097
|
+
|
6098
|
+
def initialize(miniprogramappid=nil, pkgtype=nil, status=nil, offset=nil, limit=nil)
|
6099
|
+
@MiniProgramAppId = miniprogramappid
|
6100
|
+
@PkgType = pkgtype
|
6101
|
+
@Status = status
|
6102
|
+
@Offset = offset
|
6103
|
+
@Limit = limit
|
6104
|
+
end
|
6105
|
+
|
6106
|
+
def deserialize(params)
|
6107
|
+
@MiniProgramAppId = params['MiniProgramAppId']
|
6108
|
+
@PkgType = params['PkgType']
|
6109
|
+
@Status = params['Status']
|
6110
|
+
@Offset = params['Offset']
|
6111
|
+
@Limit = params['Limit']
|
6112
|
+
end
|
6113
|
+
end
|
6114
|
+
|
6115
|
+
# GetTWeCallPkgList返回参数结构体
|
6116
|
+
class GetTWeCallPkgListResponse < TencentCloud::Common::AbstractModel
|
6117
|
+
# @param TWeCallPkgList: 激活状态
|
6118
|
+
# @type TWeCallPkgList: Array
|
6119
|
+
# @param Total: 总数
|
6120
|
+
# @type Total: Integer
|
6121
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6122
|
+
# @type RequestId: String
|
6123
|
+
|
6124
|
+
attr_accessor :TWeCallPkgList, :Total, :RequestId
|
6125
|
+
|
6126
|
+
def initialize(twecallpkglist=nil, total=nil, requestid=nil)
|
6127
|
+
@TWeCallPkgList = twecallpkglist
|
6128
|
+
@Total = total
|
6129
|
+
@RequestId = requestid
|
6130
|
+
end
|
6131
|
+
|
6132
|
+
def deserialize(params)
|
6133
|
+
unless params['TWeCallPkgList'].nil?
|
6134
|
+
@TWeCallPkgList = []
|
6135
|
+
params['TWeCallPkgList'].each do |i|
|
6136
|
+
twecallpkginfo_tmp = TWeCallPkgInfo.new
|
6137
|
+
twecallpkginfo_tmp.deserialize(i)
|
6138
|
+
@TWeCallPkgList << twecallpkginfo_tmp
|
6139
|
+
end
|
6140
|
+
end
|
6141
|
+
@Total = params['Total']
|
6142
|
+
@RequestId = params['RequestId']
|
6143
|
+
end
|
6144
|
+
end
|
6145
|
+
|
5813
6146
|
# GetTopicRuleList请求参数结构体
|
5814
6147
|
class GetTopicRuleListRequest < TencentCloud::Common::AbstractModel
|
5815
6148
|
# @param PageNum: 请求的页数
|
@@ -8086,6 +8419,107 @@ module TencentCloud
|
|
8086
8419
|
end
|
8087
8420
|
end
|
8088
8421
|
|
8422
|
+
# TWeCall设备激活信息
|
8423
|
+
class TWeCallActiveInfo < TencentCloud::Common::AbstractModel
|
8424
|
+
# @param ModelId: 小程序ID
|
8425
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8426
|
+
# @type ModelId: String
|
8427
|
+
# @param Sn: Sn信息
|
8428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8429
|
+
# @type Sn: String
|
8430
|
+
# @param ExpireTime: 过期时间
|
8431
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8432
|
+
# @type ExpireTime: Integer
|
8433
|
+
|
8434
|
+
attr_accessor :ModelId, :Sn, :ExpireTime
|
8435
|
+
|
8436
|
+
def initialize(modelid=nil, sn=nil, expiretime=nil)
|
8437
|
+
@ModelId = modelid
|
8438
|
+
@Sn = sn
|
8439
|
+
@ExpireTime = expiretime
|
8440
|
+
end
|
8441
|
+
|
8442
|
+
def deserialize(params)
|
8443
|
+
@ModelId = params['ModelId']
|
8444
|
+
@Sn = params['Sn']
|
8445
|
+
@ExpireTime = params['ExpireTime']
|
8446
|
+
end
|
8447
|
+
end
|
8448
|
+
|
8449
|
+
# TWeCall信息
|
8450
|
+
class TWeCallInfo < TencentCloud::Common::AbstractModel
|
8451
|
+
# @param ModelId: 小程序ID
|
8452
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8453
|
+
# @type ModelId: String
|
8454
|
+
# @param Sn: Sn信息
|
8455
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8456
|
+
# @type Sn: String
|
8457
|
+
# @param ActiveNum: 激活数
|
8458
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8459
|
+
# @type ActiveNum: Integer
|
8460
|
+
|
8461
|
+
attr_accessor :ModelId, :Sn, :ActiveNum
|
8462
|
+
|
8463
|
+
def initialize(modelid=nil, sn=nil, activenum=nil)
|
8464
|
+
@ModelId = modelid
|
8465
|
+
@Sn = sn
|
8466
|
+
@ActiveNum = activenum
|
8467
|
+
end
|
8468
|
+
|
8469
|
+
def deserialize(params)
|
8470
|
+
@ModelId = params['ModelId']
|
8471
|
+
@Sn = params['Sn']
|
8472
|
+
@ActiveNum = params['ActiveNum']
|
8473
|
+
end
|
8474
|
+
end
|
8475
|
+
|
8476
|
+
# TWeCall设备信息
|
8477
|
+
class TWeCallPkgInfo < TencentCloud::Common::AbstractModel
|
8478
|
+
# @param PkgId: 包ID
|
8479
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8480
|
+
# @type PkgId: String
|
8481
|
+
# @param PkgType: 包类型
|
8482
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8483
|
+
# @type PkgType: Integer
|
8484
|
+
# @param CreateTime: 生效时间
|
8485
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8486
|
+
# @type CreateTime: Integer
|
8487
|
+
# @param ExpireTime: 过期时间
|
8488
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8489
|
+
# @type ExpireTime: Integer
|
8490
|
+
# @param Status: 状态
|
8491
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8492
|
+
# @type Status: Integer
|
8493
|
+
# @param LicenseUsedNum: 已使用
|
8494
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8495
|
+
# @type LicenseUsedNum: Integer
|
8496
|
+
# @param LicenseTotalNum: 总量
|
8497
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8498
|
+
# @type LicenseTotalNum: Integer
|
8499
|
+
|
8500
|
+
attr_accessor :PkgId, :PkgType, :CreateTime, :ExpireTime, :Status, :LicenseUsedNum, :LicenseTotalNum
|
8501
|
+
|
8502
|
+
def initialize(pkgid=nil, pkgtype=nil, createtime=nil, expiretime=nil, status=nil, licenseusednum=nil, licensetotalnum=nil)
|
8503
|
+
@PkgId = pkgid
|
8504
|
+
@PkgType = pkgtype
|
8505
|
+
@CreateTime = createtime
|
8506
|
+
@ExpireTime = expiretime
|
8507
|
+
@Status = status
|
8508
|
+
@LicenseUsedNum = licenseusednum
|
8509
|
+
@LicenseTotalNum = licensetotalnum
|
8510
|
+
end
|
8511
|
+
|
8512
|
+
def deserialize(params)
|
8513
|
+
@PkgId = params['PkgId']
|
8514
|
+
@PkgType = params['PkgType']
|
8515
|
+
@CreateTime = params['CreateTime']
|
8516
|
+
@ExpireTime = params['ExpireTime']
|
8517
|
+
@Status = params['Status']
|
8518
|
+
@LicenseUsedNum = params['LicenseUsedNum']
|
8519
|
+
@LicenseTotalNum = params['LicenseTotalNum']
|
8520
|
+
end
|
8521
|
+
end
|
8522
|
+
|
8089
8523
|
# 缩略图信息
|
8090
8524
|
class ThumbnailURLInfoList < TencentCloud::Common::AbstractModel
|
8091
8525
|
# @param ThumbnailURL: 缩略图访问地址
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotexplorer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.830
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|