tencentcloud-sdk-iotvideo 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-iotvideo.rb +14 -0
- data/lib/v20191126/client.rb +1648 -0
- data/lib/v20191126/models.rb +4075 -0
- data/lib/v20201215/client.rb +1884 -0
- data/lib/v20201215/models.rb +5022 -0
- metadata +68 -0
@@ -0,0 +1,4075 @@
|
|
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 Iotvideo
|
19
|
+
module V20191126
|
20
|
+
# 终端用户绑定的设备
|
21
|
+
class BindDevInfo < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Tid: 设备TID
|
23
|
+
# @type Tid: String
|
24
|
+
# @param DeviceName: 设备名称
|
25
|
+
# @type DeviceName: String
|
26
|
+
# @param DeviceModel: 设备型号
|
27
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
28
|
+
# @type DeviceModel: String
|
29
|
+
# @param Role: 用户角色,owner:主人,guest:访客
|
30
|
+
# @type Role: String
|
31
|
+
|
32
|
+
attr_accessor :Tid, :DeviceName, :DeviceModel, :Role
|
33
|
+
|
34
|
+
def initialize(tid=nil, devicename=nil, devicemodel=nil, role=nil)
|
35
|
+
@Tid = tid
|
36
|
+
@DeviceName = devicename
|
37
|
+
@DeviceModel = devicemodel
|
38
|
+
@Role = role
|
39
|
+
end
|
40
|
+
|
41
|
+
def deserialize(params)
|
42
|
+
@Tid = params['Tid']
|
43
|
+
@DeviceName = params['DeviceName']
|
44
|
+
@DeviceModel = params['DeviceModel']
|
45
|
+
@Role = params['Role']
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
# 设备绑定的终端用户
|
50
|
+
class BindUsrInfo < TencentCloud::Common::AbstractModel
|
51
|
+
# @param AccessId: IotVideo平台分配给终端用户的用户id
|
52
|
+
# @type AccessId: String
|
53
|
+
# @param Role: 用户角色,owner:主人,guest:访客
|
54
|
+
# @type Role: String
|
55
|
+
|
56
|
+
attr_accessor :AccessId, :Role
|
57
|
+
|
58
|
+
def initialize(accessid=nil, role=nil)
|
59
|
+
@AccessId = accessid
|
60
|
+
@Role = role
|
61
|
+
end
|
62
|
+
|
63
|
+
def deserialize(params)
|
64
|
+
@AccessId = params['AccessId']
|
65
|
+
@Role = params['Role']
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
# ClearDeviceActiveCode请求参数结构体
|
70
|
+
class ClearDeviceActiveCodeRequest < TencentCloud::Common::AbstractModel
|
71
|
+
# @param Tids: 设备TID列表,0<元素数量<=100
|
72
|
+
# @type Tids: Array
|
73
|
+
|
74
|
+
attr_accessor :Tids
|
75
|
+
|
76
|
+
def initialize(tids=nil)
|
77
|
+
@Tids = tids
|
78
|
+
end
|
79
|
+
|
80
|
+
def deserialize(params)
|
81
|
+
@Tids = params['Tids']
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
# ClearDeviceActiveCode返回参数结构体
|
86
|
+
class ClearDeviceActiveCodeResponse < TencentCloud::Common::AbstractModel
|
87
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
88
|
+
# @type RequestId: String
|
89
|
+
|
90
|
+
attr_accessor :RequestId
|
91
|
+
|
92
|
+
def initialize(requestid=nil)
|
93
|
+
@RequestId = requestid
|
94
|
+
end
|
95
|
+
|
96
|
+
def deserialize(params)
|
97
|
+
@RequestId = params['RequestId']
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# 版本发布的描述信息,需要国际化,可以为空
|
102
|
+
class Contents < TencentCloud::Common::AbstractModel
|
103
|
+
# @param En: 英文,长度不超过300个字符
|
104
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
105
|
+
# @type En: String
|
106
|
+
# @param Cn: 中文简体,长度不超过300个字符
|
107
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
108
|
+
# @type Cn: String
|
109
|
+
# @param Tc: 中文繁体(Traditional Chinese),长度不超过300个字符
|
110
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
111
|
+
# @type Tc: String
|
112
|
+
# @param Default: 默认语言,最多不超过300个字符
|
113
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
114
|
+
# @type Default: String
|
115
|
+
|
116
|
+
attr_accessor :En, :Cn, :Tc, :Default
|
117
|
+
|
118
|
+
def initialize(en=nil, cn=nil, tc=nil, default=nil)
|
119
|
+
@En = en
|
120
|
+
@Cn = cn
|
121
|
+
@Tc = tc
|
122
|
+
@Default = default
|
123
|
+
end
|
124
|
+
|
125
|
+
def deserialize(params)
|
126
|
+
@En = params['En']
|
127
|
+
@Cn = params['Cn']
|
128
|
+
@Tc = params['Tc']
|
129
|
+
@Default = params['Default']
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# CreateAnonymousAccessToken请求参数结构体
|
134
|
+
class CreateAnonymousAccessTokenRequest < TencentCloud::Common::AbstractModel
|
135
|
+
# @param TtlMinutes: Token的TTL(time to alive)分钟数,最大值1440(即24小时)
|
136
|
+
# @type TtlMinutes: Integer
|
137
|
+
# @param Tid: 设备ID。创建Token时, 此参数为必须项
|
138
|
+
# @type Tid: String
|
139
|
+
# @param OldAccessToken: 旧的AccessToken。续期Token时,此参数为必须
|
140
|
+
# @type OldAccessToken: String
|
141
|
+
|
142
|
+
attr_accessor :TtlMinutes, :Tid, :OldAccessToken
|
143
|
+
|
144
|
+
def initialize(ttlminutes=nil, tid=nil, oldaccesstoken=nil)
|
145
|
+
@TtlMinutes = ttlminutes
|
146
|
+
@Tid = tid
|
147
|
+
@OldAccessToken = oldaccesstoken
|
148
|
+
end
|
149
|
+
|
150
|
+
def deserialize(params)
|
151
|
+
@TtlMinutes = params['TtlMinutes']
|
152
|
+
@Tid = params['Tid']
|
153
|
+
@OldAccessToken = params['OldAccessToken']
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
# CreateAnonymousAccessToken返回参数结构体
|
158
|
+
class CreateAnonymousAccessTokenResponse < TencentCloud::Common::AbstractModel
|
159
|
+
# @param AccessId: 终端用户在IoT Video上的唯一标识ID
|
160
|
+
# @type AccessId: String
|
161
|
+
# @param AccessToken: IoT Video平台的AccessToken
|
162
|
+
# @type AccessToken: String
|
163
|
+
# @param ExpireTime: Token的过期时间,单位秒(UTC时间)
|
164
|
+
# @type ExpireTime: Integer
|
165
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
166
|
+
# @type RequestId: String
|
167
|
+
|
168
|
+
attr_accessor :AccessId, :AccessToken, :ExpireTime, :RequestId
|
169
|
+
|
170
|
+
def initialize(accessid=nil, accesstoken=nil, expiretime=nil, requestid=nil)
|
171
|
+
@AccessId = accessid
|
172
|
+
@AccessToken = accesstoken
|
173
|
+
@ExpireTime = expiretime
|
174
|
+
@RequestId = requestid
|
175
|
+
end
|
176
|
+
|
177
|
+
def deserialize(params)
|
178
|
+
@AccessId = params['AccessId']
|
179
|
+
@AccessToken = params['AccessToken']
|
180
|
+
@ExpireTime = params['ExpireTime']
|
181
|
+
@RequestId = params['RequestId']
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# CreateAppUsr请求参数结构体
|
186
|
+
class CreateAppUsrRequest < TencentCloud::Common::AbstractModel
|
187
|
+
# @param CunionId: 标识用户的唯一ID,防止同一个用户多次注册
|
188
|
+
# @type CunionId: String
|
189
|
+
# @param Mobile: 用于小程序关联手机号
|
190
|
+
# @type Mobile: String
|
191
|
+
|
192
|
+
attr_accessor :CunionId, :Mobile
|
193
|
+
|
194
|
+
def initialize(cunionid=nil, mobile=nil)
|
195
|
+
@CunionId = cunionid
|
196
|
+
@Mobile = mobile
|
197
|
+
end
|
198
|
+
|
199
|
+
def deserialize(params)
|
200
|
+
@CunionId = params['CunionId']
|
201
|
+
@Mobile = params['Mobile']
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# CreateAppUsr返回参数结构体
|
206
|
+
class CreateAppUsrResponse < TencentCloud::Common::AbstractModel
|
207
|
+
# @param CunionId: 厂商云标识用户的唯一ID
|
208
|
+
# @type CunionId: String
|
209
|
+
# @param AccessId: 客户的终端用户在IoT Video上的唯一标识ID
|
210
|
+
# @type AccessId: String
|
211
|
+
# @param NewRegist: 用户是否为新创建
|
212
|
+
# @type NewRegist: Boolean
|
213
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
214
|
+
# @type RequestId: String
|
215
|
+
|
216
|
+
attr_accessor :CunionId, :AccessId, :NewRegist, :RequestId
|
217
|
+
|
218
|
+
def initialize(cunionid=nil, accessid=nil, newregist=nil, requestid=nil)
|
219
|
+
@CunionId = cunionid
|
220
|
+
@AccessId = accessid
|
221
|
+
@NewRegist = newregist
|
222
|
+
@RequestId = requestid
|
223
|
+
end
|
224
|
+
|
225
|
+
def deserialize(params)
|
226
|
+
@CunionId = params['CunionId']
|
227
|
+
@AccessId = params['AccessId']
|
228
|
+
@NewRegist = params['NewRegist']
|
229
|
+
@RequestId = params['RequestId']
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
# CreateBinding请求参数结构体
|
234
|
+
class CreateBindingRequest < TencentCloud::Common::AbstractModel
|
235
|
+
# @param AccessId: 终端用户在IoT Video上的唯一标识ID
|
236
|
+
# @type AccessId: String
|
237
|
+
# @param Tid: 设备TID
|
238
|
+
# @type Tid: String
|
239
|
+
# @param Role: 用户角色,owner:主人,guest:访客
|
240
|
+
# @type Role: String
|
241
|
+
# @param ForceBind: 是否踢掉之前的主人,true:踢掉;false:不踢掉。当role为guest时,可以不填
|
242
|
+
# @type ForceBind: Boolean
|
243
|
+
# @param Nick: 设备昵称,最多不超过64个字符
|
244
|
+
# @type Nick: String
|
245
|
+
# @param BindToken: 绑定过程中的会话token,由设备通过SDK接口确认是否允许绑定的token,用于增加设备被绑定的安全性
|
246
|
+
# @type BindToken: String
|
247
|
+
|
248
|
+
attr_accessor :AccessId, :Tid, :Role, :ForceBind, :Nick, :BindToken
|
249
|
+
|
250
|
+
def initialize(accessid=nil, tid=nil, role=nil, forcebind=nil, nick=nil, bindtoken=nil)
|
251
|
+
@AccessId = accessid
|
252
|
+
@Tid = tid
|
253
|
+
@Role = role
|
254
|
+
@ForceBind = forcebind
|
255
|
+
@Nick = nick
|
256
|
+
@BindToken = bindtoken
|
257
|
+
end
|
258
|
+
|
259
|
+
def deserialize(params)
|
260
|
+
@AccessId = params['AccessId']
|
261
|
+
@Tid = params['Tid']
|
262
|
+
@Role = params['Role']
|
263
|
+
@ForceBind = params['ForceBind']
|
264
|
+
@Nick = params['Nick']
|
265
|
+
@BindToken = params['BindToken']
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
# CreateBinding返回参数结构体
|
270
|
+
class CreateBindingResponse < TencentCloud::Common::AbstractModel
|
271
|
+
# @param AccessToken: 访问设备的AccessToken
|
272
|
+
# @type AccessToken: String
|
273
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
274
|
+
# @type RequestId: String
|
275
|
+
|
276
|
+
attr_accessor :AccessToken, :RequestId
|
277
|
+
|
278
|
+
def initialize(accesstoken=nil, requestid=nil)
|
279
|
+
@AccessToken = accesstoken
|
280
|
+
@RequestId = requestid
|
281
|
+
end
|
282
|
+
|
283
|
+
def deserialize(params)
|
284
|
+
@AccessToken = params['AccessToken']
|
285
|
+
@RequestId = params['RequestId']
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
# CreateDevToken请求参数结构体
|
290
|
+
class CreateDevTokenRequest < TencentCloud::Common::AbstractModel
|
291
|
+
# @param AccessId: 客户的终端用户在IoT Video上的唯一标识ID
|
292
|
+
# @type AccessId: String
|
293
|
+
# @param Tids: 设备TID列表,0<元素数量<=100
|
294
|
+
# @type Tids: Array
|
295
|
+
# @param TtlMinutes: Token的TTL(time to alive)分钟数
|
296
|
+
# @type TtlMinutes: Integer
|
297
|
+
|
298
|
+
attr_accessor :AccessId, :Tids, :TtlMinutes
|
299
|
+
|
300
|
+
def initialize(accessid=nil, tids=nil, ttlminutes=nil)
|
301
|
+
@AccessId = accessid
|
302
|
+
@Tids = tids
|
303
|
+
@TtlMinutes = ttlminutes
|
304
|
+
end
|
305
|
+
|
306
|
+
def deserialize(params)
|
307
|
+
@AccessId = params['AccessId']
|
308
|
+
@Tids = params['Tids']
|
309
|
+
@TtlMinutes = params['TtlMinutes']
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
# CreateDevToken返回参数结构体
|
314
|
+
class CreateDevTokenResponse < TencentCloud::Common::AbstractModel
|
315
|
+
# @param Data: 返回的用户token列表
|
316
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
317
|
+
# @type Data: Array
|
318
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
319
|
+
# @type RequestId: String
|
320
|
+
|
321
|
+
attr_accessor :Data, :RequestId
|
322
|
+
|
323
|
+
def initialize(data=nil, requestid=nil)
|
324
|
+
@Data = data
|
325
|
+
@RequestId = requestid
|
326
|
+
end
|
327
|
+
|
328
|
+
def deserialize(params)
|
329
|
+
unless params['Data'].nil?
|
330
|
+
@Data = []
|
331
|
+
params['Data'].each do |i|
|
332
|
+
devtokeninfo_tmp = DevTokenInfo.new
|
333
|
+
devtokeninfo_tmp.deserialize(i)
|
334
|
+
@Data << devtokeninfo_tmp
|
335
|
+
end
|
336
|
+
end
|
337
|
+
@RequestId = params['RequestId']
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
# CreateDevices请求参数结构体
|
342
|
+
class CreateDevicesRequest < TencentCloud::Common::AbstractModel
|
343
|
+
# @param ProductId: 产品ID
|
344
|
+
# @type ProductId: String
|
345
|
+
# @param Number: 创建设备的数量,数量范围1-100
|
346
|
+
# @type Number: Integer
|
347
|
+
# @param NamePrefix: 设备名称前缀,支持英文、数字,不超过10字符
|
348
|
+
# @type NamePrefix: String
|
349
|
+
# @param Operator: 操作人
|
350
|
+
# @type Operator: String
|
351
|
+
|
352
|
+
attr_accessor :ProductId, :Number, :NamePrefix, :Operator
|
353
|
+
|
354
|
+
def initialize(productid=nil, number=nil, nameprefix=nil, operator=nil)
|
355
|
+
@ProductId = productid
|
356
|
+
@Number = number
|
357
|
+
@NamePrefix = nameprefix
|
358
|
+
@Operator = operator
|
359
|
+
end
|
360
|
+
|
361
|
+
def deserialize(params)
|
362
|
+
@ProductId = params['ProductId']
|
363
|
+
@Number = params['Number']
|
364
|
+
@NamePrefix = params['NamePrefix']
|
365
|
+
@Operator = params['Operator']
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
# CreateDevices返回参数结构体
|
370
|
+
class CreateDevicesResponse < TencentCloud::Common::AbstractModel
|
371
|
+
# @param Data: 新创建设备的认证信息
|
372
|
+
# @type Data: Array
|
373
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
374
|
+
# @type RequestId: String
|
375
|
+
|
376
|
+
attr_accessor :Data, :RequestId
|
377
|
+
|
378
|
+
def initialize(data=nil, requestid=nil)
|
379
|
+
@Data = data
|
380
|
+
@RequestId = requestid
|
381
|
+
end
|
382
|
+
|
383
|
+
def deserialize(params)
|
384
|
+
unless params['Data'].nil?
|
385
|
+
@Data = []
|
386
|
+
params['Data'].each do |i|
|
387
|
+
devicecertificate_tmp = DeviceCertificate.new
|
388
|
+
devicecertificate_tmp.deserialize(i)
|
389
|
+
@Data << devicecertificate_tmp
|
390
|
+
end
|
391
|
+
end
|
392
|
+
@RequestId = params['RequestId']
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# CreateGencode请求参数结构体
|
397
|
+
class CreateGencodeRequest < TencentCloud::Common::AbstractModel
|
398
|
+
# @param ProductId: 产品ID
|
399
|
+
# @type ProductId: String
|
400
|
+
# @param Revision: 物模型发布版本号,-1代表未发布的,保存的是草稿箱的版本。1代表已发布的物模型。
|
401
|
+
# @type Revision: Integer
|
402
|
+
|
403
|
+
attr_accessor :ProductId, :Revision
|
404
|
+
|
405
|
+
def initialize(productid=nil, revision=nil)
|
406
|
+
@ProductId = productid
|
407
|
+
@Revision = revision
|
408
|
+
end
|
409
|
+
|
410
|
+
def deserialize(params)
|
411
|
+
@ProductId = params['ProductId']
|
412
|
+
@Revision = params['Revision']
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
# CreateGencode返回参数结构体
|
417
|
+
class CreateGencodeResponse < TencentCloud::Common::AbstractModel
|
418
|
+
# @param ZipCode: 生成的源代码(zip压缩后的base64编码)
|
419
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
420
|
+
# @type ZipCode: String
|
421
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
422
|
+
# @type RequestId: String
|
423
|
+
|
424
|
+
attr_accessor :ZipCode, :RequestId
|
425
|
+
|
426
|
+
def initialize(zipcode=nil, requestid=nil)
|
427
|
+
@ZipCode = zipcode
|
428
|
+
@RequestId = requestid
|
429
|
+
end
|
430
|
+
|
431
|
+
def deserialize(params)
|
432
|
+
@ZipCode = params['ZipCode']
|
433
|
+
@RequestId = params['RequestId']
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
# CreateIotDataType请求参数结构体
|
438
|
+
class CreateIotDataTypeRequest < TencentCloud::Common::AbstractModel
|
439
|
+
# @param IotDataType: 用户自定义数据类型,json格式的字符串
|
440
|
+
# @type IotDataType: String
|
441
|
+
|
442
|
+
attr_accessor :IotDataType
|
443
|
+
|
444
|
+
def initialize(iotdatatype=nil)
|
445
|
+
@IotDataType = iotdatatype
|
446
|
+
end
|
447
|
+
|
448
|
+
def deserialize(params)
|
449
|
+
@IotDataType = params['IotDataType']
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
# CreateIotDataType返回参数结构体
|
454
|
+
class CreateIotDataTypeResponse < TencentCloud::Common::AbstractModel
|
455
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
456
|
+
# @type RequestId: String
|
457
|
+
|
458
|
+
attr_accessor :RequestId
|
459
|
+
|
460
|
+
def initialize(requestid=nil)
|
461
|
+
@RequestId = requestid
|
462
|
+
end
|
463
|
+
|
464
|
+
def deserialize(params)
|
465
|
+
@RequestId = params['RequestId']
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
469
|
+
# CreateIotModel请求参数结构体
|
470
|
+
class CreateIotModelRequest < TencentCloud::Common::AbstractModel
|
471
|
+
# @param ProductId: 产品ID
|
472
|
+
# @type ProductId: String
|
473
|
+
# @param IotModel: 物模型json串
|
474
|
+
# @type IotModel: String
|
475
|
+
|
476
|
+
attr_accessor :ProductId, :IotModel
|
477
|
+
|
478
|
+
def initialize(productid=nil, iotmodel=nil)
|
479
|
+
@ProductId = productid
|
480
|
+
@IotModel = iotmodel
|
481
|
+
end
|
482
|
+
|
483
|
+
def deserialize(params)
|
484
|
+
@ProductId = params['ProductId']
|
485
|
+
@IotModel = params['IotModel']
|
486
|
+
end
|
487
|
+
end
|
488
|
+
|
489
|
+
# CreateIotModel返回参数结构体
|
490
|
+
class CreateIotModelResponse < TencentCloud::Common::AbstractModel
|
491
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
492
|
+
# @type RequestId: String
|
493
|
+
|
494
|
+
attr_accessor :RequestId
|
495
|
+
|
496
|
+
def initialize(requestid=nil)
|
497
|
+
@RequestId = requestid
|
498
|
+
end
|
499
|
+
|
500
|
+
def deserialize(params)
|
501
|
+
@RequestId = params['RequestId']
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
505
|
+
# CreateProduct请求参数结构体
|
506
|
+
class CreateProductRequest < TencentCloud::Common::AbstractModel
|
507
|
+
# @param ProductModel: 产器型号(APP产品,为APP包名)
|
508
|
+
# @type ProductModel: String
|
509
|
+
# @param ProductName: 产品名称
|
510
|
+
# 仅支持中文、英文、数字、下划线,不超过32个字符
|
511
|
+
# @type ProductName: String
|
512
|
+
# @param ProductDescription: 产品描述信息
|
513
|
+
# 不支持单引号、双引号、退格符、回车符、换行符、制表符、反斜杠、下划线、“%”、“#”、“$”,不超过128字符
|
514
|
+
# @type ProductDescription: String
|
515
|
+
# @param Features: 设备功能码(ypsxth:音频双向通话 ,spdxth:视频单向通话)
|
516
|
+
# @type Features: Array
|
517
|
+
# @param ChipManufactureId: 主芯片产商ID
|
518
|
+
# @type ChipManufactureId: String
|
519
|
+
# @param ChipId: 主芯片ID
|
520
|
+
# @type ChipId: String
|
521
|
+
# @param ProductRegion: 地域:
|
522
|
+
# China-Mainland(中国大陆)
|
523
|
+
# China-Hong Kong, Macao and Taiwan(港澳台地区)
|
524
|
+
# America(美国)
|
525
|
+
# Europe(欧洲)
|
526
|
+
# India(印度)
|
527
|
+
# Other-Overseas(其他境外地区)
|
528
|
+
# @type ProductRegion: String
|
529
|
+
# @param ProductCate: 设备类型, 0-普通视频设备,1-NVR设备
|
530
|
+
# @type ProductCate: Integer
|
531
|
+
# @param AccessMode: 接入模型,bit0是0:公版小程序未接入,bit0是1:公版小程序已接入
|
532
|
+
# @type AccessMode: Integer
|
533
|
+
# @param Os: Linux,Android,Liteos等系统
|
534
|
+
# @type Os: String
|
535
|
+
# @param ChipArch: 芯片架构,只是针对操作系统为android的
|
536
|
+
# @type ChipArch: String
|
537
|
+
|
538
|
+
attr_accessor :ProductModel, :ProductName, :ProductDescription, :Features, :ChipManufactureId, :ChipId, :ProductRegion, :ProductCate, :AccessMode, :Os, :ChipArch
|
539
|
+
|
540
|
+
def initialize(productmodel=nil, productname=nil, productdescription=nil, features=nil, chipmanufactureid=nil, chipid=nil, productregion=nil, productcate=nil, accessmode=nil, os=nil, chiparch=nil)
|
541
|
+
@ProductModel = productmodel
|
542
|
+
@ProductName = productname
|
543
|
+
@ProductDescription = productdescription
|
544
|
+
@Features = features
|
545
|
+
@ChipManufactureId = chipmanufactureid
|
546
|
+
@ChipId = chipid
|
547
|
+
@ProductRegion = productregion
|
548
|
+
@ProductCate = productcate
|
549
|
+
@AccessMode = accessmode
|
550
|
+
@Os = os
|
551
|
+
@ChipArch = chiparch
|
552
|
+
end
|
553
|
+
|
554
|
+
def deserialize(params)
|
555
|
+
@ProductModel = params['ProductModel']
|
556
|
+
@ProductName = params['ProductName']
|
557
|
+
@ProductDescription = params['ProductDescription']
|
558
|
+
@Features = params['Features']
|
559
|
+
@ChipManufactureId = params['ChipManufactureId']
|
560
|
+
@ChipId = params['ChipId']
|
561
|
+
@ProductRegion = params['ProductRegion']
|
562
|
+
@ProductCate = params['ProductCate']
|
563
|
+
@AccessMode = params['AccessMode']
|
564
|
+
@Os = params['Os']
|
565
|
+
@ChipArch = params['ChipArch']
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
569
|
+
# CreateProduct返回参数结构体
|
570
|
+
class CreateProductResponse < TencentCloud::Common::AbstractModel
|
571
|
+
# @param Data: 产品详细信息
|
572
|
+
# @type Data: :class:`Tencentcloud::Iotvideo.v20191126.models.ProductBase`
|
573
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
574
|
+
# @type RequestId: String
|
575
|
+
|
576
|
+
attr_accessor :Data, :RequestId
|
577
|
+
|
578
|
+
def initialize(data=nil, requestid=nil)
|
579
|
+
@Data = data
|
580
|
+
@RequestId = requestid
|
581
|
+
end
|
582
|
+
|
583
|
+
def deserialize(params)
|
584
|
+
unless params['Data'].nil?
|
585
|
+
@Data = ProductBase.new
|
586
|
+
@Data.deserialize(params['Data'])
|
587
|
+
end
|
588
|
+
@RequestId = params['RequestId']
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
592
|
+
# CreateStorage请求参数结构体
|
593
|
+
class CreateStorageRequest < TencentCloud::Common::AbstractModel
|
594
|
+
# @param PkgId: 云存套餐ID
|
595
|
+
# @type PkgId: String
|
596
|
+
# @param Tid: 设备TID
|
597
|
+
# @type Tid: String
|
598
|
+
# @param UserTag: 用户唯一标识,由厂商保证内部唯一性
|
599
|
+
# @type UserTag: String
|
600
|
+
|
601
|
+
attr_accessor :PkgId, :Tid, :UserTag
|
602
|
+
|
603
|
+
def initialize(pkgid=nil, tid=nil, usertag=nil)
|
604
|
+
@PkgId = pkgid
|
605
|
+
@Tid = tid
|
606
|
+
@UserTag = usertag
|
607
|
+
end
|
608
|
+
|
609
|
+
def deserialize(params)
|
610
|
+
@PkgId = params['PkgId']
|
611
|
+
@Tid = params['Tid']
|
612
|
+
@UserTag = params['UserTag']
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
# CreateStorage返回参数结构体
|
617
|
+
class CreateStorageResponse < TencentCloud::Common::AbstractModel
|
618
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
619
|
+
# @type RequestId: String
|
620
|
+
|
621
|
+
attr_accessor :RequestId
|
622
|
+
|
623
|
+
def initialize(requestid=nil)
|
624
|
+
@RequestId = requestid
|
625
|
+
end
|
626
|
+
|
627
|
+
def deserialize(params)
|
628
|
+
@RequestId = params['RequestId']
|
629
|
+
end
|
630
|
+
end
|
631
|
+
|
632
|
+
# CreateStorageService请求参数结构体
|
633
|
+
class CreateStorageServiceRequest < TencentCloud::Common::AbstractModel
|
634
|
+
# @param PkgId: 云存套餐ID:
|
635
|
+
# yc1m3d : 全时3天存储月套餐。
|
636
|
+
# yc1m7d : 全时7天存储月套餐。
|
637
|
+
# yc1m30d :全时30天存储月套餐。
|
638
|
+
# yc1y3d :全时3天存储年套餐。
|
639
|
+
# yc1y7d :全时7天存储年套餐。
|
640
|
+
# yc1y30d :全时30天存储年套餐。
|
641
|
+
# ye1m3d :事件3天存储月套餐。
|
642
|
+
# ye1m7d :事件7天存储月套餐。
|
643
|
+
# ye1m30d :事件30天存储月套餐 。
|
644
|
+
# ye1y3d :事件3天存储年套餐。
|
645
|
+
# ye1y7d :事件7天存储年套餐。
|
646
|
+
# ye1y30d :事件30天存储年套餐。
|
647
|
+
# yc1w7d : 全时7天存储周套餐。
|
648
|
+
# ye1w7d : 事件7天存储周套餐。
|
649
|
+
# @type PkgId: String
|
650
|
+
# @param Tid: 设备TID
|
651
|
+
# @type Tid: String
|
652
|
+
# @param OrderCount: 订单数量,可一次性创建多个订单
|
653
|
+
# @type OrderCount: Integer
|
654
|
+
# @param StorageRegion: 云存服务所在的区域,如ap-guangzhou,ap-singapore, na-siliconvalley, eu-frankfurt
|
655
|
+
# @type StorageRegion: String
|
656
|
+
# @param ChnNum: 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
|
657
|
+
# @type ChnNum: Integer
|
658
|
+
# @param AccessId: 设备主人用户在IoT Video平台的注册ID。该参数用于验证Paas/Saas平台的设备/用户关系链是否一致
|
659
|
+
# @type AccessId: String
|
660
|
+
# @param EnableTime: 服务生效时间,若不指定此参数,服务立即生效
|
661
|
+
# @type EnableTime: Integer
|
662
|
+
|
663
|
+
attr_accessor :PkgId, :Tid, :OrderCount, :StorageRegion, :ChnNum, :AccessId, :EnableTime
|
664
|
+
|
665
|
+
def initialize(pkgid=nil, tid=nil, ordercount=nil, storageregion=nil, chnnum=nil, accessid=nil, enabletime=nil)
|
666
|
+
@PkgId = pkgid
|
667
|
+
@Tid = tid
|
668
|
+
@OrderCount = ordercount
|
669
|
+
@StorageRegion = storageregion
|
670
|
+
@ChnNum = chnnum
|
671
|
+
@AccessId = accessid
|
672
|
+
@EnableTime = enabletime
|
673
|
+
end
|
674
|
+
|
675
|
+
def deserialize(params)
|
676
|
+
@PkgId = params['PkgId']
|
677
|
+
@Tid = params['Tid']
|
678
|
+
@OrderCount = params['OrderCount']
|
679
|
+
@StorageRegion = params['StorageRegion']
|
680
|
+
@ChnNum = params['ChnNum']
|
681
|
+
@AccessId = params['AccessId']
|
682
|
+
@EnableTime = params['EnableTime']
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
686
|
+
# CreateStorageService返回参数结构体
|
687
|
+
class CreateStorageServiceResponse < TencentCloud::Common::AbstractModel
|
688
|
+
# @param IsRenew: 标志是否为续订
|
689
|
+
# @type IsRenew: Boolean
|
690
|
+
# @param ServiceId: 云存服务ID
|
691
|
+
# @type ServiceId: String
|
692
|
+
# @param StorageRegion: 云存服务所在的区域
|
693
|
+
# @type StorageRegion: String
|
694
|
+
# @param Tid: 设备TID
|
695
|
+
# @type Tid: String
|
696
|
+
# @param ChnNum: 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
|
697
|
+
# @type ChnNum: Integer
|
698
|
+
# @param AccessId: 终端用户在IoT Video平台的注册ID
|
699
|
+
# @type AccessId: String
|
700
|
+
# @param StartTime: 服务开始时间
|
701
|
+
# @type StartTime: Integer
|
702
|
+
# @param EndTime: 服务失效时间
|
703
|
+
# @type EndTime: Integer
|
704
|
+
# @param Status: 服务状态
|
705
|
+
# 1:正常使用中
|
706
|
+
# 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
|
707
|
+
# 3:已过期。查询不到设备保存在云端的数据。
|
708
|
+
# 4:等待服务生效。
|
709
|
+
# @type Status: Integer
|
710
|
+
# @param Data: 新增的云存定单列表
|
711
|
+
# @type Data: Array
|
712
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
713
|
+
# @type RequestId: String
|
714
|
+
|
715
|
+
attr_accessor :IsRenew, :ServiceId, :StorageRegion, :Tid, :ChnNum, :AccessId, :StartTime, :EndTime, :Status, :Data, :RequestId
|
716
|
+
|
717
|
+
def initialize(isrenew=nil, serviceid=nil, storageregion=nil, tid=nil, chnnum=nil, accessid=nil, starttime=nil, endtime=nil, status=nil, data=nil, requestid=nil)
|
718
|
+
@IsRenew = isrenew
|
719
|
+
@ServiceId = serviceid
|
720
|
+
@StorageRegion = storageregion
|
721
|
+
@Tid = tid
|
722
|
+
@ChnNum = chnnum
|
723
|
+
@AccessId = accessid
|
724
|
+
@StartTime = starttime
|
725
|
+
@EndTime = endtime
|
726
|
+
@Status = status
|
727
|
+
@Data = data
|
728
|
+
@RequestId = requestid
|
729
|
+
end
|
730
|
+
|
731
|
+
def deserialize(params)
|
732
|
+
@IsRenew = params['IsRenew']
|
733
|
+
@ServiceId = params['ServiceId']
|
734
|
+
@StorageRegion = params['StorageRegion']
|
735
|
+
@Tid = params['Tid']
|
736
|
+
@ChnNum = params['ChnNum']
|
737
|
+
@AccessId = params['AccessId']
|
738
|
+
@StartTime = params['StartTime']
|
739
|
+
@EndTime = params['EndTime']
|
740
|
+
@Status = params['Status']
|
741
|
+
unless params['Data'].nil?
|
742
|
+
@Data = []
|
743
|
+
params['Data'].each do |i|
|
744
|
+
storageorder_tmp = StorageOrder.new
|
745
|
+
storageorder_tmp.deserialize(i)
|
746
|
+
@Data << storageorder_tmp
|
747
|
+
end
|
748
|
+
end
|
749
|
+
@RequestId = params['RequestId']
|
750
|
+
end
|
751
|
+
end
|
752
|
+
|
753
|
+
# CreateTraceIds请求参数结构体
|
754
|
+
class CreateTraceIdsRequest < TencentCloud::Common::AbstractModel
|
755
|
+
# @param Tids: 设备TID列表
|
756
|
+
# @type Tids: Array
|
757
|
+
|
758
|
+
attr_accessor :Tids
|
759
|
+
|
760
|
+
def initialize(tids=nil)
|
761
|
+
@Tids = tids
|
762
|
+
end
|
763
|
+
|
764
|
+
def deserialize(params)
|
765
|
+
@Tids = params['Tids']
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
# CreateTraceIds返回参数结构体
|
770
|
+
class CreateTraceIdsResponse < TencentCloud::Common::AbstractModel
|
771
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
772
|
+
# @type RequestId: String
|
773
|
+
|
774
|
+
attr_accessor :RequestId
|
775
|
+
|
776
|
+
def initialize(requestid=nil)
|
777
|
+
@RequestId = requestid
|
778
|
+
end
|
779
|
+
|
780
|
+
def deserialize(params)
|
781
|
+
@RequestId = params['RequestId']
|
782
|
+
end
|
783
|
+
end
|
784
|
+
|
785
|
+
# CreateUploadPath请求参数结构体
|
786
|
+
class CreateUploadPathRequest < TencentCloud::Common::AbstractModel
|
787
|
+
# @param ProductId: 产品ID
|
788
|
+
# @type ProductId: String
|
789
|
+
# @param FileName: 固件文件名
|
790
|
+
# @type FileName: String
|
791
|
+
|
792
|
+
attr_accessor :ProductId, :FileName
|
793
|
+
|
794
|
+
def initialize(productid=nil, filename=nil)
|
795
|
+
@ProductId = productid
|
796
|
+
@FileName = filename
|
797
|
+
end
|
798
|
+
|
799
|
+
def deserialize(params)
|
800
|
+
@ProductId = params['ProductId']
|
801
|
+
@FileName = params['FileName']
|
802
|
+
end
|
803
|
+
end
|
804
|
+
|
805
|
+
# CreateUploadPath返回参数结构体
|
806
|
+
class CreateUploadPathResponse < TencentCloud::Common::AbstractModel
|
807
|
+
# @param Data: 固件上传地址URL,用户可将本地的固件文件通过该URL以PUT的请求方式上传。
|
808
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
809
|
+
# @type Data: String
|
810
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
811
|
+
# @type RequestId: String
|
812
|
+
|
813
|
+
attr_accessor :Data, :RequestId
|
814
|
+
|
815
|
+
def initialize(data=nil, requestid=nil)
|
816
|
+
@Data = data
|
817
|
+
@RequestId = requestid
|
818
|
+
end
|
819
|
+
|
820
|
+
def deserialize(params)
|
821
|
+
@Data = params['Data']
|
822
|
+
@RequestId = params['RequestId']
|
823
|
+
end
|
824
|
+
end
|
825
|
+
|
826
|
+
# CreateUsrToken请求参数结构体
|
827
|
+
class CreateUsrTokenRequest < TencentCloud::Common::AbstractModel
|
828
|
+
# @param AccessId: 终端用户在IoT Video上的唯一标识ID
|
829
|
+
# @type AccessId: String
|
830
|
+
# @param UniqueId: 终端唯一ID,用于区分同一个用户的多个终端
|
831
|
+
# @type UniqueId: String
|
832
|
+
# @param TtlMinutes: Token的TTL(time to alive)分钟数
|
833
|
+
# @type TtlMinutes: Integer
|
834
|
+
# @param OldAccessToken: 旧的AccessToken。续期Token时,此参数为必须。
|
835
|
+
# @type OldAccessToken: String
|
836
|
+
|
837
|
+
attr_accessor :AccessId, :UniqueId, :TtlMinutes, :OldAccessToken
|
838
|
+
|
839
|
+
def initialize(accessid=nil, uniqueid=nil, ttlminutes=nil, oldaccesstoken=nil)
|
840
|
+
@AccessId = accessid
|
841
|
+
@UniqueId = uniqueid
|
842
|
+
@TtlMinutes = ttlminutes
|
843
|
+
@OldAccessToken = oldaccesstoken
|
844
|
+
end
|
845
|
+
|
846
|
+
def deserialize(params)
|
847
|
+
@AccessId = params['AccessId']
|
848
|
+
@UniqueId = params['UniqueId']
|
849
|
+
@TtlMinutes = params['TtlMinutes']
|
850
|
+
@OldAccessToken = params['OldAccessToken']
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
# CreateUsrToken返回参数结构体
|
855
|
+
class CreateUsrTokenResponse < TencentCloud::Common::AbstractModel
|
856
|
+
# @param AccessId: 终端用户在IoT Video上的唯一标识ID
|
857
|
+
# @type AccessId: String
|
858
|
+
# @param AccessToken: IoT Video平台的AccessToken
|
859
|
+
# @type AccessToken: String
|
860
|
+
# @param ExpireTime: Token的过期时间,单位秒(UTC时间)
|
861
|
+
# @type ExpireTime: Integer
|
862
|
+
# @param TerminalId: 终端ID
|
863
|
+
# @type TerminalId: String
|
864
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
865
|
+
# @type RequestId: String
|
866
|
+
|
867
|
+
attr_accessor :AccessId, :AccessToken, :ExpireTime, :TerminalId, :RequestId
|
868
|
+
|
869
|
+
def initialize(accessid=nil, accesstoken=nil, expiretime=nil, terminalid=nil, requestid=nil)
|
870
|
+
@AccessId = accessid
|
871
|
+
@AccessToken = accesstoken
|
872
|
+
@ExpireTime = expiretime
|
873
|
+
@TerminalId = terminalid
|
874
|
+
@RequestId = requestid
|
875
|
+
end
|
876
|
+
|
877
|
+
def deserialize(params)
|
878
|
+
@AccessId = params['AccessId']
|
879
|
+
@AccessToken = params['AccessToken']
|
880
|
+
@ExpireTime = params['ExpireTime']
|
881
|
+
@TerminalId = params['TerminalId']
|
882
|
+
@RequestId = params['RequestId']
|
883
|
+
end
|
884
|
+
end
|
885
|
+
|
886
|
+
# 接口DescribeStream输出参数
|
887
|
+
class Data < TencentCloud::Common::AbstractModel
|
888
|
+
# @param Protocol: 直播协议
|
889
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
890
|
+
# @type Protocol: String
|
891
|
+
# @param URI: 流媒体播放地址
|
892
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
893
|
+
# @type URI: String
|
894
|
+
# @param ExpireTime: 流媒体地址过期时间
|
895
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
896
|
+
# @type ExpireTime: Integer
|
897
|
+
# @param VideoCodec: 视频编码
|
898
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
899
|
+
# @type VideoCodec: String
|
900
|
+
# @param AudioCodec: 音频编码
|
901
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
902
|
+
# @type AudioCodec: String
|
903
|
+
|
904
|
+
attr_accessor :Protocol, :URI, :ExpireTime, :VideoCodec, :AudioCodec
|
905
|
+
|
906
|
+
def initialize(protocol=nil, uri=nil, expiretime=nil, videocodec=nil, audiocodec=nil)
|
907
|
+
@Protocol = protocol
|
908
|
+
@URI = uri
|
909
|
+
@ExpireTime = expiretime
|
910
|
+
@VideoCodec = videocodec
|
911
|
+
@AudioCodec = audiocodec
|
912
|
+
end
|
913
|
+
|
914
|
+
def deserialize(params)
|
915
|
+
@Protocol = params['Protocol']
|
916
|
+
@URI = params['URI']
|
917
|
+
@ExpireTime = params['ExpireTime']
|
918
|
+
@VideoCodec = params['VideoCodec']
|
919
|
+
@AudioCodec = params['AudioCodec']
|
920
|
+
end
|
921
|
+
end
|
922
|
+
|
923
|
+
# DeleteAppUsr请求参数结构体
|
924
|
+
class DeleteAppUsrRequest < TencentCloud::Common::AbstractModel
|
925
|
+
# @param AccessId: 客户的终端用户在IoT Video上的唯一标识ID
|
926
|
+
# @type AccessId: String
|
927
|
+
|
928
|
+
attr_accessor :AccessId
|
929
|
+
|
930
|
+
def initialize(accessid=nil)
|
931
|
+
@AccessId = accessid
|
932
|
+
end
|
933
|
+
|
934
|
+
def deserialize(params)
|
935
|
+
@AccessId = params['AccessId']
|
936
|
+
end
|
937
|
+
end
|
938
|
+
|
939
|
+
# DeleteAppUsr返回参数结构体
|
940
|
+
class DeleteAppUsrResponse < TencentCloud::Common::AbstractModel
|
941
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
942
|
+
# @type RequestId: String
|
943
|
+
|
944
|
+
attr_accessor :RequestId
|
945
|
+
|
946
|
+
def initialize(requestid=nil)
|
947
|
+
@RequestId = requestid
|
948
|
+
end
|
949
|
+
|
950
|
+
def deserialize(params)
|
951
|
+
@RequestId = params['RequestId']
|
952
|
+
end
|
953
|
+
end
|
954
|
+
|
955
|
+
# DeleteBinding请求参数结构体
|
956
|
+
class DeleteBindingRequest < TencentCloud::Common::AbstractModel
|
957
|
+
# @param AccessId: 终端用户在IoT Video上的唯一标识ID
|
958
|
+
# @type AccessId: String
|
959
|
+
# @param Tid: 设备TID
|
960
|
+
# @type Tid: String
|
961
|
+
# @param Role: 用户角色,owner:主人,guest:访客
|
962
|
+
# @type Role: String
|
963
|
+
|
964
|
+
attr_accessor :AccessId, :Tid, :Role
|
965
|
+
|
966
|
+
def initialize(accessid=nil, tid=nil, role=nil)
|
967
|
+
@AccessId = accessid
|
968
|
+
@Tid = tid
|
969
|
+
@Role = role
|
970
|
+
end
|
971
|
+
|
972
|
+
def deserialize(params)
|
973
|
+
@AccessId = params['AccessId']
|
974
|
+
@Tid = params['Tid']
|
975
|
+
@Role = params['Role']
|
976
|
+
end
|
977
|
+
end
|
978
|
+
|
979
|
+
# DeleteBinding返回参数结构体
|
980
|
+
class DeleteBindingResponse < TencentCloud::Common::AbstractModel
|
981
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
982
|
+
# @type RequestId: String
|
983
|
+
|
984
|
+
attr_accessor :RequestId
|
985
|
+
|
986
|
+
def initialize(requestid=nil)
|
987
|
+
@RequestId = requestid
|
988
|
+
end
|
989
|
+
|
990
|
+
def deserialize(params)
|
991
|
+
@RequestId = params['RequestId']
|
992
|
+
end
|
993
|
+
end
|
994
|
+
|
995
|
+
# DeleteDevice请求参数结构体
|
996
|
+
class DeleteDeviceRequest < TencentCloud::Common::AbstractModel
|
997
|
+
# @param Tids: 设备TID列表
|
998
|
+
# @type Tids: Array
|
999
|
+
|
1000
|
+
attr_accessor :Tids
|
1001
|
+
|
1002
|
+
def initialize(tids=nil)
|
1003
|
+
@Tids = tids
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
def deserialize(params)
|
1007
|
+
@Tids = params['Tids']
|
1008
|
+
end
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
# DeleteDevice返回参数结构体
|
1012
|
+
class DeleteDeviceResponse < TencentCloud::Common::AbstractModel
|
1013
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1014
|
+
# @type RequestId: String
|
1015
|
+
|
1016
|
+
attr_accessor :RequestId
|
1017
|
+
|
1018
|
+
def initialize(requestid=nil)
|
1019
|
+
@RequestId = requestid
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
def deserialize(params)
|
1023
|
+
@RequestId = params['RequestId']
|
1024
|
+
end
|
1025
|
+
end
|
1026
|
+
|
1027
|
+
# DeleteIotDataType请求参数结构体
|
1028
|
+
class DeleteIotDataTypeRequest < TencentCloud::Common::AbstractModel
|
1029
|
+
# @param TypeId: 自定义数据类型的标识符
|
1030
|
+
# @type TypeId: String
|
1031
|
+
|
1032
|
+
attr_accessor :TypeId
|
1033
|
+
|
1034
|
+
def initialize(typeid=nil)
|
1035
|
+
@TypeId = typeid
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
def deserialize(params)
|
1039
|
+
@TypeId = params['TypeId']
|
1040
|
+
end
|
1041
|
+
end
|
1042
|
+
|
1043
|
+
# DeleteIotDataType返回参数结构体
|
1044
|
+
class DeleteIotDataTypeResponse < TencentCloud::Common::AbstractModel
|
1045
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1046
|
+
# @type RequestId: String
|
1047
|
+
|
1048
|
+
attr_accessor :RequestId
|
1049
|
+
|
1050
|
+
def initialize(requestid=nil)
|
1051
|
+
@RequestId = requestid
|
1052
|
+
end
|
1053
|
+
|
1054
|
+
def deserialize(params)
|
1055
|
+
@RequestId = params['RequestId']
|
1056
|
+
end
|
1057
|
+
end
|
1058
|
+
|
1059
|
+
# DeleteMessageQueue请求参数结构体
|
1060
|
+
class DeleteMessageQueueRequest < TencentCloud::Common::AbstractModel
|
1061
|
+
# @param ProductId: 产品ID
|
1062
|
+
# @type ProductId: String
|
1063
|
+
|
1064
|
+
attr_accessor :ProductId
|
1065
|
+
|
1066
|
+
def initialize(productid=nil)
|
1067
|
+
@ProductId = productid
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
def deserialize(params)
|
1071
|
+
@ProductId = params['ProductId']
|
1072
|
+
end
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# DeleteMessageQueue返回参数结构体
|
1076
|
+
class DeleteMessageQueueResponse < TencentCloud::Common::AbstractModel
|
1077
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1078
|
+
# @type RequestId: String
|
1079
|
+
|
1080
|
+
attr_accessor :RequestId
|
1081
|
+
|
1082
|
+
def initialize(requestid=nil)
|
1083
|
+
@RequestId = requestid
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
def deserialize(params)
|
1087
|
+
@RequestId = params['RequestId']
|
1088
|
+
end
|
1089
|
+
end
|
1090
|
+
|
1091
|
+
# DeleteOtaVersion请求参数结构体
|
1092
|
+
class DeleteOtaVersionRequest < TencentCloud::Common::AbstractModel
|
1093
|
+
# @param ProductId: 产品ID
|
1094
|
+
# @type ProductId: String
|
1095
|
+
# @param OtaVersion: 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
|
1096
|
+
# @type OtaVersion: String
|
1097
|
+
# @param Operator: 操作人
|
1098
|
+
# @type Operator: String
|
1099
|
+
|
1100
|
+
attr_accessor :ProductId, :OtaVersion, :Operator
|
1101
|
+
|
1102
|
+
def initialize(productid=nil, otaversion=nil, operator=nil)
|
1103
|
+
@ProductId = productid
|
1104
|
+
@OtaVersion = otaversion
|
1105
|
+
@Operator = operator
|
1106
|
+
end
|
1107
|
+
|
1108
|
+
def deserialize(params)
|
1109
|
+
@ProductId = params['ProductId']
|
1110
|
+
@OtaVersion = params['OtaVersion']
|
1111
|
+
@Operator = params['Operator']
|
1112
|
+
end
|
1113
|
+
end
|
1114
|
+
|
1115
|
+
# DeleteOtaVersion返回参数结构体
|
1116
|
+
class DeleteOtaVersionResponse < TencentCloud::Common::AbstractModel
|
1117
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1118
|
+
# @type RequestId: String
|
1119
|
+
|
1120
|
+
attr_accessor :RequestId
|
1121
|
+
|
1122
|
+
def initialize(requestid=nil)
|
1123
|
+
@RequestId = requestid
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
def deserialize(params)
|
1127
|
+
@RequestId = params['RequestId']
|
1128
|
+
end
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
# DeleteProduct请求参数结构体
|
1132
|
+
class DeleteProductRequest < TencentCloud::Common::AbstractModel
|
1133
|
+
# @param ProductId: 产品ID
|
1134
|
+
# @type ProductId: String
|
1135
|
+
|
1136
|
+
attr_accessor :ProductId
|
1137
|
+
|
1138
|
+
def initialize(productid=nil)
|
1139
|
+
@ProductId = productid
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
def deserialize(params)
|
1143
|
+
@ProductId = params['ProductId']
|
1144
|
+
end
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
# DeleteProduct返回参数结构体
|
1148
|
+
class DeleteProductResponse < TencentCloud::Common::AbstractModel
|
1149
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1150
|
+
# @type RequestId: String
|
1151
|
+
|
1152
|
+
attr_accessor :RequestId
|
1153
|
+
|
1154
|
+
def initialize(requestid=nil)
|
1155
|
+
@RequestId = requestid
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
def deserialize(params)
|
1159
|
+
@RequestId = params['RequestId']
|
1160
|
+
end
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
# DeleteTraceIds请求参数结构体
|
1164
|
+
class DeleteTraceIdsRequest < TencentCloud::Common::AbstractModel
|
1165
|
+
# @param Tids: 设备TID列表
|
1166
|
+
# @type Tids: Array
|
1167
|
+
|
1168
|
+
attr_accessor :Tids
|
1169
|
+
|
1170
|
+
def initialize(tids=nil)
|
1171
|
+
@Tids = tids
|
1172
|
+
end
|
1173
|
+
|
1174
|
+
def deserialize(params)
|
1175
|
+
@Tids = params['Tids']
|
1176
|
+
end
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
# DeleteTraceIds返回参数结构体
|
1180
|
+
class DeleteTraceIdsResponse < TencentCloud::Common::AbstractModel
|
1181
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1182
|
+
# @type RequestId: String
|
1183
|
+
|
1184
|
+
attr_accessor :RequestId
|
1185
|
+
|
1186
|
+
def initialize(requestid=nil)
|
1187
|
+
@RequestId = requestid
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
def deserialize(params)
|
1191
|
+
@RequestId = params['RequestId']
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
# DeliverStorageService请求参数结构体
|
1196
|
+
class DeliverStorageServiceRequest < TencentCloud::Common::AbstractModel
|
1197
|
+
# @param SrcServiceId: 待转移的源云存服务ID
|
1198
|
+
# @type SrcServiceId: String
|
1199
|
+
# @param Tid: 设备TID
|
1200
|
+
# @type Tid: String
|
1201
|
+
# @param ChnNum: 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
|
1202
|
+
# @type ChnNum: Integer
|
1203
|
+
# @param AccessId: 设备主人用户在IoT Video平台的注册ID。该参数用于验证Paas/Saas平台的设备/用户关系链是否一致
|
1204
|
+
# @type AccessId: String
|
1205
|
+
|
1206
|
+
attr_accessor :SrcServiceId, :Tid, :ChnNum, :AccessId
|
1207
|
+
|
1208
|
+
def initialize(srcserviceid=nil, tid=nil, chnnum=nil, accessid=nil)
|
1209
|
+
@SrcServiceId = srcserviceid
|
1210
|
+
@Tid = tid
|
1211
|
+
@ChnNum = chnnum
|
1212
|
+
@AccessId = accessid
|
1213
|
+
end
|
1214
|
+
|
1215
|
+
def deserialize(params)
|
1216
|
+
@SrcServiceId = params['SrcServiceId']
|
1217
|
+
@Tid = params['Tid']
|
1218
|
+
@ChnNum = params['ChnNum']
|
1219
|
+
@AccessId = params['AccessId']
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
1223
|
+
# DeliverStorageService返回参数结构体
|
1224
|
+
class DeliverStorageServiceResponse < TencentCloud::Common::AbstractModel
|
1225
|
+
# @param SrcServiceId: 被转出的云存服务ID
|
1226
|
+
# @type SrcServiceId: String
|
1227
|
+
# @param ServiceId: 被转入的云存服务ID
|
1228
|
+
# @type ServiceId: String
|
1229
|
+
# @param StorageRegion: 云存服务所在的区域
|
1230
|
+
# @type StorageRegion: String
|
1231
|
+
# @param Tid: 设备TID
|
1232
|
+
# @type Tid: String
|
1233
|
+
# @param ChnNum: 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
|
1234
|
+
# @type ChnNum: Integer
|
1235
|
+
# @param AccessId: 终端用户在IoT Video平台的注册ID
|
1236
|
+
# @type AccessId: String
|
1237
|
+
# @param StartTime: 服务开始时间
|
1238
|
+
# @type StartTime: Integer
|
1239
|
+
# @param EndTime: 服务失效时间
|
1240
|
+
# @type EndTime: Integer
|
1241
|
+
# @param Status: 服务状态
|
1242
|
+
# 1:正常使用中
|
1243
|
+
# 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
|
1244
|
+
# 3:已过期。查询不到设备保存在云端的数据。
|
1245
|
+
# 4:等待服务生效。
|
1246
|
+
# @type Status: Integer
|
1247
|
+
# @param Data: 新增的云存定单列表
|
1248
|
+
# @type Data: Array
|
1249
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1250
|
+
# @type RequestId: String
|
1251
|
+
|
1252
|
+
attr_accessor :SrcServiceId, :ServiceId, :StorageRegion, :Tid, :ChnNum, :AccessId, :StartTime, :EndTime, :Status, :Data, :RequestId
|
1253
|
+
|
1254
|
+
def initialize(srcserviceid=nil, serviceid=nil, storageregion=nil, tid=nil, chnnum=nil, accessid=nil, starttime=nil, endtime=nil, status=nil, data=nil, requestid=nil)
|
1255
|
+
@SrcServiceId = srcserviceid
|
1256
|
+
@ServiceId = serviceid
|
1257
|
+
@StorageRegion = storageregion
|
1258
|
+
@Tid = tid
|
1259
|
+
@ChnNum = chnnum
|
1260
|
+
@AccessId = accessid
|
1261
|
+
@StartTime = starttime
|
1262
|
+
@EndTime = endtime
|
1263
|
+
@Status = status
|
1264
|
+
@Data = data
|
1265
|
+
@RequestId = requestid
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
def deserialize(params)
|
1269
|
+
@SrcServiceId = params['SrcServiceId']
|
1270
|
+
@ServiceId = params['ServiceId']
|
1271
|
+
@StorageRegion = params['StorageRegion']
|
1272
|
+
@Tid = params['Tid']
|
1273
|
+
@ChnNum = params['ChnNum']
|
1274
|
+
@AccessId = params['AccessId']
|
1275
|
+
@StartTime = params['StartTime']
|
1276
|
+
@EndTime = params['EndTime']
|
1277
|
+
@Status = params['Status']
|
1278
|
+
unless params['Data'].nil?
|
1279
|
+
@Data = []
|
1280
|
+
params['Data'].each do |i|
|
1281
|
+
storageorder_tmp = StorageOrder.new
|
1282
|
+
storageorder_tmp.deserialize(i)
|
1283
|
+
@Data << storageorder_tmp
|
1284
|
+
end
|
1285
|
+
end
|
1286
|
+
@RequestId = params['RequestId']
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
# DescribeAccountBalance请求参数结构体
|
1291
|
+
class DescribeAccountBalanceRequest < TencentCloud::Common::AbstractModel
|
1292
|
+
# @param AccountType: 账户类型 1:设备接入 2:云存
|
1293
|
+
# @type AccountType: Integer
|
1294
|
+
|
1295
|
+
attr_accessor :AccountType
|
1296
|
+
|
1297
|
+
def initialize(accounttype=nil)
|
1298
|
+
@AccountType = accounttype
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
def deserialize(params)
|
1302
|
+
@AccountType = params['AccountType']
|
1303
|
+
end
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
# DescribeAccountBalance返回参数结构体
|
1307
|
+
class DescribeAccountBalanceResponse < TencentCloud::Common::AbstractModel
|
1308
|
+
# @param AccountType: 账户类型 1=设备接入;2=云存。
|
1309
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1310
|
+
# @type AccountType: Integer
|
1311
|
+
# @param Balance: 余额, 单位 : 分(人民币)。
|
1312
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1313
|
+
# @type Balance: Integer
|
1314
|
+
# @param State: 账户状态,1=正常;8=冻结;9=销户。
|
1315
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1316
|
+
# @type State: Integer
|
1317
|
+
# @param LastUpdateTime: 最后修改时间,UTC值。
|
1318
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1319
|
+
# @type LastUpdateTime: Integer
|
1320
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1321
|
+
# @type RequestId: String
|
1322
|
+
|
1323
|
+
attr_accessor :AccountType, :Balance, :State, :LastUpdateTime, :RequestId
|
1324
|
+
|
1325
|
+
def initialize(accounttype=nil, balance=nil, state=nil, lastupdatetime=nil, requestid=nil)
|
1326
|
+
@AccountType = accounttype
|
1327
|
+
@Balance = balance
|
1328
|
+
@State = state
|
1329
|
+
@LastUpdateTime = lastupdatetime
|
1330
|
+
@RequestId = requestid
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
def deserialize(params)
|
1334
|
+
@AccountType = params['AccountType']
|
1335
|
+
@Balance = params['Balance']
|
1336
|
+
@State = params['State']
|
1337
|
+
@LastUpdateTime = params['LastUpdateTime']
|
1338
|
+
@RequestId = params['RequestId']
|
1339
|
+
end
|
1340
|
+
end
|
1341
|
+
|
1342
|
+
# DescribeBindDev请求参数结构体
|
1343
|
+
class DescribeBindDevRequest < TencentCloud::Common::AbstractModel
|
1344
|
+
# @param AccessId: 终端用户在IoT Video上的唯一标识ID
|
1345
|
+
# @type AccessId: String
|
1346
|
+
|
1347
|
+
attr_accessor :AccessId
|
1348
|
+
|
1349
|
+
def initialize(accessid=nil)
|
1350
|
+
@AccessId = accessid
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
def deserialize(params)
|
1354
|
+
@AccessId = params['AccessId']
|
1355
|
+
end
|
1356
|
+
end
|
1357
|
+
|
1358
|
+
# DescribeBindDev返回参数结构体
|
1359
|
+
class DescribeBindDevResponse < TencentCloud::Common::AbstractModel
|
1360
|
+
# @param Data: 绑定的设备列表信息
|
1361
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1362
|
+
# @type Data: Array
|
1363
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1364
|
+
# @type RequestId: String
|
1365
|
+
|
1366
|
+
attr_accessor :Data, :RequestId
|
1367
|
+
|
1368
|
+
def initialize(data=nil, requestid=nil)
|
1369
|
+
@Data = data
|
1370
|
+
@RequestId = requestid
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
def deserialize(params)
|
1374
|
+
unless params['Data'].nil?
|
1375
|
+
@Data = []
|
1376
|
+
params['Data'].each do |i|
|
1377
|
+
binddevinfo_tmp = BindDevInfo.new
|
1378
|
+
binddevinfo_tmp.deserialize(i)
|
1379
|
+
@Data << binddevinfo_tmp
|
1380
|
+
end
|
1381
|
+
end
|
1382
|
+
@RequestId = params['RequestId']
|
1383
|
+
end
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
# DescribeBindUsr请求参数结构体
|
1387
|
+
class DescribeBindUsrRequest < TencentCloud::Common::AbstractModel
|
1388
|
+
# @param Tid: 设备TID
|
1389
|
+
# @type Tid: String
|
1390
|
+
# @param AccessId: 设备主人的AccessId
|
1391
|
+
# @type AccessId: String
|
1392
|
+
|
1393
|
+
attr_accessor :Tid, :AccessId
|
1394
|
+
|
1395
|
+
def initialize(tid=nil, accessid=nil)
|
1396
|
+
@Tid = tid
|
1397
|
+
@AccessId = accessid
|
1398
|
+
end
|
1399
|
+
|
1400
|
+
def deserialize(params)
|
1401
|
+
@Tid = params['Tid']
|
1402
|
+
@AccessId = params['AccessId']
|
1403
|
+
end
|
1404
|
+
end
|
1405
|
+
|
1406
|
+
# DescribeBindUsr返回参数结构体
|
1407
|
+
class DescribeBindUsrResponse < TencentCloud::Common::AbstractModel
|
1408
|
+
# @param Data: 具有绑定关系的终端用户信息列表
|
1409
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1410
|
+
# @type Data: Array
|
1411
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1412
|
+
# @type RequestId: String
|
1413
|
+
|
1414
|
+
attr_accessor :Data, :RequestId
|
1415
|
+
|
1416
|
+
def initialize(data=nil, requestid=nil)
|
1417
|
+
@Data = data
|
1418
|
+
@RequestId = requestid
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
def deserialize(params)
|
1422
|
+
unless params['Data'].nil?
|
1423
|
+
@Data = []
|
1424
|
+
params['Data'].each do |i|
|
1425
|
+
bindusrinfo_tmp = BindUsrInfo.new
|
1426
|
+
bindusrinfo_tmp.deserialize(i)
|
1427
|
+
@Data << bindusrinfo_tmp
|
1428
|
+
end
|
1429
|
+
end
|
1430
|
+
@RequestId = params['RequestId']
|
1431
|
+
end
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
# DescribeDeviceModel请求参数结构体
|
1435
|
+
class DescribeDeviceModelRequest < TencentCloud::Common::AbstractModel
|
1436
|
+
# @param Tid: 设备TID
|
1437
|
+
# @type Tid: String
|
1438
|
+
# @param Branch: 物模型的分支路径
|
1439
|
+
# @type Branch: String
|
1440
|
+
|
1441
|
+
attr_accessor :Tid, :Branch
|
1442
|
+
|
1443
|
+
def initialize(tid=nil, branch=nil)
|
1444
|
+
@Tid = tid
|
1445
|
+
@Branch = branch
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
def deserialize(params)
|
1449
|
+
@Tid = params['Tid']
|
1450
|
+
@Branch = params['Branch']
|
1451
|
+
end
|
1452
|
+
end
|
1453
|
+
|
1454
|
+
# DescribeDeviceModel返回参数结构体
|
1455
|
+
class DescribeDeviceModelResponse < TencentCloud::Common::AbstractModel
|
1456
|
+
# @param Data: 设备物模型信息
|
1457
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1458
|
+
# @type Data: :class:`Tencentcloud::Iotvideo.v20191126.models.DeviceModelData`
|
1459
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1460
|
+
# @type RequestId: String
|
1461
|
+
|
1462
|
+
attr_accessor :Data, :RequestId
|
1463
|
+
|
1464
|
+
def initialize(data=nil, requestid=nil)
|
1465
|
+
@Data = data
|
1466
|
+
@RequestId = requestid
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
def deserialize(params)
|
1470
|
+
unless params['Data'].nil?
|
1471
|
+
@Data = DeviceModelData.new
|
1472
|
+
@Data.deserialize(params['Data'])
|
1473
|
+
end
|
1474
|
+
@RequestId = params['RequestId']
|
1475
|
+
end
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
# DescribeDevice请求参数结构体
|
1479
|
+
class DescribeDeviceRequest < TencentCloud::Common::AbstractModel
|
1480
|
+
# @param Tid: 设备TID
|
1481
|
+
# @type Tid: String
|
1482
|
+
|
1483
|
+
attr_accessor :Tid
|
1484
|
+
|
1485
|
+
def initialize(tid=nil)
|
1486
|
+
@Tid = tid
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
def deserialize(params)
|
1490
|
+
@Tid = params['Tid']
|
1491
|
+
end
|
1492
|
+
end
|
1493
|
+
|
1494
|
+
# DescribeDevice返回参数结构体
|
1495
|
+
class DescribeDeviceResponse < TencentCloud::Common::AbstractModel
|
1496
|
+
# @param Data: 设备信息
|
1497
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1498
|
+
# @type Data: :class:`Tencentcloud::Iotvideo.v20191126.models.DeviceData`
|
1499
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1500
|
+
# @type RequestId: String
|
1501
|
+
|
1502
|
+
attr_accessor :Data, :RequestId
|
1503
|
+
|
1504
|
+
def initialize(data=nil, requestid=nil)
|
1505
|
+
@Data = data
|
1506
|
+
@RequestId = requestid
|
1507
|
+
end
|
1508
|
+
|
1509
|
+
def deserialize(params)
|
1510
|
+
unless params['Data'].nil?
|
1511
|
+
@Data = DeviceData.new
|
1512
|
+
@Data.deserialize(params['Data'])
|
1513
|
+
end
|
1514
|
+
@RequestId = params['RequestId']
|
1515
|
+
end
|
1516
|
+
end
|
1517
|
+
|
1518
|
+
# DescribeDevices请求参数结构体
|
1519
|
+
class DescribeDevicesRequest < TencentCloud::Common::AbstractModel
|
1520
|
+
# @param ProductId: 产品ID
|
1521
|
+
# @type ProductId: String
|
1522
|
+
# @param ReturnModel: 是否返回全量数据
|
1523
|
+
# 当该值为false时,返回值中的设备物模型、固件版本、在线状态、最后在线时间字段等字段,都将返回数据类型的零值。
|
1524
|
+
# @type ReturnModel: Boolean
|
1525
|
+
# @param Limit: 分页数量,0<取值范围<=100
|
1526
|
+
# @type Limit: Integer
|
1527
|
+
# @param Offset: 分页偏移,取值>0
|
1528
|
+
# @type Offset: Integer
|
1529
|
+
# @param OtaVersion: 指定固件版本号,为空查询此产品下所有设备
|
1530
|
+
# @type OtaVersion: String
|
1531
|
+
# @param DeviceName: 设备名称,支持左前缀模糊匹配
|
1532
|
+
# @type DeviceName: String
|
1533
|
+
|
1534
|
+
attr_accessor :ProductId, :ReturnModel, :Limit, :Offset, :OtaVersion, :DeviceName
|
1535
|
+
|
1536
|
+
def initialize(productid=nil, returnmodel=nil, limit=nil, offset=nil, otaversion=nil, devicename=nil)
|
1537
|
+
@ProductId = productid
|
1538
|
+
@ReturnModel = returnmodel
|
1539
|
+
@Limit = limit
|
1540
|
+
@Offset = offset
|
1541
|
+
@OtaVersion = otaversion
|
1542
|
+
@DeviceName = devicename
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
def deserialize(params)
|
1546
|
+
@ProductId = params['ProductId']
|
1547
|
+
@ReturnModel = params['ReturnModel']
|
1548
|
+
@Limit = params['Limit']
|
1549
|
+
@Offset = params['Offset']
|
1550
|
+
@OtaVersion = params['OtaVersion']
|
1551
|
+
@DeviceName = params['DeviceName']
|
1552
|
+
end
|
1553
|
+
end
|
1554
|
+
|
1555
|
+
# DescribeDevices返回参数结构体
|
1556
|
+
class DescribeDevicesResponse < TencentCloud::Common::AbstractModel
|
1557
|
+
# @param Data: 设备信息 列表
|
1558
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1559
|
+
# @type Data: Array
|
1560
|
+
# @param TotalCount: 设备总数
|
1561
|
+
# @type TotalCount: Integer
|
1562
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1563
|
+
# @type RequestId: String
|
1564
|
+
|
1565
|
+
attr_accessor :Data, :TotalCount, :RequestId
|
1566
|
+
|
1567
|
+
def initialize(data=nil, totalcount=nil, requestid=nil)
|
1568
|
+
@Data = data
|
1569
|
+
@TotalCount = totalcount
|
1570
|
+
@RequestId = requestid
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
def deserialize(params)
|
1574
|
+
unless params['Data'].nil?
|
1575
|
+
@Data = []
|
1576
|
+
params['Data'].each do |i|
|
1577
|
+
devicesdata_tmp = DevicesData.new
|
1578
|
+
devicesdata_tmp.deserialize(i)
|
1579
|
+
@Data << devicesdata_tmp
|
1580
|
+
end
|
1581
|
+
end
|
1582
|
+
@TotalCount = params['TotalCount']
|
1583
|
+
@RequestId = params['RequestId']
|
1584
|
+
end
|
1585
|
+
end
|
1586
|
+
|
1587
|
+
# DescribeIotDataType请求参数结构体
|
1588
|
+
class DescribeIotDataTypeRequest < TencentCloud::Common::AbstractModel
|
1589
|
+
# @param TypeId: 自定义数据类型的标识符,为空则返回全量自定义类型的列表
|
1590
|
+
# @type TypeId: String
|
1591
|
+
|
1592
|
+
attr_accessor :TypeId
|
1593
|
+
|
1594
|
+
def initialize(typeid=nil)
|
1595
|
+
@TypeId = typeid
|
1596
|
+
end
|
1597
|
+
|
1598
|
+
def deserialize(params)
|
1599
|
+
@TypeId = params['TypeId']
|
1600
|
+
end
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
# DescribeIotDataType返回参数结构体
|
1604
|
+
class DescribeIotDataTypeResponse < TencentCloud::Common::AbstractModel
|
1605
|
+
# @param Data: 自定义数据类型,json格式的字符串
|
1606
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1607
|
+
# @type Data: Array
|
1608
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1609
|
+
# @type RequestId: String
|
1610
|
+
|
1611
|
+
attr_accessor :Data, :RequestId
|
1612
|
+
|
1613
|
+
def initialize(data=nil, requestid=nil)
|
1614
|
+
@Data = data
|
1615
|
+
@RequestId = requestid
|
1616
|
+
end
|
1617
|
+
|
1618
|
+
def deserialize(params)
|
1619
|
+
@Data = params['Data']
|
1620
|
+
@RequestId = params['RequestId']
|
1621
|
+
end
|
1622
|
+
end
|
1623
|
+
|
1624
|
+
# DescribeIotModel请求参数结构体
|
1625
|
+
class DescribeIotModelRequest < TencentCloud::Common::AbstractModel
|
1626
|
+
# @param ProductId: 产品ID
|
1627
|
+
# @type ProductId: String
|
1628
|
+
# @param Revision: 物模型版本号, -1表示最新编辑的(未发布)
|
1629
|
+
# @type Revision: Integer
|
1630
|
+
|
1631
|
+
attr_accessor :ProductId, :Revision
|
1632
|
+
|
1633
|
+
def initialize(productid=nil, revision=nil)
|
1634
|
+
@ProductId = productid
|
1635
|
+
@Revision = revision
|
1636
|
+
end
|
1637
|
+
|
1638
|
+
def deserialize(params)
|
1639
|
+
@ProductId = params['ProductId']
|
1640
|
+
@Revision = params['Revision']
|
1641
|
+
end
|
1642
|
+
end
|
1643
|
+
|
1644
|
+
# DescribeIotModel返回参数结构体
|
1645
|
+
class DescribeIotModelResponse < TencentCloud::Common::AbstractModel
|
1646
|
+
# @param Data: 物模型定义,json格式的字符串
|
1647
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1648
|
+
# @type Data: String
|
1649
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1650
|
+
# @type RequestId: String
|
1651
|
+
|
1652
|
+
attr_accessor :Data, :RequestId
|
1653
|
+
|
1654
|
+
def initialize(data=nil, requestid=nil)
|
1655
|
+
@Data = data
|
1656
|
+
@RequestId = requestid
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
def deserialize(params)
|
1660
|
+
@Data = params['Data']
|
1661
|
+
@RequestId = params['RequestId']
|
1662
|
+
end
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
# DescribeIotModels请求参数结构体
|
1666
|
+
class DescribeIotModelsRequest < TencentCloud::Common::AbstractModel
|
1667
|
+
# @param ProductId: 产品ID
|
1668
|
+
# @type ProductId: String
|
1669
|
+
|
1670
|
+
attr_accessor :ProductId
|
1671
|
+
|
1672
|
+
def initialize(productid=nil)
|
1673
|
+
@ProductId = productid
|
1674
|
+
end
|
1675
|
+
|
1676
|
+
def deserialize(params)
|
1677
|
+
@ProductId = params['ProductId']
|
1678
|
+
end
|
1679
|
+
end
|
1680
|
+
|
1681
|
+
# DescribeIotModels返回参数结构体
|
1682
|
+
class DescribeIotModelsResponse < TencentCloud::Common::AbstractModel
|
1683
|
+
# @param Data: 历史版本列表
|
1684
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1685
|
+
# @type Data: Array
|
1686
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1687
|
+
# @type RequestId: String
|
1688
|
+
|
1689
|
+
attr_accessor :Data, :RequestId
|
1690
|
+
|
1691
|
+
def initialize(data=nil, requestid=nil)
|
1692
|
+
@Data = data
|
1693
|
+
@RequestId = requestid
|
1694
|
+
end
|
1695
|
+
|
1696
|
+
def deserialize(params)
|
1697
|
+
unless params['Data'].nil?
|
1698
|
+
@Data = []
|
1699
|
+
params['Data'].each do |i|
|
1700
|
+
iotmodeldata_tmp = IotModelData.new
|
1701
|
+
iotmodeldata_tmp.deserialize(i)
|
1702
|
+
@Data << iotmodeldata_tmp
|
1703
|
+
end
|
1704
|
+
end
|
1705
|
+
@RequestId = params['RequestId']
|
1706
|
+
end
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
# DescribeLogs请求参数结构体
|
1710
|
+
class DescribeLogsRequest < TencentCloud::Common::AbstractModel
|
1711
|
+
# @param Tid: 设备TID
|
1712
|
+
# @type Tid: String
|
1713
|
+
# @param Limit: 当前分页的最大条数,0<取值范围<=100
|
1714
|
+
# @type Limit: Integer
|
1715
|
+
# @param Offset: 分页偏移量,取值范围>0
|
1716
|
+
# @type Offset: Integer
|
1717
|
+
# @param LogType: 日志类型 1.在线状态变更 2.ProConst变更 3.ProWritable变更 4.Action控制 5.ProReadonly变更 6.Event事件
|
1718
|
+
# @type LogType: Integer
|
1719
|
+
# @param StartTime: 查询的起始时间 UNIX时间戳,单位秒
|
1720
|
+
# @type StartTime: Integer
|
1721
|
+
# @param DataObject: 物模型对象索引,用于模糊查询,字符长度<=255,每层节点的字符长度<=16
|
1722
|
+
# @type DataObject: String
|
1723
|
+
# @param EndTime: 查询的结束时间 UNIX时间戳,单位秒
|
1724
|
+
# @type EndTime: Integer
|
1725
|
+
|
1726
|
+
attr_accessor :Tid, :Limit, :Offset, :LogType, :StartTime, :DataObject, :EndTime
|
1727
|
+
|
1728
|
+
def initialize(tid=nil, limit=nil, offset=nil, logtype=nil, starttime=nil, dataobject=nil, endtime=nil)
|
1729
|
+
@Tid = tid
|
1730
|
+
@Limit = limit
|
1731
|
+
@Offset = offset
|
1732
|
+
@LogType = logtype
|
1733
|
+
@StartTime = starttime
|
1734
|
+
@DataObject = dataobject
|
1735
|
+
@EndTime = endtime
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
def deserialize(params)
|
1739
|
+
@Tid = params['Tid']
|
1740
|
+
@Limit = params['Limit']
|
1741
|
+
@Offset = params['Offset']
|
1742
|
+
@LogType = params['LogType']
|
1743
|
+
@StartTime = params['StartTime']
|
1744
|
+
@DataObject = params['DataObject']
|
1745
|
+
@EndTime = params['EndTime']
|
1746
|
+
end
|
1747
|
+
end
|
1748
|
+
|
1749
|
+
# DescribeLogs返回参数结构体
|
1750
|
+
class DescribeLogsResponse < TencentCloud::Common::AbstractModel
|
1751
|
+
# @param Data: 设备日志信息
|
1752
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1753
|
+
# @type Data: Array
|
1754
|
+
# @param TotalCount: Data数组所包含的信息条数
|
1755
|
+
# @type TotalCount: Integer
|
1756
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1757
|
+
# @type RequestId: String
|
1758
|
+
|
1759
|
+
attr_accessor :Data, :TotalCount, :RequestId
|
1760
|
+
|
1761
|
+
def initialize(data=nil, totalcount=nil, requestid=nil)
|
1762
|
+
@Data = data
|
1763
|
+
@TotalCount = totalcount
|
1764
|
+
@RequestId = requestid
|
1765
|
+
end
|
1766
|
+
|
1767
|
+
def deserialize(params)
|
1768
|
+
unless params['Data'].nil?
|
1769
|
+
@Data = []
|
1770
|
+
params['Data'].each do |i|
|
1771
|
+
logdata_tmp = LogData.new
|
1772
|
+
logdata_tmp.deserialize(i)
|
1773
|
+
@Data << logdata_tmp
|
1774
|
+
end
|
1775
|
+
end
|
1776
|
+
@TotalCount = params['TotalCount']
|
1777
|
+
@RequestId = params['RequestId']
|
1778
|
+
end
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
# DescribeMessageQueue请求参数结构体
|
1782
|
+
class DescribeMessageQueueRequest < TencentCloud::Common::AbstractModel
|
1783
|
+
# @param ProductId: 产品ID
|
1784
|
+
# @type ProductId: String
|
1785
|
+
|
1786
|
+
attr_accessor :ProductId
|
1787
|
+
|
1788
|
+
def initialize(productid=nil)
|
1789
|
+
@ProductId = productid
|
1790
|
+
end
|
1791
|
+
|
1792
|
+
def deserialize(params)
|
1793
|
+
@ProductId = params['ProductId']
|
1794
|
+
end
|
1795
|
+
end
|
1796
|
+
|
1797
|
+
# DescribeMessageQueue返回参数结构体
|
1798
|
+
class DescribeMessageQueueResponse < TencentCloud::Common::AbstractModel
|
1799
|
+
# @param Data: 消息队列配置
|
1800
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1801
|
+
# @type Data: :class:`Tencentcloud::Iotvideo.v20191126.models.MsgQueueData`
|
1802
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1803
|
+
# @type RequestId: String
|
1804
|
+
|
1805
|
+
attr_accessor :Data, :RequestId
|
1806
|
+
|
1807
|
+
def initialize(data=nil, requestid=nil)
|
1808
|
+
@Data = data
|
1809
|
+
@RequestId = requestid
|
1810
|
+
end
|
1811
|
+
|
1812
|
+
def deserialize(params)
|
1813
|
+
unless params['Data'].nil?
|
1814
|
+
@Data = MsgQueueData.new
|
1815
|
+
@Data.deserialize(params['Data'])
|
1816
|
+
end
|
1817
|
+
@RequestId = params['RequestId']
|
1818
|
+
end
|
1819
|
+
end
|
1820
|
+
|
1821
|
+
# DescribeModelDataRet请求参数结构体
|
1822
|
+
class DescribeModelDataRetRequest < TencentCloud::Common::AbstractModel
|
1823
|
+
# @param TaskId: 任务ID
|
1824
|
+
# @type TaskId: String
|
1825
|
+
|
1826
|
+
attr_accessor :TaskId
|
1827
|
+
|
1828
|
+
def initialize(taskid=nil)
|
1829
|
+
@TaskId = taskid
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
def deserialize(params)
|
1833
|
+
@TaskId = params['TaskId']
|
1834
|
+
end
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
# DescribeModelDataRet返回参数结构体
|
1838
|
+
class DescribeModelDataRetResponse < TencentCloud::Common::AbstractModel
|
1839
|
+
# @param Data: 设备响应结果
|
1840
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1841
|
+
# @type Data: String
|
1842
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1843
|
+
# @type RequestId: String
|
1844
|
+
|
1845
|
+
attr_accessor :Data, :RequestId
|
1846
|
+
|
1847
|
+
def initialize(data=nil, requestid=nil)
|
1848
|
+
@Data = data
|
1849
|
+
@RequestId = requestid
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
def deserialize(params)
|
1853
|
+
@Data = params['Data']
|
1854
|
+
@RequestId = params['RequestId']
|
1855
|
+
end
|
1856
|
+
end
|
1857
|
+
|
1858
|
+
# DescribeOsList请求参数结构体
|
1859
|
+
class DescribeOsListRequest < TencentCloud::Common::AbstractModel
|
1860
|
+
|
1861
|
+
|
1862
|
+
def initialize()
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
def deserialize(params)
|
1866
|
+
end
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
# DescribeOsList返回参数结构体
|
1870
|
+
class DescribeOsListResponse < TencentCloud::Common::AbstractModel
|
1871
|
+
# @param Data: 系统类型
|
1872
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1873
|
+
# @type Data: :class:`Tencentcloud::Iotvideo.v20191126.models.SystemType`
|
1874
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1875
|
+
# @type RequestId: String
|
1876
|
+
|
1877
|
+
attr_accessor :Data, :RequestId
|
1878
|
+
|
1879
|
+
def initialize(data=nil, requestid=nil)
|
1880
|
+
@Data = data
|
1881
|
+
@RequestId = requestid
|
1882
|
+
end
|
1883
|
+
|
1884
|
+
def deserialize(params)
|
1885
|
+
unless params['Data'].nil?
|
1886
|
+
@Data = SystemType.new
|
1887
|
+
@Data.deserialize(params['Data'])
|
1888
|
+
end
|
1889
|
+
@RequestId = params['RequestId']
|
1890
|
+
end
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
# DescribeOtaVersions请求参数结构体
|
1894
|
+
class DescribeOtaVersionsRequest < TencentCloud::Common::AbstractModel
|
1895
|
+
# @param Offset: 分页偏移量
|
1896
|
+
# @type Offset: Integer
|
1897
|
+
# @param Limit: 每页数量,0<取值范围<=100
|
1898
|
+
# @type Limit: Integer
|
1899
|
+
# @param ProductId: 产品ID,为空时查询客户所有产品的版本信息
|
1900
|
+
# @type ProductId: String
|
1901
|
+
# @param OtaVersion: 版本号,支持模糊匹配
|
1902
|
+
# @type OtaVersion: String
|
1903
|
+
# @param PubStatus: 版本类型 1未发布 2测试发布 3正式发布 4禁用
|
1904
|
+
# @type PubStatus: Integer
|
1905
|
+
|
1906
|
+
attr_accessor :Offset, :Limit, :ProductId, :OtaVersion, :PubStatus
|
1907
|
+
|
1908
|
+
def initialize(offset=nil, limit=nil, productid=nil, otaversion=nil, pubstatus=nil)
|
1909
|
+
@Offset = offset
|
1910
|
+
@Limit = limit
|
1911
|
+
@ProductId = productid
|
1912
|
+
@OtaVersion = otaversion
|
1913
|
+
@PubStatus = pubstatus
|
1914
|
+
end
|
1915
|
+
|
1916
|
+
def deserialize(params)
|
1917
|
+
@Offset = params['Offset']
|
1918
|
+
@Limit = params['Limit']
|
1919
|
+
@ProductId = params['ProductId']
|
1920
|
+
@OtaVersion = params['OtaVersion']
|
1921
|
+
@PubStatus = params['PubStatus']
|
1922
|
+
end
|
1923
|
+
end
|
1924
|
+
|
1925
|
+
# DescribeOtaVersions返回参数结构体
|
1926
|
+
class DescribeOtaVersionsResponse < TencentCloud::Common::AbstractModel
|
1927
|
+
# @param TotalCount: 版本数量
|
1928
|
+
# @type TotalCount: Integer
|
1929
|
+
# @param Data: 版本详细信息
|
1930
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1931
|
+
# @type Data: Array
|
1932
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1933
|
+
# @type RequestId: String
|
1934
|
+
|
1935
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
1936
|
+
|
1937
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
1938
|
+
@TotalCount = totalcount
|
1939
|
+
@Data = data
|
1940
|
+
@RequestId = requestid
|
1941
|
+
end
|
1942
|
+
|
1943
|
+
def deserialize(params)
|
1944
|
+
@TotalCount = params['TotalCount']
|
1945
|
+
unless params['Data'].nil?
|
1946
|
+
@Data = []
|
1947
|
+
params['Data'].each do |i|
|
1948
|
+
versiondata_tmp = VersionData.new
|
1949
|
+
versiondata_tmp.deserialize(i)
|
1950
|
+
@Data << versiondata_tmp
|
1951
|
+
end
|
1952
|
+
end
|
1953
|
+
@RequestId = params['RequestId']
|
1954
|
+
end
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
# DescribeProduct请求参数结构体
|
1958
|
+
class DescribeProductRequest < TencentCloud::Common::AbstractModel
|
1959
|
+
# @param ProductId: 产品ID
|
1960
|
+
# @type ProductId: String
|
1961
|
+
|
1962
|
+
attr_accessor :ProductId
|
1963
|
+
|
1964
|
+
def initialize(productid=nil)
|
1965
|
+
@ProductId = productid
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
def deserialize(params)
|
1969
|
+
@ProductId = params['ProductId']
|
1970
|
+
end
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
# DescribeProduct返回参数结构体
|
1974
|
+
class DescribeProductResponse < TencentCloud::Common::AbstractModel
|
1975
|
+
# @param Data: 产品详情
|
1976
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1977
|
+
# @type Data: :class:`Tencentcloud::Iotvideo.v20191126.models.ProductData`
|
1978
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1979
|
+
# @type RequestId: String
|
1980
|
+
|
1981
|
+
attr_accessor :Data, :RequestId
|
1982
|
+
|
1983
|
+
def initialize(data=nil, requestid=nil)
|
1984
|
+
@Data = data
|
1985
|
+
@RequestId = requestid
|
1986
|
+
end
|
1987
|
+
|
1988
|
+
def deserialize(params)
|
1989
|
+
unless params['Data'].nil?
|
1990
|
+
@Data = ProductData.new
|
1991
|
+
@Data.deserialize(params['Data'])
|
1992
|
+
end
|
1993
|
+
@RequestId = params['RequestId']
|
1994
|
+
end
|
1995
|
+
end
|
1996
|
+
|
1997
|
+
# DescribeProducts请求参数结构体
|
1998
|
+
class DescribeProductsRequest < TencentCloud::Common::AbstractModel
|
1999
|
+
# @param Limit: 分页大小,当前页面中显示的最大数量,值范围 1-100
|
2000
|
+
# @type Limit: Integer
|
2001
|
+
# @param Offset: 分页偏移,Offset从0开始
|
2002
|
+
# @type Offset: Integer
|
2003
|
+
# @param ProductModel: 产器型号(APP产品,为APP包名)
|
2004
|
+
# @type ProductModel: String
|
2005
|
+
# @param StartTime: 开始时间 ,UNIX 时间戳,单位秒
|
2006
|
+
# @type StartTime: Integer
|
2007
|
+
# @param EndTime: 结束时间 ,UNIX 时间戳,单位秒
|
2008
|
+
# @type EndTime: Integer
|
2009
|
+
|
2010
|
+
attr_accessor :Limit, :Offset, :ProductModel, :StartTime, :EndTime
|
2011
|
+
|
2012
|
+
def initialize(limit=nil, offset=nil, productmodel=nil, starttime=nil, endtime=nil)
|
2013
|
+
@Limit = limit
|
2014
|
+
@Offset = offset
|
2015
|
+
@ProductModel = productmodel
|
2016
|
+
@StartTime = starttime
|
2017
|
+
@EndTime = endtime
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
def deserialize(params)
|
2021
|
+
@Limit = params['Limit']
|
2022
|
+
@Offset = params['Offset']
|
2023
|
+
@ProductModel = params['ProductModel']
|
2024
|
+
@StartTime = params['StartTime']
|
2025
|
+
@EndTime = params['EndTime']
|
2026
|
+
end
|
2027
|
+
end
|
2028
|
+
|
2029
|
+
# DescribeProducts返回参数结构体
|
2030
|
+
class DescribeProductsResponse < TencentCloud::Common::AbstractModel
|
2031
|
+
# @param Data: 产品详细信息列表
|
2032
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2033
|
+
# @type Data: Array
|
2034
|
+
# @param TotalCount: 产品总数
|
2035
|
+
# @type TotalCount: Integer
|
2036
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2037
|
+
# @type RequestId: String
|
2038
|
+
|
2039
|
+
attr_accessor :Data, :TotalCount, :RequestId
|
2040
|
+
|
2041
|
+
def initialize(data=nil, totalcount=nil, requestid=nil)
|
2042
|
+
@Data = data
|
2043
|
+
@TotalCount = totalcount
|
2044
|
+
@RequestId = requestid
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
def deserialize(params)
|
2048
|
+
unless params['Data'].nil?
|
2049
|
+
@Data = []
|
2050
|
+
params['Data'].each do |i|
|
2051
|
+
productdata_tmp = ProductData.new
|
2052
|
+
productdata_tmp.deserialize(i)
|
2053
|
+
@Data << productdata_tmp
|
2054
|
+
end
|
2055
|
+
end
|
2056
|
+
@TotalCount = params['TotalCount']
|
2057
|
+
@RequestId = params['RequestId']
|
2058
|
+
end
|
2059
|
+
end
|
2060
|
+
|
2061
|
+
# DescribePubVersions请求参数结构体
|
2062
|
+
class DescribePubVersionsRequest < TencentCloud::Common::AbstractModel
|
2063
|
+
# @param ProductId: 产品ID
|
2064
|
+
# @type ProductId: String
|
2065
|
+
|
2066
|
+
attr_accessor :ProductId
|
2067
|
+
|
2068
|
+
def initialize(productid=nil)
|
2069
|
+
@ProductId = productid
|
2070
|
+
end
|
2071
|
+
|
2072
|
+
def deserialize(params)
|
2073
|
+
@ProductId = params['ProductId']
|
2074
|
+
end
|
2075
|
+
end
|
2076
|
+
|
2077
|
+
# DescribePubVersions返回参数结构体
|
2078
|
+
class DescribePubVersionsResponse < TencentCloud::Common::AbstractModel
|
2079
|
+
# @param Data: 历史发布的版本列表
|
2080
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2081
|
+
# @type Data: Array
|
2082
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2083
|
+
# @type RequestId: String
|
2084
|
+
|
2085
|
+
attr_accessor :Data, :RequestId
|
2086
|
+
|
2087
|
+
def initialize(data=nil, requestid=nil)
|
2088
|
+
@Data = data
|
2089
|
+
@RequestId = requestid
|
2090
|
+
end
|
2091
|
+
|
2092
|
+
def deserialize(params)
|
2093
|
+
unless params['Data'].nil?
|
2094
|
+
@Data = []
|
2095
|
+
params['Data'].each do |i|
|
2096
|
+
otapubhistory_tmp = OtaPubHistory.new
|
2097
|
+
otapubhistory_tmp.deserialize(i)
|
2098
|
+
@Data << otapubhistory_tmp
|
2099
|
+
end
|
2100
|
+
end
|
2101
|
+
@RequestId = params['RequestId']
|
2102
|
+
end
|
2103
|
+
end
|
2104
|
+
|
2105
|
+
# DescribeRechargeRecords请求参数结构体
|
2106
|
+
class DescribeRechargeRecordsRequest < TencentCloud::Common::AbstractModel
|
2107
|
+
# @param AccountType: 账户类型 1:设备接入 2:云存。
|
2108
|
+
# @type AccountType: Integer
|
2109
|
+
# @param Offset: 从第几条记录开始显示, 默认值为0。
|
2110
|
+
# @type Offset: Integer
|
2111
|
+
# @param Limit: 总共查询多少条记录,默认为值50。
|
2112
|
+
# @type Limit: Integer
|
2113
|
+
|
2114
|
+
attr_accessor :AccountType, :Offset, :Limit
|
2115
|
+
|
2116
|
+
def initialize(accounttype=nil, offset=nil, limit=nil)
|
2117
|
+
@AccountType = accounttype
|
2118
|
+
@Offset = offset
|
2119
|
+
@Limit = limit
|
2120
|
+
end
|
2121
|
+
|
2122
|
+
def deserialize(params)
|
2123
|
+
@AccountType = params['AccountType']
|
2124
|
+
@Offset = params['Offset']
|
2125
|
+
@Limit = params['Limit']
|
2126
|
+
end
|
2127
|
+
end
|
2128
|
+
|
2129
|
+
# DescribeRechargeRecords返回参数结构体
|
2130
|
+
class DescribeRechargeRecordsResponse < TencentCloud::Common::AbstractModel
|
2131
|
+
# @param AccountType: 账户类型 1:设备接入 2:云存
|
2132
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2133
|
+
# @type AccountType: Integer
|
2134
|
+
# @param Records: 充值记录列表
|
2135
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2136
|
+
# @type Records: Array
|
2137
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2138
|
+
# @type RequestId: String
|
2139
|
+
|
2140
|
+
attr_accessor :AccountType, :Records, :RequestId
|
2141
|
+
|
2142
|
+
def initialize(accounttype=nil, records=nil, requestid=nil)
|
2143
|
+
@AccountType = accounttype
|
2144
|
+
@Records = records
|
2145
|
+
@RequestId = requestid
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
def deserialize(params)
|
2149
|
+
@AccountType = params['AccountType']
|
2150
|
+
unless params['Records'].nil?
|
2151
|
+
@Records = []
|
2152
|
+
params['Records'].each do |i|
|
2153
|
+
rechargerecord_tmp = RechargeRecord.new
|
2154
|
+
rechargerecord_tmp.deserialize(i)
|
2155
|
+
@Records << rechargerecord_tmp
|
2156
|
+
end
|
2157
|
+
end
|
2158
|
+
@RequestId = params['RequestId']
|
2159
|
+
end
|
2160
|
+
end
|
2161
|
+
|
2162
|
+
# DescribeRegistrationStatus请求参数结构体
|
2163
|
+
class DescribeRegistrationStatusRequest < TencentCloud::Common::AbstractModel
|
2164
|
+
# @param CunionIds: 终端用户的唯一ID列表,0<元素数量<=100
|
2165
|
+
# @type CunionIds: Array
|
2166
|
+
|
2167
|
+
attr_accessor :CunionIds
|
2168
|
+
|
2169
|
+
def initialize(cunionids=nil)
|
2170
|
+
@CunionIds = cunionids
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
def deserialize(params)
|
2174
|
+
@CunionIds = params['CunionIds']
|
2175
|
+
end
|
2176
|
+
end
|
2177
|
+
|
2178
|
+
# DescribeRegistrationStatus返回参数结构体
|
2179
|
+
class DescribeRegistrationStatusResponse < TencentCloud::Common::AbstractModel
|
2180
|
+
# @param Data: 终端用户注册状态列表
|
2181
|
+
# @type Data: Array
|
2182
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2183
|
+
# @type RequestId: String
|
2184
|
+
|
2185
|
+
attr_accessor :Data, :RequestId
|
2186
|
+
|
2187
|
+
def initialize(data=nil, requestid=nil)
|
2188
|
+
@Data = data
|
2189
|
+
@RequestId = requestid
|
2190
|
+
end
|
2191
|
+
|
2192
|
+
def deserialize(params)
|
2193
|
+
unless params['Data'].nil?
|
2194
|
+
@Data = []
|
2195
|
+
params['Data'].each do |i|
|
2196
|
+
registeredstatus_tmp = RegisteredStatus.new
|
2197
|
+
registeredstatus_tmp.deserialize(i)
|
2198
|
+
@Data << registeredstatus_tmp
|
2199
|
+
end
|
2200
|
+
end
|
2201
|
+
@RequestId = params['RequestId']
|
2202
|
+
end
|
2203
|
+
end
|
2204
|
+
|
2205
|
+
# DescribeRunLog请求参数结构体
|
2206
|
+
class DescribeRunLogRequest < TencentCloud::Common::AbstractModel
|
2207
|
+
# @param Tid: 设备TID
|
2208
|
+
# @type Tid: String
|
2209
|
+
|
2210
|
+
attr_accessor :Tid
|
2211
|
+
|
2212
|
+
def initialize(tid=nil)
|
2213
|
+
@Tid = tid
|
2214
|
+
end
|
2215
|
+
|
2216
|
+
def deserialize(params)
|
2217
|
+
@Tid = params['Tid']
|
2218
|
+
end
|
2219
|
+
end
|
2220
|
+
|
2221
|
+
# DescribeRunLog返回参数结构体
|
2222
|
+
class DescribeRunLogResponse < TencentCloud::Common::AbstractModel
|
2223
|
+
# @param Data: 设备运行日志文本信息
|
2224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2225
|
+
# @type Data: String
|
2226
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2227
|
+
# @type RequestId: String
|
2228
|
+
|
2229
|
+
attr_accessor :Data, :RequestId
|
2230
|
+
|
2231
|
+
def initialize(data=nil, requestid=nil)
|
2232
|
+
@Data = data
|
2233
|
+
@RequestId = requestid
|
2234
|
+
end
|
2235
|
+
|
2236
|
+
def deserialize(params)
|
2237
|
+
@Data = params['Data']
|
2238
|
+
@RequestId = params['RequestId']
|
2239
|
+
end
|
2240
|
+
end
|
2241
|
+
|
2242
|
+
# DescribeStorageService请求参数结构体
|
2243
|
+
class DescribeStorageServiceRequest < TencentCloud::Common::AbstractModel
|
2244
|
+
# @param ServiceId: 云存服务ID
|
2245
|
+
# @type ServiceId: String
|
2246
|
+
# @param GetFinishedOrder: 是否返回已结束的订单信息(已过期/已退订/已转移)
|
2247
|
+
# @type GetFinishedOrder: Boolean
|
2248
|
+
|
2249
|
+
attr_accessor :ServiceId, :GetFinishedOrder
|
2250
|
+
|
2251
|
+
def initialize(serviceid=nil, getfinishedorder=nil)
|
2252
|
+
@ServiceId = serviceid
|
2253
|
+
@GetFinishedOrder = getfinishedorder
|
2254
|
+
end
|
2255
|
+
|
2256
|
+
def deserialize(params)
|
2257
|
+
@ServiceId = params['ServiceId']
|
2258
|
+
@GetFinishedOrder = params['GetFinishedOrder']
|
2259
|
+
end
|
2260
|
+
end
|
2261
|
+
|
2262
|
+
# DescribeStorageService返回参数结构体
|
2263
|
+
class DescribeStorageServiceResponse < TencentCloud::Common::AbstractModel
|
2264
|
+
# @param ServiceId: 云存服务ID
|
2265
|
+
# @type ServiceId: String
|
2266
|
+
# @param StorageRegion: 云存服务所在的区域
|
2267
|
+
# @type StorageRegion: String
|
2268
|
+
# @param Tid: 设备TID
|
2269
|
+
# @type Tid: String
|
2270
|
+
# @param ChnNum: 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
|
2271
|
+
# @type ChnNum: Integer
|
2272
|
+
# @param AccessId: 终端用户在IoT Video平台的注册ID
|
2273
|
+
# @type AccessId: String
|
2274
|
+
# @param StartTime: 服务开始时间
|
2275
|
+
# @type StartTime: Integer
|
2276
|
+
# @param EndTime: 服务失效时间
|
2277
|
+
# @type EndTime: Integer
|
2278
|
+
# @param Status: 服务状态
|
2279
|
+
# 1:正常使用中
|
2280
|
+
# 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
|
2281
|
+
# 3:已过期。查询不到设备保存在云端的数据。
|
2282
|
+
# 4:等待服务生效。
|
2283
|
+
# @type Status: Integer
|
2284
|
+
# @param Data: 云存定单列表
|
2285
|
+
# @type Data: Array
|
2286
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2287
|
+
# @type RequestId: String
|
2288
|
+
|
2289
|
+
attr_accessor :ServiceId, :StorageRegion, :Tid, :ChnNum, :AccessId, :StartTime, :EndTime, :Status, :Data, :RequestId
|
2290
|
+
|
2291
|
+
def initialize(serviceid=nil, storageregion=nil, tid=nil, chnnum=nil, accessid=nil, starttime=nil, endtime=nil, status=nil, data=nil, requestid=nil)
|
2292
|
+
@ServiceId = serviceid
|
2293
|
+
@StorageRegion = storageregion
|
2294
|
+
@Tid = tid
|
2295
|
+
@ChnNum = chnnum
|
2296
|
+
@AccessId = accessid
|
2297
|
+
@StartTime = starttime
|
2298
|
+
@EndTime = endtime
|
2299
|
+
@Status = status
|
2300
|
+
@Data = data
|
2301
|
+
@RequestId = requestid
|
2302
|
+
end
|
2303
|
+
|
2304
|
+
def deserialize(params)
|
2305
|
+
@ServiceId = params['ServiceId']
|
2306
|
+
@StorageRegion = params['StorageRegion']
|
2307
|
+
@Tid = params['Tid']
|
2308
|
+
@ChnNum = params['ChnNum']
|
2309
|
+
@AccessId = params['AccessId']
|
2310
|
+
@StartTime = params['StartTime']
|
2311
|
+
@EndTime = params['EndTime']
|
2312
|
+
@Status = params['Status']
|
2313
|
+
unless params['Data'].nil?
|
2314
|
+
@Data = []
|
2315
|
+
params['Data'].each do |i|
|
2316
|
+
storageorder_tmp = StorageOrder.new
|
2317
|
+
storageorder_tmp.deserialize(i)
|
2318
|
+
@Data << storageorder_tmp
|
2319
|
+
end
|
2320
|
+
end
|
2321
|
+
@RequestId = params['RequestId']
|
2322
|
+
end
|
2323
|
+
end
|
2324
|
+
|
2325
|
+
# DescribeStream请求参数结构体
|
2326
|
+
class DescribeStreamRequest < TencentCloud::Common::AbstractModel
|
2327
|
+
# @param Tid: 设备TID
|
2328
|
+
# @type Tid: String
|
2329
|
+
# @param AccessId: 终端用户ID
|
2330
|
+
# @type AccessId: String
|
2331
|
+
# @param Protocol: 直播协议, 可选值:RTSP、RTMP、HLS、HLS-fmp4
|
2332
|
+
# @type Protocol: String
|
2333
|
+
# @param Address: 音视频流地址
|
2334
|
+
# @type Address: String
|
2335
|
+
# @param AccessToken: 设备访问token,访问用户未绑定的设备时,需提供该参数
|
2336
|
+
# @type AccessToken: String
|
2337
|
+
|
2338
|
+
attr_accessor :Tid, :AccessId, :Protocol, :Address, :AccessToken
|
2339
|
+
|
2340
|
+
def initialize(tid=nil, accessid=nil, protocol=nil, address=nil, accesstoken=nil)
|
2341
|
+
@Tid = tid
|
2342
|
+
@AccessId = accessid
|
2343
|
+
@Protocol = protocol
|
2344
|
+
@Address = address
|
2345
|
+
@AccessToken = accesstoken
|
2346
|
+
end
|
2347
|
+
|
2348
|
+
def deserialize(params)
|
2349
|
+
@Tid = params['Tid']
|
2350
|
+
@AccessId = params['AccessId']
|
2351
|
+
@Protocol = params['Protocol']
|
2352
|
+
@Address = params['Address']
|
2353
|
+
@AccessToken = params['AccessToken']
|
2354
|
+
end
|
2355
|
+
end
|
2356
|
+
|
2357
|
+
# DescribeStream返回参数结构体
|
2358
|
+
class DescribeStreamResponse < TencentCloud::Common::AbstractModel
|
2359
|
+
# @param Data: 返回参数结构
|
2360
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2361
|
+
# @type Data: :class:`Tencentcloud::Iotvideo.v20191126.models.Data`
|
2362
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2363
|
+
# @type RequestId: String
|
2364
|
+
|
2365
|
+
attr_accessor :Data, :RequestId
|
2366
|
+
|
2367
|
+
def initialize(data=nil, requestid=nil)
|
2368
|
+
@Data = data
|
2369
|
+
@RequestId = requestid
|
2370
|
+
end
|
2371
|
+
|
2372
|
+
def deserialize(params)
|
2373
|
+
unless params['Data'].nil?
|
2374
|
+
@Data = Data.new
|
2375
|
+
@Data.deserialize(params['Data'])
|
2376
|
+
end
|
2377
|
+
@RequestId = params['RequestId']
|
2378
|
+
end
|
2379
|
+
end
|
2380
|
+
|
2381
|
+
# DescribeTraceIds请求参数结构体
|
2382
|
+
class DescribeTraceIdsRequest < TencentCloud::Common::AbstractModel
|
2383
|
+
|
2384
|
+
|
2385
|
+
def initialize()
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
def deserialize(params)
|
2389
|
+
end
|
2390
|
+
end
|
2391
|
+
|
2392
|
+
# DescribeTraceIds返回参数结构体
|
2393
|
+
class DescribeTraceIdsResponse < TencentCloud::Common::AbstractModel
|
2394
|
+
# @param Data: 设备TID列表,列表元素之间以“,”分隔
|
2395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2396
|
+
# @type Data: String
|
2397
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2398
|
+
# @type RequestId: String
|
2399
|
+
|
2400
|
+
attr_accessor :Data, :RequestId
|
2401
|
+
|
2402
|
+
def initialize(data=nil, requestid=nil)
|
2403
|
+
@Data = data
|
2404
|
+
@RequestId = requestid
|
2405
|
+
end
|
2406
|
+
|
2407
|
+
def deserialize(params)
|
2408
|
+
@Data = params['Data']
|
2409
|
+
@RequestId = params['RequestId']
|
2410
|
+
end
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
# DescribeTraceStatus请求参数结构体
|
2414
|
+
class DescribeTraceStatusRequest < TencentCloud::Common::AbstractModel
|
2415
|
+
# @param Tids: 设备TID列表
|
2416
|
+
# @type Tids: Array
|
2417
|
+
|
2418
|
+
attr_accessor :Tids
|
2419
|
+
|
2420
|
+
def initialize(tids=nil)
|
2421
|
+
@Tids = tids
|
2422
|
+
end
|
2423
|
+
|
2424
|
+
def deserialize(params)
|
2425
|
+
@Tids = params['Tids']
|
2426
|
+
end
|
2427
|
+
end
|
2428
|
+
|
2429
|
+
# DescribeTraceStatus返回参数结构体
|
2430
|
+
class DescribeTraceStatusResponse < TencentCloud::Common::AbstractModel
|
2431
|
+
# @param Data: 设备追踪状态列表
|
2432
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2433
|
+
# @type Data: Array
|
2434
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2435
|
+
# @type RequestId: String
|
2436
|
+
|
2437
|
+
attr_accessor :Data, :RequestId
|
2438
|
+
|
2439
|
+
def initialize(data=nil, requestid=nil)
|
2440
|
+
@Data = data
|
2441
|
+
@RequestId = requestid
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
def deserialize(params)
|
2445
|
+
unless params['Data'].nil?
|
2446
|
+
@Data = []
|
2447
|
+
params['Data'].each do |i|
|
2448
|
+
tracestatus_tmp = TraceStatus.new
|
2449
|
+
tracestatus_tmp.deserialize(i)
|
2450
|
+
@Data << tracestatus_tmp
|
2451
|
+
end
|
2452
|
+
end
|
2453
|
+
@RequestId = params['RequestId']
|
2454
|
+
end
|
2455
|
+
end
|
2456
|
+
|
2457
|
+
# 用于终端用户临时访问设备的token授权信息
|
2458
|
+
class DevTokenInfo < TencentCloud::Common::AbstractModel
|
2459
|
+
# @param AccessId: 客户的终端用户在IotVideo上的唯一标识id
|
2460
|
+
# @type AccessId: String
|
2461
|
+
# @param Tid: 设备TID
|
2462
|
+
# @type Tid: String
|
2463
|
+
# @param AccessToken: IotVideo平台的accessToken
|
2464
|
+
# @type AccessToken: String
|
2465
|
+
# @param ExpireTime: Token的过期时间,单位秒(UTC时间)
|
2466
|
+
# @type ExpireTime: Integer
|
2467
|
+
|
2468
|
+
attr_accessor :AccessId, :Tid, :AccessToken, :ExpireTime
|
2469
|
+
|
2470
|
+
def initialize(accessid=nil, tid=nil, accesstoken=nil, expiretime=nil)
|
2471
|
+
@AccessId = accessid
|
2472
|
+
@Tid = tid
|
2473
|
+
@AccessToken = accesstoken
|
2474
|
+
@ExpireTime = expiretime
|
2475
|
+
end
|
2476
|
+
|
2477
|
+
def deserialize(params)
|
2478
|
+
@AccessId = params['AccessId']
|
2479
|
+
@Tid = params['Tid']
|
2480
|
+
@AccessToken = params['AccessToken']
|
2481
|
+
@ExpireTime = params['ExpireTime']
|
2482
|
+
end
|
2483
|
+
end
|
2484
|
+
|
2485
|
+
# 设备证书及密钥
|
2486
|
+
class DeviceCertificate < TencentCloud::Common::AbstractModel
|
2487
|
+
# @param Tid: 设备TID
|
2488
|
+
# @type Tid: String
|
2489
|
+
# @param Certificate: 设备初始证书信息,base64编码
|
2490
|
+
# @type Certificate: String
|
2491
|
+
# @param WhiteBoxSoUrl: 设备私钥下载地址
|
2492
|
+
# @type WhiteBoxSoUrl: String
|
2493
|
+
|
2494
|
+
attr_accessor :Tid, :Certificate, :WhiteBoxSoUrl
|
2495
|
+
|
2496
|
+
def initialize(tid=nil, certificate=nil, whiteboxsourl=nil)
|
2497
|
+
@Tid = tid
|
2498
|
+
@Certificate = certificate
|
2499
|
+
@WhiteBoxSoUrl = whiteboxsourl
|
2500
|
+
end
|
2501
|
+
|
2502
|
+
def deserialize(params)
|
2503
|
+
@Tid = params['Tid']
|
2504
|
+
@Certificate = params['Certificate']
|
2505
|
+
@WhiteBoxSoUrl = params['WhiteBoxSoUrl']
|
2506
|
+
end
|
2507
|
+
end
|
2508
|
+
|
2509
|
+
# 设备信息
|
2510
|
+
class DeviceData < TencentCloud::Common::AbstractModel
|
2511
|
+
# @param Tid: 设备TID
|
2512
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2513
|
+
# @type Tid: String
|
2514
|
+
# @param ActiveTime: 激活时间 0代表未激活
|
2515
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2516
|
+
# @type ActiveTime: Integer
|
2517
|
+
# @param Disabled: 设备是否被禁用
|
2518
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2519
|
+
# @type Disabled: Boolean
|
2520
|
+
# @param OtaVersion: 固件版本
|
2521
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2522
|
+
# @type OtaVersion: String
|
2523
|
+
# @param Online: 设备在线状态
|
2524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2525
|
+
# @type Online: Integer
|
2526
|
+
# @param LastOnlineTime: 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
|
2527
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2528
|
+
# @type LastOnlineTime: Integer
|
2529
|
+
# @param IotModel: 物模型json数据
|
2530
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2531
|
+
# @type IotModel: String
|
2532
|
+
# @param DeviceName: 设备名称
|
2533
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2534
|
+
# @type DeviceName: String
|
2535
|
+
# @param ProductId: 产品ID
|
2536
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2537
|
+
# @type ProductId: String
|
2538
|
+
# @param Certificate: 设备初始证书信息,base64编码
|
2539
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2540
|
+
# @type Certificate: String
|
2541
|
+
# @param WhiteBoxSoUrl: 设备私钥下载地址
|
2542
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2543
|
+
# @type WhiteBoxSoUrl: String
|
2544
|
+
# @param StreamStatus: 设备推流状态
|
2545
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2546
|
+
# @type StreamStatus: Boolean
|
2547
|
+
|
2548
|
+
attr_accessor :Tid, :ActiveTime, :Disabled, :OtaVersion, :Online, :LastOnlineTime, :IotModel, :DeviceName, :ProductId, :Certificate, :WhiteBoxSoUrl, :StreamStatus
|
2549
|
+
|
2550
|
+
def initialize(tid=nil, activetime=nil, disabled=nil, otaversion=nil, online=nil, lastonlinetime=nil, iotmodel=nil, devicename=nil, productid=nil, certificate=nil, whiteboxsourl=nil, streamstatus=nil)
|
2551
|
+
@Tid = tid
|
2552
|
+
@ActiveTime = activetime
|
2553
|
+
@Disabled = disabled
|
2554
|
+
@OtaVersion = otaversion
|
2555
|
+
@Online = online
|
2556
|
+
@LastOnlineTime = lastonlinetime
|
2557
|
+
@IotModel = iotmodel
|
2558
|
+
@DeviceName = devicename
|
2559
|
+
@ProductId = productid
|
2560
|
+
@Certificate = certificate
|
2561
|
+
@WhiteBoxSoUrl = whiteboxsourl
|
2562
|
+
@StreamStatus = streamstatus
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
def deserialize(params)
|
2566
|
+
@Tid = params['Tid']
|
2567
|
+
@ActiveTime = params['ActiveTime']
|
2568
|
+
@Disabled = params['Disabled']
|
2569
|
+
@OtaVersion = params['OtaVersion']
|
2570
|
+
@Online = params['Online']
|
2571
|
+
@LastOnlineTime = params['LastOnlineTime']
|
2572
|
+
@IotModel = params['IotModel']
|
2573
|
+
@DeviceName = params['DeviceName']
|
2574
|
+
@ProductId = params['ProductId']
|
2575
|
+
@Certificate = params['Certificate']
|
2576
|
+
@WhiteBoxSoUrl = params['WhiteBoxSoUrl']
|
2577
|
+
@StreamStatus = params['StreamStatus']
|
2578
|
+
end
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
# 设备物模型数据
|
2582
|
+
class DeviceModelData < TencentCloud::Common::AbstractModel
|
2583
|
+
# @param Tid: 设备TID
|
2584
|
+
# @type Tid: String
|
2585
|
+
# @param Branch: 物模型分支路径
|
2586
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2587
|
+
# @type Branch: String
|
2588
|
+
# @param IotModel: 物模型数据
|
2589
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2590
|
+
# @type IotModel: String
|
2591
|
+
|
2592
|
+
attr_accessor :Tid, :Branch, :IotModel
|
2593
|
+
|
2594
|
+
def initialize(tid=nil, branch=nil, iotmodel=nil)
|
2595
|
+
@Tid = tid
|
2596
|
+
@Branch = branch
|
2597
|
+
@IotModel = iotmodel
|
2598
|
+
end
|
2599
|
+
|
2600
|
+
def deserialize(params)
|
2601
|
+
@Tid = params['Tid']
|
2602
|
+
@Branch = params['Branch']
|
2603
|
+
@IotModel = params['IotModel']
|
2604
|
+
end
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
# 设备列表元素所包含的设备基本信息
|
2608
|
+
class DevicesData < TencentCloud::Common::AbstractModel
|
2609
|
+
# @param Tid: 设备TID
|
2610
|
+
# @type Tid: String
|
2611
|
+
# @param DeviceName: 设备名称
|
2612
|
+
# @type DeviceName: String
|
2613
|
+
# @param ActiveTime: 激活时间 0代表未激活
|
2614
|
+
# @type ActiveTime: Integer
|
2615
|
+
# @param Disabled: 设备是否被禁用
|
2616
|
+
# @type Disabled: Boolean
|
2617
|
+
# @param StreamStatus: 设备推流状态
|
2618
|
+
# @type StreamStatus: Boolean
|
2619
|
+
# @param OtaVersion: 固件版本
|
2620
|
+
# @type OtaVersion: String
|
2621
|
+
# @param Online: 设备在线状态
|
2622
|
+
# @type Online: Integer
|
2623
|
+
# @param LastOnlineTime: 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒
|
2624
|
+
# @type LastOnlineTime: Integer
|
2625
|
+
# @param IotModel: 物模型json数据
|
2626
|
+
# @type IotModel: String
|
2627
|
+
# @param LastUpdateTime: 设备固件最新更新时间,UNIX时间戳,单位秒
|
2628
|
+
# @type LastUpdateTime: Integer
|
2629
|
+
|
2630
|
+
attr_accessor :Tid, :DeviceName, :ActiveTime, :Disabled, :StreamStatus, :OtaVersion, :Online, :LastOnlineTime, :IotModel, :LastUpdateTime
|
2631
|
+
|
2632
|
+
def initialize(tid=nil, devicename=nil, activetime=nil, disabled=nil, streamstatus=nil, otaversion=nil, online=nil, lastonlinetime=nil, iotmodel=nil, lastupdatetime=nil)
|
2633
|
+
@Tid = tid
|
2634
|
+
@DeviceName = devicename
|
2635
|
+
@ActiveTime = activetime
|
2636
|
+
@Disabled = disabled
|
2637
|
+
@StreamStatus = streamstatus
|
2638
|
+
@OtaVersion = otaversion
|
2639
|
+
@Online = online
|
2640
|
+
@LastOnlineTime = lastonlinetime
|
2641
|
+
@IotModel = iotmodel
|
2642
|
+
@LastUpdateTime = lastupdatetime
|
2643
|
+
end
|
2644
|
+
|
2645
|
+
def deserialize(params)
|
2646
|
+
@Tid = params['Tid']
|
2647
|
+
@DeviceName = params['DeviceName']
|
2648
|
+
@ActiveTime = params['ActiveTime']
|
2649
|
+
@Disabled = params['Disabled']
|
2650
|
+
@StreamStatus = params['StreamStatus']
|
2651
|
+
@OtaVersion = params['OtaVersion']
|
2652
|
+
@Online = params['Online']
|
2653
|
+
@LastOnlineTime = params['LastOnlineTime']
|
2654
|
+
@IotModel = params['IotModel']
|
2655
|
+
@LastUpdateTime = params['LastUpdateTime']
|
2656
|
+
end
|
2657
|
+
end
|
2658
|
+
|
2659
|
+
# DisableDevice请求参数结构体
|
2660
|
+
class DisableDeviceRequest < TencentCloud::Common::AbstractModel
|
2661
|
+
# @param Tids: 设备TID ≤100
|
2662
|
+
# @type Tids: Array
|
2663
|
+
|
2664
|
+
attr_accessor :Tids
|
2665
|
+
|
2666
|
+
def initialize(tids=nil)
|
2667
|
+
@Tids = tids
|
2668
|
+
end
|
2669
|
+
|
2670
|
+
def deserialize(params)
|
2671
|
+
@Tids = params['Tids']
|
2672
|
+
end
|
2673
|
+
end
|
2674
|
+
|
2675
|
+
# DisableDevice返回参数结构体
|
2676
|
+
class DisableDeviceResponse < TencentCloud::Common::AbstractModel
|
2677
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2678
|
+
# @type RequestId: String
|
2679
|
+
|
2680
|
+
attr_accessor :RequestId
|
2681
|
+
|
2682
|
+
def initialize(requestid=nil)
|
2683
|
+
@RequestId = requestid
|
2684
|
+
end
|
2685
|
+
|
2686
|
+
def deserialize(params)
|
2687
|
+
@RequestId = params['RequestId']
|
2688
|
+
end
|
2689
|
+
end
|
2690
|
+
|
2691
|
+
# DisableDeviceStream请求参数结构体
|
2692
|
+
class DisableDeviceStreamRequest < TencentCloud::Common::AbstractModel
|
2693
|
+
# @param Tids: 设备TID列表
|
2694
|
+
# @type Tids: Array
|
2695
|
+
|
2696
|
+
attr_accessor :Tids
|
2697
|
+
|
2698
|
+
def initialize(tids=nil)
|
2699
|
+
@Tids = tids
|
2700
|
+
end
|
2701
|
+
|
2702
|
+
def deserialize(params)
|
2703
|
+
@Tids = params['Tids']
|
2704
|
+
end
|
2705
|
+
end
|
2706
|
+
|
2707
|
+
# DisableDeviceStream返回参数结构体
|
2708
|
+
class DisableDeviceStreamResponse < TencentCloud::Common::AbstractModel
|
2709
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2710
|
+
# @type RequestId: String
|
2711
|
+
|
2712
|
+
attr_accessor :RequestId
|
2713
|
+
|
2714
|
+
def initialize(requestid=nil)
|
2715
|
+
@RequestId = requestid
|
2716
|
+
end
|
2717
|
+
|
2718
|
+
def deserialize(params)
|
2719
|
+
@RequestId = params['RequestId']
|
2720
|
+
end
|
2721
|
+
end
|
2722
|
+
|
2723
|
+
# DisableOtaVersion请求参数结构体
|
2724
|
+
class DisableOtaVersionRequest < TencentCloud::Common::AbstractModel
|
2725
|
+
# @param ProductId: 产品ID
|
2726
|
+
# @type ProductId: String
|
2727
|
+
# @param OtaVersion: 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
|
2728
|
+
# @type OtaVersion: String
|
2729
|
+
# @param Operator: 操作人
|
2730
|
+
# @type Operator: String
|
2731
|
+
|
2732
|
+
attr_accessor :ProductId, :OtaVersion, :Operator
|
2733
|
+
|
2734
|
+
def initialize(productid=nil, otaversion=nil, operator=nil)
|
2735
|
+
@ProductId = productid
|
2736
|
+
@OtaVersion = otaversion
|
2737
|
+
@Operator = operator
|
2738
|
+
end
|
2739
|
+
|
2740
|
+
def deserialize(params)
|
2741
|
+
@ProductId = params['ProductId']
|
2742
|
+
@OtaVersion = params['OtaVersion']
|
2743
|
+
@Operator = params['Operator']
|
2744
|
+
end
|
2745
|
+
end
|
2746
|
+
|
2747
|
+
# DisableOtaVersion返回参数结构体
|
2748
|
+
class DisableOtaVersionResponse < TencentCloud::Common::AbstractModel
|
2749
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2750
|
+
# @type RequestId: String
|
2751
|
+
|
2752
|
+
attr_accessor :RequestId
|
2753
|
+
|
2754
|
+
def initialize(requestid=nil)
|
2755
|
+
@RequestId = requestid
|
2756
|
+
end
|
2757
|
+
|
2758
|
+
def deserialize(params)
|
2759
|
+
@RequestId = params['RequestId']
|
2760
|
+
end
|
2761
|
+
end
|
2762
|
+
|
2763
|
+
# 物模型历史版本
|
2764
|
+
class IotModelData < TencentCloud::Common::AbstractModel
|
2765
|
+
# @param Revision: 版本号
|
2766
|
+
# @type Revision: Integer
|
2767
|
+
# @param ReleaseTime: 发布时间
|
2768
|
+
# @type ReleaseTime: Integer
|
2769
|
+
|
2770
|
+
attr_accessor :Revision, :ReleaseTime
|
2771
|
+
|
2772
|
+
def initialize(revision=nil, releasetime=nil)
|
2773
|
+
@Revision = revision
|
2774
|
+
@ReleaseTime = releasetime
|
2775
|
+
end
|
2776
|
+
|
2777
|
+
def deserialize(params)
|
2778
|
+
@Revision = params['Revision']
|
2779
|
+
@ReleaseTime = params['ReleaseTime']
|
2780
|
+
end
|
2781
|
+
end
|
2782
|
+
|
2783
|
+
# 设备日志信息
|
2784
|
+
class LogData < TencentCloud::Common::AbstractModel
|
2785
|
+
# @param Occurtime: 发生时间 UNIX时间戳,单位秒
|
2786
|
+
# @type Occurtime: Integer
|
2787
|
+
# @param LogType: 日志类型 1在线状态变更 2FP变更 3SP变更 4CO控制 5ST变更 6EV事件
|
2788
|
+
# @type LogType: Integer
|
2789
|
+
# @param DataObject: 物模型对象索引
|
2790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2791
|
+
# @type DataObject: String
|
2792
|
+
# @param OldValue: 物模型旧值 json串
|
2793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2794
|
+
# @type OldValue: String
|
2795
|
+
# @param NewValue: 物模型新值 json串
|
2796
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2797
|
+
# @type NewValue: String
|
2798
|
+
|
2799
|
+
attr_accessor :Occurtime, :LogType, :DataObject, :OldValue, :NewValue
|
2800
|
+
|
2801
|
+
def initialize(occurtime=nil, logtype=nil, dataobject=nil, oldvalue=nil, newvalue=nil)
|
2802
|
+
@Occurtime = occurtime
|
2803
|
+
@LogType = logtype
|
2804
|
+
@DataObject = dataobject
|
2805
|
+
@OldValue = oldvalue
|
2806
|
+
@NewValue = newvalue
|
2807
|
+
end
|
2808
|
+
|
2809
|
+
def deserialize(params)
|
2810
|
+
@Occurtime = params['Occurtime']
|
2811
|
+
@LogType = params['LogType']
|
2812
|
+
@DataObject = params['DataObject']
|
2813
|
+
@OldValue = params['OldValue']
|
2814
|
+
@NewValue = params['NewValue']
|
2815
|
+
end
|
2816
|
+
end
|
2817
|
+
|
2818
|
+
# ModifyDeviceAction请求参数结构体
|
2819
|
+
class ModifyDeviceActionRequest < TencentCloud::Common::AbstractModel
|
2820
|
+
# @param Tid: 设备TID
|
2821
|
+
# @type Tid: String
|
2822
|
+
# @param Wakeup: 如果设备处于休眠状态,是否唤醒设备
|
2823
|
+
# @type Wakeup: Boolean
|
2824
|
+
# @param Branch: 物模型的分支路径
|
2825
|
+
# @type Branch: String
|
2826
|
+
# @param Value: 写入的物模型数据,如果是json需要转义成字符串
|
2827
|
+
# @type Value: String
|
2828
|
+
# @param IsNum: Value字段的类型是否为数值(float、int)
|
2829
|
+
# @type IsNum: Boolean
|
2830
|
+
|
2831
|
+
attr_accessor :Tid, :Wakeup, :Branch, :Value, :IsNum
|
2832
|
+
|
2833
|
+
def initialize(tid=nil, wakeup=nil, branch=nil, value=nil, isnum=nil)
|
2834
|
+
@Tid = tid
|
2835
|
+
@Wakeup = wakeup
|
2836
|
+
@Branch = branch
|
2837
|
+
@Value = value
|
2838
|
+
@IsNum = isnum
|
2839
|
+
end
|
2840
|
+
|
2841
|
+
def deserialize(params)
|
2842
|
+
@Tid = params['Tid']
|
2843
|
+
@Wakeup = params['Wakeup']
|
2844
|
+
@Branch = params['Branch']
|
2845
|
+
@Value = params['Value']
|
2846
|
+
@IsNum = params['IsNum']
|
2847
|
+
end
|
2848
|
+
end
|
2849
|
+
|
2850
|
+
# ModifyDeviceAction返回参数结构体
|
2851
|
+
class ModifyDeviceActionResponse < TencentCloud::Common::AbstractModel
|
2852
|
+
# @param Data: 设备端的响应结果
|
2853
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2854
|
+
# @type Data: String
|
2855
|
+
# @param TaskId: 任务ID
|
2856
|
+
# 若设备端未能及时响应时,会返回此字段,用户可以通过DescribeModelDataRet获取设备的最终响应结果。
|
2857
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2858
|
+
# @type TaskId: String
|
2859
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2860
|
+
# @type RequestId: String
|
2861
|
+
|
2862
|
+
attr_accessor :Data, :TaskId, :RequestId
|
2863
|
+
|
2864
|
+
def initialize(data=nil, taskid=nil, requestid=nil)
|
2865
|
+
@Data = data
|
2866
|
+
@TaskId = taskid
|
2867
|
+
@RequestId = requestid
|
2868
|
+
end
|
2869
|
+
|
2870
|
+
def deserialize(params)
|
2871
|
+
@Data = params['Data']
|
2872
|
+
@TaskId = params['TaskId']
|
2873
|
+
@RequestId = params['RequestId']
|
2874
|
+
end
|
2875
|
+
end
|
2876
|
+
|
2877
|
+
# ModifyDeviceProperty请求参数结构体
|
2878
|
+
class ModifyDevicePropertyRequest < TencentCloud::Common::AbstractModel
|
2879
|
+
# @param Tid: 设备TID
|
2880
|
+
# @type Tid: String
|
2881
|
+
# @param Wakeup: 如果设备处于休眠状态,是否唤醒设备
|
2882
|
+
# @type Wakeup: Boolean
|
2883
|
+
# @param Branch: 物模型的分支路径
|
2884
|
+
# @type Branch: String
|
2885
|
+
# @param Value: 写入的物模型数据,如果是json需要转义成字符串
|
2886
|
+
# @type Value: String
|
2887
|
+
# @param IsNum: Value字段是否为数值(float、int)
|
2888
|
+
# @type IsNum: Boolean
|
2889
|
+
|
2890
|
+
attr_accessor :Tid, :Wakeup, :Branch, :Value, :IsNum
|
2891
|
+
|
2892
|
+
def initialize(tid=nil, wakeup=nil, branch=nil, value=nil, isnum=nil)
|
2893
|
+
@Tid = tid
|
2894
|
+
@Wakeup = wakeup
|
2895
|
+
@Branch = branch
|
2896
|
+
@Value = value
|
2897
|
+
@IsNum = isnum
|
2898
|
+
end
|
2899
|
+
|
2900
|
+
def deserialize(params)
|
2901
|
+
@Tid = params['Tid']
|
2902
|
+
@Wakeup = params['Wakeup']
|
2903
|
+
@Branch = params['Branch']
|
2904
|
+
@Value = params['Value']
|
2905
|
+
@IsNum = params['IsNum']
|
2906
|
+
end
|
2907
|
+
end
|
2908
|
+
|
2909
|
+
# ModifyDeviceProperty返回参数结构体
|
2910
|
+
class ModifyDevicePropertyResponse < TencentCloud::Common::AbstractModel
|
2911
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2912
|
+
# @type RequestId: String
|
2913
|
+
|
2914
|
+
attr_accessor :RequestId
|
2915
|
+
|
2916
|
+
def initialize(requestid=nil)
|
2917
|
+
@RequestId = requestid
|
2918
|
+
end
|
2919
|
+
|
2920
|
+
def deserialize(params)
|
2921
|
+
@RequestId = params['RequestId']
|
2922
|
+
end
|
2923
|
+
end
|
2924
|
+
|
2925
|
+
# ModifyDevice请求参数结构体
|
2926
|
+
class ModifyDeviceRequest < TencentCloud::Common::AbstractModel
|
2927
|
+
# @param Tid: 设备ID
|
2928
|
+
# @type Tid: String
|
2929
|
+
# @param AccessId: 用户ID
|
2930
|
+
# @type AccessId: String
|
2931
|
+
# @param Nick: 设备昵称,最多不超过64个字符
|
2932
|
+
# @type Nick: String
|
2933
|
+
|
2934
|
+
attr_accessor :Tid, :AccessId, :Nick
|
2935
|
+
|
2936
|
+
def initialize(tid=nil, accessid=nil, nick=nil)
|
2937
|
+
@Tid = tid
|
2938
|
+
@AccessId = accessid
|
2939
|
+
@Nick = nick
|
2940
|
+
end
|
2941
|
+
|
2942
|
+
def deserialize(params)
|
2943
|
+
@Tid = params['Tid']
|
2944
|
+
@AccessId = params['AccessId']
|
2945
|
+
@Nick = params['Nick']
|
2946
|
+
end
|
2947
|
+
end
|
2948
|
+
|
2949
|
+
# ModifyDevice返回参数结构体
|
2950
|
+
class ModifyDeviceResponse < TencentCloud::Common::AbstractModel
|
2951
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2952
|
+
# @type RequestId: String
|
2953
|
+
|
2954
|
+
attr_accessor :RequestId
|
2955
|
+
|
2956
|
+
def initialize(requestid=nil)
|
2957
|
+
@RequestId = requestid
|
2958
|
+
end
|
2959
|
+
|
2960
|
+
def deserialize(params)
|
2961
|
+
@RequestId = params['RequestId']
|
2962
|
+
end
|
2963
|
+
end
|
2964
|
+
|
2965
|
+
# ModifyProduct请求参数结构体
|
2966
|
+
class ModifyProductRequest < TencentCloud::Common::AbstractModel
|
2967
|
+
# @param ProductId: 产品ID
|
2968
|
+
# @type ProductId: String
|
2969
|
+
# @param ProductName: 产品名称
|
2970
|
+
# @type ProductName: String
|
2971
|
+
# @param ProductDescription: 产品描述
|
2972
|
+
# @type ProductDescription: String
|
2973
|
+
# @param ChipManufactureId: 主芯片产商ID
|
2974
|
+
# @type ChipManufactureId: String
|
2975
|
+
# @param ChipId: 主芯片ID
|
2976
|
+
# @type ChipId: String
|
2977
|
+
|
2978
|
+
attr_accessor :ProductId, :ProductName, :ProductDescription, :ChipManufactureId, :ChipId
|
2979
|
+
|
2980
|
+
def initialize(productid=nil, productname=nil, productdescription=nil, chipmanufactureid=nil, chipid=nil)
|
2981
|
+
@ProductId = productid
|
2982
|
+
@ProductName = productname
|
2983
|
+
@ProductDescription = productdescription
|
2984
|
+
@ChipManufactureId = chipmanufactureid
|
2985
|
+
@ChipId = chipid
|
2986
|
+
end
|
2987
|
+
|
2988
|
+
def deserialize(params)
|
2989
|
+
@ProductId = params['ProductId']
|
2990
|
+
@ProductName = params['ProductName']
|
2991
|
+
@ProductDescription = params['ProductDescription']
|
2992
|
+
@ChipManufactureId = params['ChipManufactureId']
|
2993
|
+
@ChipId = params['ChipId']
|
2994
|
+
end
|
2995
|
+
end
|
2996
|
+
|
2997
|
+
# ModifyProduct返回参数结构体
|
2998
|
+
class ModifyProductResponse < TencentCloud::Common::AbstractModel
|
2999
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3000
|
+
# @type RequestId: String
|
3001
|
+
|
3002
|
+
attr_accessor :RequestId
|
3003
|
+
|
3004
|
+
def initialize(requestid=nil)
|
3005
|
+
@RequestId = requestid
|
3006
|
+
end
|
3007
|
+
|
3008
|
+
def deserialize(params)
|
3009
|
+
@RequestId = params['RequestId']
|
3010
|
+
end
|
3011
|
+
end
|
3012
|
+
|
3013
|
+
# ModifyVerContent请求参数结构体
|
3014
|
+
class ModifyVerContentRequest < TencentCloud::Common::AbstractModel
|
3015
|
+
# @param ProductId: 产品id
|
3016
|
+
# @type ProductId: String
|
3017
|
+
# @param OtaVersion: 需要修改的版本号
|
3018
|
+
# @type OtaVersion: String
|
3019
|
+
# @param Operator: 操作人,字符长度<=64
|
3020
|
+
# @type Operator: String
|
3021
|
+
# @param Remark: 备注信息
|
3022
|
+
# @type Remark: String
|
3023
|
+
# @param Contents: 版本发布的描述信息,需要国际化,可以为空
|
3024
|
+
# @type Contents: :class:`Tencentcloud::Iotvideo.v20191126.models.Contents`
|
3025
|
+
|
3026
|
+
attr_accessor :ProductId, :OtaVersion, :Operator, :Remark, :Contents
|
3027
|
+
|
3028
|
+
def initialize(productid=nil, otaversion=nil, operator=nil, remark=nil, contents=nil)
|
3029
|
+
@ProductId = productid
|
3030
|
+
@OtaVersion = otaversion
|
3031
|
+
@Operator = operator
|
3032
|
+
@Remark = remark
|
3033
|
+
@Contents = contents
|
3034
|
+
end
|
3035
|
+
|
3036
|
+
def deserialize(params)
|
3037
|
+
@ProductId = params['ProductId']
|
3038
|
+
@OtaVersion = params['OtaVersion']
|
3039
|
+
@Operator = params['Operator']
|
3040
|
+
@Remark = params['Remark']
|
3041
|
+
unless params['Contents'].nil?
|
3042
|
+
@Contents = Contents.new
|
3043
|
+
@Contents.deserialize(params['Contents'])
|
3044
|
+
end
|
3045
|
+
end
|
3046
|
+
end
|
3047
|
+
|
3048
|
+
# ModifyVerContent返回参数结构体
|
3049
|
+
class ModifyVerContentResponse < TencentCloud::Common::AbstractModel
|
3050
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3051
|
+
# @type RequestId: String
|
3052
|
+
|
3053
|
+
attr_accessor :RequestId
|
3054
|
+
|
3055
|
+
def initialize(requestid=nil)
|
3056
|
+
@RequestId = requestid
|
3057
|
+
end
|
3058
|
+
|
3059
|
+
def deserialize(params)
|
3060
|
+
@RequestId = params['RequestId']
|
3061
|
+
end
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
# 产品转发消息队列配置
|
3065
|
+
class MsgQueueData < TencentCloud::Common::AbstractModel
|
3066
|
+
# @param MsgQueueType: 消息队列类型 1:CMQ 2:kafka
|
3067
|
+
# @type MsgQueueType: Integer
|
3068
|
+
# @param MsgType: 消息类型列表,整型值(0-31)之间以“,”分隔
|
3069
|
+
# @type MsgType: String
|
3070
|
+
# @param Topic: 主题名称
|
3071
|
+
# @type Topic: String
|
3072
|
+
# @param Instance: 实例名称
|
3073
|
+
# @type Instance: String
|
3074
|
+
# @param MsgRegion: 消息地域
|
3075
|
+
# @type MsgRegion: String
|
3076
|
+
|
3077
|
+
attr_accessor :MsgQueueType, :MsgType, :Topic, :Instance, :MsgRegion
|
3078
|
+
|
3079
|
+
def initialize(msgqueuetype=nil, msgtype=nil, topic=nil, instance=nil, msgregion=nil)
|
3080
|
+
@MsgQueueType = msgqueuetype
|
3081
|
+
@MsgType = msgtype
|
3082
|
+
@Topic = topic
|
3083
|
+
@Instance = instance
|
3084
|
+
@MsgRegion = msgregion
|
3085
|
+
end
|
3086
|
+
|
3087
|
+
def deserialize(params)
|
3088
|
+
@MsgQueueType = params['MsgQueueType']
|
3089
|
+
@MsgType = params['MsgType']
|
3090
|
+
@Topic = params['Topic']
|
3091
|
+
@Instance = params['Instance']
|
3092
|
+
@MsgRegion = params['MsgRegion']
|
3093
|
+
end
|
3094
|
+
end
|
3095
|
+
|
3096
|
+
# 操作系统信息
|
3097
|
+
class OsData < TencentCloud::Common::AbstractModel
|
3098
|
+
# @param ChipId: 芯片型号
|
3099
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3100
|
+
# @type ChipId: String
|
3101
|
+
# @param ChipManufacture: 芯片厂商
|
3102
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3103
|
+
# @type ChipManufacture: String
|
3104
|
+
|
3105
|
+
attr_accessor :ChipId, :ChipManufacture
|
3106
|
+
|
3107
|
+
def initialize(chipid=nil, chipmanufacture=nil)
|
3108
|
+
@ChipId = chipid
|
3109
|
+
@ChipManufacture = chipmanufacture
|
3110
|
+
end
|
3111
|
+
|
3112
|
+
def deserialize(params)
|
3113
|
+
@ChipId = params['ChipId']
|
3114
|
+
@ChipManufacture = params['ChipManufacture']
|
3115
|
+
end
|
3116
|
+
end
|
3117
|
+
|
3118
|
+
# 产品发布过的全部版本
|
3119
|
+
class OtaPubHistory < TencentCloud::Common::AbstractModel
|
3120
|
+
# @param OtaVersion: 版本名称
|
3121
|
+
# @type OtaVersion: String
|
3122
|
+
# @param PublishTime: 发布时间,unix时间戳,单位:秒
|
3123
|
+
# @type PublishTime: Integer
|
3124
|
+
|
3125
|
+
attr_accessor :OtaVersion, :PublishTime
|
3126
|
+
|
3127
|
+
def initialize(otaversion=nil, publishtime=nil)
|
3128
|
+
@OtaVersion = otaversion
|
3129
|
+
@PublishTime = publishtime
|
3130
|
+
end
|
3131
|
+
|
3132
|
+
def deserialize(params)
|
3133
|
+
@OtaVersion = params['OtaVersion']
|
3134
|
+
@PublishTime = params['PublishTime']
|
3135
|
+
end
|
3136
|
+
end
|
3137
|
+
|
3138
|
+
# 产品信息摘要
|
3139
|
+
class ProductBase < TencentCloud::Common::AbstractModel
|
3140
|
+
# @param ProductId: 产品ID
|
3141
|
+
# @type ProductId: String
|
3142
|
+
# @param ProductModel: 产器型号(APP产品,为APP包名)
|
3143
|
+
# @type ProductModel: String
|
3144
|
+
# @param ProductName: 产品名称
|
3145
|
+
# @type ProductName: String
|
3146
|
+
# @param ProductDescription: 产品描述信息
|
3147
|
+
# @type ProductDescription: String
|
3148
|
+
# @param CreateTime: 创建时间,UNIX 时间戳,单位秒
|
3149
|
+
# @type CreateTime: Integer
|
3150
|
+
# @param IotModelRevision: 物模型发布版本号,0代表物模型尚未发布
|
3151
|
+
# @type IotModelRevision: Integer
|
3152
|
+
# @param SecretKey: 产品密钥
|
3153
|
+
# @type SecretKey: String
|
3154
|
+
# @param FuncCode: 设备功能码
|
3155
|
+
# ypsxth : 音频双向通话;
|
3156
|
+
# spdxth : 视频单向通话(监控);
|
3157
|
+
# NVR0824 : NVR设备,大于8路,小于等于24路;
|
3158
|
+
# WifiKeepalive : Wifi保活(低功耗产品);
|
3159
|
+
# Alexa : Alexa接入;
|
3160
|
+
# Google : Google接入;
|
3161
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3162
|
+
# @type FuncCode: Array
|
3163
|
+
# @param ProductCate: 产品类别,0 : 普通视频设备;1 : NVR设备
|
3164
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3165
|
+
# @type ProductCate: Integer
|
3166
|
+
# @param ProductRegion: 产品地域
|
3167
|
+
# China-Mainland(中国大陆)
|
3168
|
+
# China-Hong Kong, Macao and Taiwan(港澳台地区)
|
3169
|
+
# America(美国)
|
3170
|
+
# Europe(欧洲)
|
3171
|
+
# India(印度)
|
3172
|
+
# Other-Overseas(其他境外地区)
|
3173
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3174
|
+
# @type ProductRegion: String
|
3175
|
+
|
3176
|
+
attr_accessor :ProductId, :ProductModel, :ProductName, :ProductDescription, :CreateTime, :IotModelRevision, :SecretKey, :FuncCode, :ProductCate, :ProductRegion
|
3177
|
+
|
3178
|
+
def initialize(productid=nil, productmodel=nil, productname=nil, productdescription=nil, createtime=nil, iotmodelrevision=nil, secretkey=nil, funccode=nil, productcate=nil, productregion=nil)
|
3179
|
+
@ProductId = productid
|
3180
|
+
@ProductModel = productmodel
|
3181
|
+
@ProductName = productname
|
3182
|
+
@ProductDescription = productdescription
|
3183
|
+
@CreateTime = createtime
|
3184
|
+
@IotModelRevision = iotmodelrevision
|
3185
|
+
@SecretKey = secretkey
|
3186
|
+
@FuncCode = funccode
|
3187
|
+
@ProductCate = productcate
|
3188
|
+
@ProductRegion = productregion
|
3189
|
+
end
|
3190
|
+
|
3191
|
+
def deserialize(params)
|
3192
|
+
@ProductId = params['ProductId']
|
3193
|
+
@ProductModel = params['ProductModel']
|
3194
|
+
@ProductName = params['ProductName']
|
3195
|
+
@ProductDescription = params['ProductDescription']
|
3196
|
+
@CreateTime = params['CreateTime']
|
3197
|
+
@IotModelRevision = params['IotModelRevision']
|
3198
|
+
@SecretKey = params['SecretKey']
|
3199
|
+
@FuncCode = params['FuncCode']
|
3200
|
+
@ProductCate = params['ProductCate']
|
3201
|
+
@ProductRegion = params['ProductRegion']
|
3202
|
+
end
|
3203
|
+
end
|
3204
|
+
|
3205
|
+
# 产品信息
|
3206
|
+
class ProductData < TencentCloud::Common::AbstractModel
|
3207
|
+
# @param ProductId: 产品ID
|
3208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3209
|
+
# @type ProductId: String
|
3210
|
+
# @param ProductName: 产品名称
|
3211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3212
|
+
# @type ProductName: String
|
3213
|
+
# @param ProductDescription: 产品描述信息
|
3214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3215
|
+
# @type ProductDescription: String
|
3216
|
+
# @param CreateTime: 创建时间,UNIX 时间戳,单位秒
|
3217
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3218
|
+
# @type CreateTime: Integer
|
3219
|
+
# @param IotModelRevision: 物模型发布版本号,0代表物模型尚未发布
|
3220
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3221
|
+
# @type IotModelRevision: Integer
|
3222
|
+
# @param SecretKey: 产品密钥
|
3223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3224
|
+
# @type SecretKey: String
|
3225
|
+
# @param Features: 设备功能码
|
3226
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3227
|
+
# @type Features: Array
|
3228
|
+
# @param ProductModel: 产器型号(APP产品,为APP包名)
|
3229
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3230
|
+
# @type ProductModel: String
|
3231
|
+
# @param ChipManufactureId: 主芯片厂商id
|
3232
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3233
|
+
# @type ChipManufactureId: String
|
3234
|
+
# @param ChipId: 主芯片型号
|
3235
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3236
|
+
# @type ChipId: String
|
3237
|
+
# @param ProductCate: 产品类别,0:普通视频设备;1:NVR设备
|
3238
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3239
|
+
# @type ProductCate: Integer
|
3240
|
+
# @param ProductRegion: 产品地区
|
3241
|
+
# China-Mainland(中国大陆)
|
3242
|
+
# China-Hong Kong, Macao and Taiwan(港澳台地区)
|
3243
|
+
# America(美国)
|
3244
|
+
# Europe(欧洲)
|
3245
|
+
# India(印度)
|
3246
|
+
# Other-Overseas(其他境外地区)
|
3247
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3248
|
+
# @type ProductRegion: String
|
3249
|
+
# @param AccessMode: 接入模型,bit0是0:公版小程序未接入,bit0是1:公版小程序已接入
|
3250
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3251
|
+
# @type AccessMode: Integer
|
3252
|
+
# @param Os: linux,android,liteos
|
3253
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3254
|
+
# @type Os: String
|
3255
|
+
|
3256
|
+
attr_accessor :ProductId, :ProductName, :ProductDescription, :CreateTime, :IotModelRevision, :SecretKey, :Features, :ProductModel, :ChipManufactureId, :ChipId, :ProductCate, :ProductRegion, :AccessMode, :Os
|
3257
|
+
|
3258
|
+
def initialize(productid=nil, productname=nil, productdescription=nil, createtime=nil, iotmodelrevision=nil, secretkey=nil, features=nil, productmodel=nil, chipmanufactureid=nil, chipid=nil, productcate=nil, productregion=nil, accessmode=nil, os=nil)
|
3259
|
+
@ProductId = productid
|
3260
|
+
@ProductName = productname
|
3261
|
+
@ProductDescription = productdescription
|
3262
|
+
@CreateTime = createtime
|
3263
|
+
@IotModelRevision = iotmodelrevision
|
3264
|
+
@SecretKey = secretkey
|
3265
|
+
@Features = features
|
3266
|
+
@ProductModel = productmodel
|
3267
|
+
@ChipManufactureId = chipmanufactureid
|
3268
|
+
@ChipId = chipid
|
3269
|
+
@ProductCate = productcate
|
3270
|
+
@ProductRegion = productregion
|
3271
|
+
@AccessMode = accessmode
|
3272
|
+
@Os = os
|
3273
|
+
end
|
3274
|
+
|
3275
|
+
def deserialize(params)
|
3276
|
+
@ProductId = params['ProductId']
|
3277
|
+
@ProductName = params['ProductName']
|
3278
|
+
@ProductDescription = params['ProductDescription']
|
3279
|
+
@CreateTime = params['CreateTime']
|
3280
|
+
@IotModelRevision = params['IotModelRevision']
|
3281
|
+
@SecretKey = params['SecretKey']
|
3282
|
+
@Features = params['Features']
|
3283
|
+
@ProductModel = params['ProductModel']
|
3284
|
+
@ChipManufactureId = params['ChipManufactureId']
|
3285
|
+
@ChipId = params['ChipId']
|
3286
|
+
@ProductCate = params['ProductCate']
|
3287
|
+
@ProductRegion = params['ProductRegion']
|
3288
|
+
@AccessMode = params['AccessMode']
|
3289
|
+
@Os = params['Os']
|
3290
|
+
end
|
3291
|
+
end
|
3292
|
+
|
3293
|
+
# 充值记录列表
|
3294
|
+
class RechargeRecord < TencentCloud::Common::AbstractModel
|
3295
|
+
# @param WaterId: 流水记录号。
|
3296
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3297
|
+
# @type WaterId: Integer
|
3298
|
+
# @param BalanceBeforeRecharge: 充值前的余额,单位0.01元。
|
3299
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3300
|
+
# @type BalanceBeforeRecharge: Integer
|
3301
|
+
# @param Money: 充值金额,单位0.01元。
|
3302
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3303
|
+
# @type Money: Integer
|
3304
|
+
# @param OperateTime: 充值时间, UTC值。
|
3305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3306
|
+
# @type OperateTime: Integer
|
3307
|
+
|
3308
|
+
attr_accessor :WaterId, :BalanceBeforeRecharge, :Money, :OperateTime
|
3309
|
+
|
3310
|
+
def initialize(waterid=nil, balancebeforerecharge=nil, money=nil, operatetime=nil)
|
3311
|
+
@WaterId = waterid
|
3312
|
+
@BalanceBeforeRecharge = balancebeforerecharge
|
3313
|
+
@Money = money
|
3314
|
+
@OperateTime = operatetime
|
3315
|
+
end
|
3316
|
+
|
3317
|
+
def deserialize(params)
|
3318
|
+
@WaterId = params['WaterId']
|
3319
|
+
@BalanceBeforeRecharge = params['BalanceBeforeRecharge']
|
3320
|
+
@Money = params['Money']
|
3321
|
+
@OperateTime = params['OperateTime']
|
3322
|
+
end
|
3323
|
+
end
|
3324
|
+
|
3325
|
+
# RefundStorageService请求参数结构体
|
3326
|
+
class RefundStorageServiceRequest < TencentCloud::Common::AbstractModel
|
3327
|
+
# @param ServiceId: 云存服务ID
|
3328
|
+
# @type ServiceId: String
|
3329
|
+
# @param OrderId: 云存子订单ID。如果指定子订单ID,则仅退订该子订单,如果未指定子定单ID,则退订所有子订单
|
3330
|
+
# @type OrderId: String
|
3331
|
+
|
3332
|
+
attr_accessor :ServiceId, :OrderId
|
3333
|
+
|
3334
|
+
def initialize(serviceid=nil, orderid=nil)
|
3335
|
+
@ServiceId = serviceid
|
3336
|
+
@OrderId = orderid
|
3337
|
+
end
|
3338
|
+
|
3339
|
+
def deserialize(params)
|
3340
|
+
@ServiceId = params['ServiceId']
|
3341
|
+
@OrderId = params['OrderId']
|
3342
|
+
end
|
3343
|
+
end
|
3344
|
+
|
3345
|
+
# RefundStorageService返回参数结构体
|
3346
|
+
class RefundStorageServiceResponse < TencentCloud::Common::AbstractModel
|
3347
|
+
# @param ServiceId: 云存服务ID
|
3348
|
+
# @type ServiceId: String
|
3349
|
+
# @param StorageRegion: 云存服务所在的区域
|
3350
|
+
# @type StorageRegion: String
|
3351
|
+
# @param Tid: 设备TID
|
3352
|
+
# @type Tid: String
|
3353
|
+
# @param ChnNum: 视频流通道号。(对于存在多路视频流的设备,如NVR设备,与设备实际视频流通道号对应)
|
3354
|
+
# @type ChnNum: Integer
|
3355
|
+
# @param AccessId: 终端用户在IoT Video平台的注册ID
|
3356
|
+
# @type AccessId: String
|
3357
|
+
# @param StartTime: 服务开始时间
|
3358
|
+
# @type StartTime: Integer
|
3359
|
+
# @param EndTime: 服务失效时间
|
3360
|
+
# @type EndTime: Integer
|
3361
|
+
# @param Status: 服务状态
|
3362
|
+
# 1:正常使用中
|
3363
|
+
# 2:待续费。设备云存服务已到期,但是历史云存数据未过期。续费后仍可查看这些历史数据。
|
3364
|
+
# 3:已过期。查询不到设备保存在云端的数据。
|
3365
|
+
# 4:等待服务生效。
|
3366
|
+
# @type Status: Integer
|
3367
|
+
# @param Data: 有效云存定单列表
|
3368
|
+
# @type Data: Array
|
3369
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3370
|
+
# @type RequestId: String
|
3371
|
+
|
3372
|
+
attr_accessor :ServiceId, :StorageRegion, :Tid, :ChnNum, :AccessId, :StartTime, :EndTime, :Status, :Data, :RequestId
|
3373
|
+
|
3374
|
+
def initialize(serviceid=nil, storageregion=nil, tid=nil, chnnum=nil, accessid=nil, starttime=nil, endtime=nil, status=nil, data=nil, requestid=nil)
|
3375
|
+
@ServiceId = serviceid
|
3376
|
+
@StorageRegion = storageregion
|
3377
|
+
@Tid = tid
|
3378
|
+
@ChnNum = chnnum
|
3379
|
+
@AccessId = accessid
|
3380
|
+
@StartTime = starttime
|
3381
|
+
@EndTime = endtime
|
3382
|
+
@Status = status
|
3383
|
+
@Data = data
|
3384
|
+
@RequestId = requestid
|
3385
|
+
end
|
3386
|
+
|
3387
|
+
def deserialize(params)
|
3388
|
+
@ServiceId = params['ServiceId']
|
3389
|
+
@StorageRegion = params['StorageRegion']
|
3390
|
+
@Tid = params['Tid']
|
3391
|
+
@ChnNum = params['ChnNum']
|
3392
|
+
@AccessId = params['AccessId']
|
3393
|
+
@StartTime = params['StartTime']
|
3394
|
+
@EndTime = params['EndTime']
|
3395
|
+
@Status = params['Status']
|
3396
|
+
unless params['Data'].nil?
|
3397
|
+
@Data = []
|
3398
|
+
params['Data'].each do |i|
|
3399
|
+
storageorder_tmp = StorageOrder.new
|
3400
|
+
storageorder_tmp.deserialize(i)
|
3401
|
+
@Data << storageorder_tmp
|
3402
|
+
end
|
3403
|
+
end
|
3404
|
+
@RequestId = params['RequestId']
|
3405
|
+
end
|
3406
|
+
end
|
3407
|
+
|
3408
|
+
# 终端用户注册状态
|
3409
|
+
class RegisteredStatus < TencentCloud::Common::AbstractModel
|
3410
|
+
# @param CunionId: 终端用户的唯一ID
|
3411
|
+
# @type CunionId: String
|
3412
|
+
# @param IsRegisted: 注册状态
|
3413
|
+
# @type IsRegisted: Boolean
|
3414
|
+
|
3415
|
+
attr_accessor :CunionId, :IsRegisted
|
3416
|
+
|
3417
|
+
def initialize(cunionid=nil, isregisted=nil)
|
3418
|
+
@CunionId = cunionid
|
3419
|
+
@IsRegisted = isregisted
|
3420
|
+
end
|
3421
|
+
|
3422
|
+
def deserialize(params)
|
3423
|
+
@CunionId = params['CunionId']
|
3424
|
+
@IsRegisted = params['IsRegisted']
|
3425
|
+
end
|
3426
|
+
end
|
3427
|
+
|
3428
|
+
# RunDevice请求参数结构体
|
3429
|
+
class RunDeviceRequest < TencentCloud::Common::AbstractModel
|
3430
|
+
# @param Tids: TID列表 ≤100
|
3431
|
+
# @type Tids: Array
|
3432
|
+
|
3433
|
+
attr_accessor :Tids
|
3434
|
+
|
3435
|
+
def initialize(tids=nil)
|
3436
|
+
@Tids = tids
|
3437
|
+
end
|
3438
|
+
|
3439
|
+
def deserialize(params)
|
3440
|
+
@Tids = params['Tids']
|
3441
|
+
end
|
3442
|
+
end
|
3443
|
+
|
3444
|
+
# RunDevice返回参数结构体
|
3445
|
+
class RunDeviceResponse < TencentCloud::Common::AbstractModel
|
3446
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3447
|
+
# @type RequestId: String
|
3448
|
+
|
3449
|
+
attr_accessor :RequestId
|
3450
|
+
|
3451
|
+
def initialize(requestid=nil)
|
3452
|
+
@RequestId = requestid
|
3453
|
+
end
|
3454
|
+
|
3455
|
+
def deserialize(params)
|
3456
|
+
@RequestId = params['RequestId']
|
3457
|
+
end
|
3458
|
+
end
|
3459
|
+
|
3460
|
+
# RunDeviceStream请求参数结构体
|
3461
|
+
class RunDeviceStreamRequest < TencentCloud::Common::AbstractModel
|
3462
|
+
# @param Tids: 设备TID 列表
|
3463
|
+
# @type Tids: Array
|
3464
|
+
|
3465
|
+
attr_accessor :Tids
|
3466
|
+
|
3467
|
+
def initialize(tids=nil)
|
3468
|
+
@Tids = tids
|
3469
|
+
end
|
3470
|
+
|
3471
|
+
def deserialize(params)
|
3472
|
+
@Tids = params['Tids']
|
3473
|
+
end
|
3474
|
+
end
|
3475
|
+
|
3476
|
+
# RunDeviceStream返回参数结构体
|
3477
|
+
class RunDeviceStreamResponse < TencentCloud::Common::AbstractModel
|
3478
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3479
|
+
# @type RequestId: String
|
3480
|
+
|
3481
|
+
attr_accessor :RequestId
|
3482
|
+
|
3483
|
+
def initialize(requestid=nil)
|
3484
|
+
@RequestId = requestid
|
3485
|
+
end
|
3486
|
+
|
3487
|
+
def deserialize(params)
|
3488
|
+
@RequestId = params['RequestId']
|
3489
|
+
end
|
3490
|
+
end
|
3491
|
+
|
3492
|
+
# RunIotModel请求参数结构体
|
3493
|
+
class RunIotModelRequest < TencentCloud::Common::AbstractModel
|
3494
|
+
# @param ProductId: 产品ID
|
3495
|
+
# @type ProductId: String
|
3496
|
+
# @param IotModel: 物模型定义,json格式的字符串
|
3497
|
+
# @type IotModel: String
|
3498
|
+
|
3499
|
+
attr_accessor :ProductId, :IotModel
|
3500
|
+
|
3501
|
+
def initialize(productid=nil, iotmodel=nil)
|
3502
|
+
@ProductId = productid
|
3503
|
+
@IotModel = iotmodel
|
3504
|
+
end
|
3505
|
+
|
3506
|
+
def deserialize(params)
|
3507
|
+
@ProductId = params['ProductId']
|
3508
|
+
@IotModel = params['IotModel']
|
3509
|
+
end
|
3510
|
+
end
|
3511
|
+
|
3512
|
+
# RunIotModel返回参数结构体
|
3513
|
+
class RunIotModelResponse < TencentCloud::Common::AbstractModel
|
3514
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3515
|
+
# @type RequestId: String
|
3516
|
+
|
3517
|
+
attr_accessor :RequestId
|
3518
|
+
|
3519
|
+
def initialize(requestid=nil)
|
3520
|
+
@RequestId = requestid
|
3521
|
+
end
|
3522
|
+
|
3523
|
+
def deserialize(params)
|
3524
|
+
@RequestId = params['RequestId']
|
3525
|
+
end
|
3526
|
+
end
|
3527
|
+
|
3528
|
+
# RunOtaVersion请求参数结构体
|
3529
|
+
class RunOtaVersionRequest < TencentCloud::Common::AbstractModel
|
3530
|
+
# @param ProductId: 产品ID
|
3531
|
+
# @type ProductId: String
|
3532
|
+
# @param OtaVersion: 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
|
3533
|
+
# @type OtaVersion: String
|
3534
|
+
# @param GrayValue: 灰度值,取值范围0-100,为0时相当于暂停发布
|
3535
|
+
# @type GrayValue: Integer
|
3536
|
+
# @param OldVersions: 指定的旧版本
|
3537
|
+
# @type OldVersions: Array
|
3538
|
+
# @param Operator: 操作人
|
3539
|
+
# @type Operator: String
|
3540
|
+
# @param Remark: 备注信息
|
3541
|
+
# @type Remark: String
|
3542
|
+
# @param Contents: 版本发布的描述信息,需要国际化,可以为空
|
3543
|
+
# @type Contents: :class:`Tencentcloud::Iotvideo.v20191126.models.Contents`
|
3544
|
+
|
3545
|
+
attr_accessor :ProductId, :OtaVersion, :GrayValue, :OldVersions, :Operator, :Remark, :Contents
|
3546
|
+
|
3547
|
+
def initialize(productid=nil, otaversion=nil, grayvalue=nil, oldversions=nil, operator=nil, remark=nil, contents=nil)
|
3548
|
+
@ProductId = productid
|
3549
|
+
@OtaVersion = otaversion
|
3550
|
+
@GrayValue = grayvalue
|
3551
|
+
@OldVersions = oldversions
|
3552
|
+
@Operator = operator
|
3553
|
+
@Remark = remark
|
3554
|
+
@Contents = contents
|
3555
|
+
end
|
3556
|
+
|
3557
|
+
def deserialize(params)
|
3558
|
+
@ProductId = params['ProductId']
|
3559
|
+
@OtaVersion = params['OtaVersion']
|
3560
|
+
@GrayValue = params['GrayValue']
|
3561
|
+
@OldVersions = params['OldVersions']
|
3562
|
+
@Operator = params['Operator']
|
3563
|
+
@Remark = params['Remark']
|
3564
|
+
unless params['Contents'].nil?
|
3565
|
+
@Contents = Contents.new
|
3566
|
+
@Contents.deserialize(params['Contents'])
|
3567
|
+
end
|
3568
|
+
end
|
3569
|
+
end
|
3570
|
+
|
3571
|
+
# RunOtaVersion返回参数结构体
|
3572
|
+
class RunOtaVersionResponse < TencentCloud::Common::AbstractModel
|
3573
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3574
|
+
# @type RequestId: String
|
3575
|
+
|
3576
|
+
attr_accessor :RequestId
|
3577
|
+
|
3578
|
+
def initialize(requestid=nil)
|
3579
|
+
@RequestId = requestid
|
3580
|
+
end
|
3581
|
+
|
3582
|
+
def deserialize(params)
|
3583
|
+
@RequestId = params['RequestId']
|
3584
|
+
end
|
3585
|
+
end
|
3586
|
+
|
3587
|
+
# RunTestOtaVersion请求参数结构体
|
3588
|
+
class RunTestOtaVersionRequest < TencentCloud::Common::AbstractModel
|
3589
|
+
# @param ProductId: 产品ID
|
3590
|
+
# @type ProductId: String
|
3591
|
+
# @param OtaVersion: 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
|
3592
|
+
# @type OtaVersion: String
|
3593
|
+
# @param Tids: 指定可升级的设备TID
|
3594
|
+
# @type Tids: Array
|
3595
|
+
# @param Operator: 操作人
|
3596
|
+
# @type Operator: String
|
3597
|
+
# @param Remark: 备注信息
|
3598
|
+
# @type Remark: String
|
3599
|
+
|
3600
|
+
attr_accessor :ProductId, :OtaVersion, :Tids, :Operator, :Remark
|
3601
|
+
|
3602
|
+
def initialize(productid=nil, otaversion=nil, tids=nil, operator=nil, remark=nil)
|
3603
|
+
@ProductId = productid
|
3604
|
+
@OtaVersion = otaversion
|
3605
|
+
@Tids = tids
|
3606
|
+
@Operator = operator
|
3607
|
+
@Remark = remark
|
3608
|
+
end
|
3609
|
+
|
3610
|
+
def deserialize(params)
|
3611
|
+
@ProductId = params['ProductId']
|
3612
|
+
@OtaVersion = params['OtaVersion']
|
3613
|
+
@Tids = params['Tids']
|
3614
|
+
@Operator = params['Operator']
|
3615
|
+
@Remark = params['Remark']
|
3616
|
+
end
|
3617
|
+
end
|
3618
|
+
|
3619
|
+
# RunTestOtaVersion返回参数结构体
|
3620
|
+
class RunTestOtaVersionResponse < TencentCloud::Common::AbstractModel
|
3621
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3622
|
+
# @type RequestId: String
|
3623
|
+
|
3624
|
+
attr_accessor :RequestId
|
3625
|
+
|
3626
|
+
def initialize(requestid=nil)
|
3627
|
+
@RequestId = requestid
|
3628
|
+
end
|
3629
|
+
|
3630
|
+
def deserialize(params)
|
3631
|
+
@RequestId = params['RequestId']
|
3632
|
+
end
|
3633
|
+
end
|
3634
|
+
|
3635
|
+
# SendOnlineMsg请求参数结构体
|
3636
|
+
class SendOnlineMsgRequest < TencentCloud::Common::AbstractModel
|
3637
|
+
# @param Tid: 设备TID
|
3638
|
+
# @type Tid: String
|
3639
|
+
# @param Wakeup: 如果设备处于休眠状态,是否唤醒设备
|
3640
|
+
# @type Wakeup: Boolean
|
3641
|
+
# @param WaitResp: 等待回应类型
|
3642
|
+
# 0:不等待设备回应直接响应请求;
|
3643
|
+
# 1:要求设备确认消息已接收,或等待超时后返回;
|
3644
|
+
# 2:要求设备进行响应处理,收到设备的响应数据后,将设备响应数据回应给请求方;
|
3645
|
+
# @type WaitResp: Integer
|
3646
|
+
# @param MsgTopic: 消息主题
|
3647
|
+
# @type MsgTopic: String
|
3648
|
+
# @param MsgContent: 消息内容,最大长度不超过8k字节
|
3649
|
+
# @type MsgContent: String
|
3650
|
+
|
3651
|
+
attr_accessor :Tid, :Wakeup, :WaitResp, :MsgTopic, :MsgContent
|
3652
|
+
|
3653
|
+
def initialize(tid=nil, wakeup=nil, waitresp=nil, msgtopic=nil, msgcontent=nil)
|
3654
|
+
@Tid = tid
|
3655
|
+
@Wakeup = wakeup
|
3656
|
+
@WaitResp = waitresp
|
3657
|
+
@MsgTopic = msgtopic
|
3658
|
+
@MsgContent = msgcontent
|
3659
|
+
end
|
3660
|
+
|
3661
|
+
def deserialize(params)
|
3662
|
+
@Tid = params['Tid']
|
3663
|
+
@Wakeup = params['Wakeup']
|
3664
|
+
@WaitResp = params['WaitResp']
|
3665
|
+
@MsgTopic = params['MsgTopic']
|
3666
|
+
@MsgContent = params['MsgContent']
|
3667
|
+
end
|
3668
|
+
end
|
3669
|
+
|
3670
|
+
# SendOnlineMsg返回参数结构体
|
3671
|
+
class SendOnlineMsgResponse < TencentCloud::Common::AbstractModel
|
3672
|
+
# @param TaskId: 若返回此项则表明需要用户用此taskID进行查询请求是否成功(只有waitresp不等于0的情况下才可能会返回该taskID项)
|
3673
|
+
# @type TaskId: String
|
3674
|
+
# @param Data: 设备响应信息
|
3675
|
+
# @type Data: String
|
3676
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3677
|
+
# @type RequestId: String
|
3678
|
+
|
3679
|
+
attr_accessor :TaskId, :Data, :RequestId
|
3680
|
+
|
3681
|
+
def initialize(taskid=nil, data=nil, requestid=nil)
|
3682
|
+
@TaskId = taskid
|
3683
|
+
@Data = data
|
3684
|
+
@RequestId = requestid
|
3685
|
+
end
|
3686
|
+
|
3687
|
+
def deserialize(params)
|
3688
|
+
@TaskId = params['TaskId']
|
3689
|
+
@Data = params['Data']
|
3690
|
+
@RequestId = params['RequestId']
|
3691
|
+
end
|
3692
|
+
end
|
3693
|
+
|
3694
|
+
# SetMessageQueue请求参数结构体
|
3695
|
+
class SetMessageQueueRequest < TencentCloud::Common::AbstractModel
|
3696
|
+
# @param ProductId: 产品ID
|
3697
|
+
# @type ProductId: String
|
3698
|
+
# @param MsgQueueType: 消息队列类型 1-CMQ; 2-Ckafka
|
3699
|
+
# @type MsgQueueType: Integer
|
3700
|
+
# @param MsgType: 消息类型,整型值(0-31)之间以“,”分隔
|
3701
|
+
# 0.设备在线状态变更
|
3702
|
+
# 1.常亮属性(ProConst)变更
|
3703
|
+
# 2.可写属性(ProWritable)变更
|
3704
|
+
# 3.只读属性(ProReadonly)变更
|
3705
|
+
# 4.设备控制(Action)
|
3706
|
+
# 5.设备事件(Event)
|
3707
|
+
# 6.系统事件(System)
|
3708
|
+
# @type MsgType: String
|
3709
|
+
# @param Topic: 消息队列主题,不超过32字符
|
3710
|
+
# @type Topic: String
|
3711
|
+
# @param Instance: kafka消息队列的实例名,不超过64字符
|
3712
|
+
# @type Instance: String
|
3713
|
+
# @param MsgRegion: 消息地域,不超过32字符
|
3714
|
+
# @type MsgRegion: String
|
3715
|
+
|
3716
|
+
attr_accessor :ProductId, :MsgQueueType, :MsgType, :Topic, :Instance, :MsgRegion
|
3717
|
+
|
3718
|
+
def initialize(productid=nil, msgqueuetype=nil, msgtype=nil, topic=nil, instance=nil, msgregion=nil)
|
3719
|
+
@ProductId = productid
|
3720
|
+
@MsgQueueType = msgqueuetype
|
3721
|
+
@MsgType = msgtype
|
3722
|
+
@Topic = topic
|
3723
|
+
@Instance = instance
|
3724
|
+
@MsgRegion = msgregion
|
3725
|
+
end
|
3726
|
+
|
3727
|
+
def deserialize(params)
|
3728
|
+
@ProductId = params['ProductId']
|
3729
|
+
@MsgQueueType = params['MsgQueueType']
|
3730
|
+
@MsgType = params['MsgType']
|
3731
|
+
@Topic = params['Topic']
|
3732
|
+
@Instance = params['Instance']
|
3733
|
+
@MsgRegion = params['MsgRegion']
|
3734
|
+
end
|
3735
|
+
end
|
3736
|
+
|
3737
|
+
# SetMessageQueue返回参数结构体
|
3738
|
+
class SetMessageQueueResponse < TencentCloud::Common::AbstractModel
|
3739
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3740
|
+
# @type RequestId: String
|
3741
|
+
|
3742
|
+
attr_accessor :RequestId
|
3743
|
+
|
3744
|
+
def initialize(requestid=nil)
|
3745
|
+
@RequestId = requestid
|
3746
|
+
end
|
3747
|
+
|
3748
|
+
def deserialize(params)
|
3749
|
+
@RequestId = params['RequestId']
|
3750
|
+
end
|
3751
|
+
end
|
3752
|
+
|
3753
|
+
# 云存订单信息
|
3754
|
+
class StorageOrder < TencentCloud::Common::AbstractModel
|
3755
|
+
# @param OrderId: 定单唯一性ID
|
3756
|
+
# @type OrderId: String
|
3757
|
+
# @param PkgId: 云存套餐ID
|
3758
|
+
# @type PkgId: String
|
3759
|
+
# @param Status: 定单服务状态
|
3760
|
+
# 1;订单正在使用。
|
3761
|
+
# 2:订单未开始。
|
3762
|
+
# 3:订单已经使用过,现在暂时未开始使用(该订单从其他服务转移而来)。
|
3763
|
+
# 4:订单已过期。
|
3764
|
+
# 5:订单已被退订。
|
3765
|
+
# 6:定单已被转移到其他云存服务。
|
3766
|
+
# @type Status: Integer
|
3767
|
+
# @param StartTime: 定单服务生效时间
|
3768
|
+
# @type StartTime: Integer
|
3769
|
+
# @param EndTime: 定单服务失效时间
|
3770
|
+
# @type EndTime: Integer
|
3771
|
+
|
3772
|
+
attr_accessor :OrderId, :PkgId, :Status, :StartTime, :EndTime
|
3773
|
+
|
3774
|
+
def initialize(orderid=nil, pkgid=nil, status=nil, starttime=nil, endtime=nil)
|
3775
|
+
@OrderId = orderid
|
3776
|
+
@PkgId = pkgid
|
3777
|
+
@Status = status
|
3778
|
+
@StartTime = starttime
|
3779
|
+
@EndTime = endtime
|
3780
|
+
end
|
3781
|
+
|
3782
|
+
def deserialize(params)
|
3783
|
+
@OrderId = params['OrderId']
|
3784
|
+
@PkgId = params['PkgId']
|
3785
|
+
@Status = params['Status']
|
3786
|
+
@StartTime = params['StartTime']
|
3787
|
+
@EndTime = params['EndTime']
|
3788
|
+
end
|
3789
|
+
end
|
3790
|
+
|
3791
|
+
# 系统类型
|
3792
|
+
class SystemType < TencentCloud::Common::AbstractModel
|
3793
|
+
# @param Android: 安卓系统
|
3794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3795
|
+
# @type Android: Array
|
3796
|
+
# @param Linux: linux系统
|
3797
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3798
|
+
# @type Linux: Array
|
3799
|
+
# @param LiteOs: LiteOs系统
|
3800
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3801
|
+
# @type LiteOs: Array
|
3802
|
+
|
3803
|
+
attr_accessor :Android, :Linux, :LiteOs
|
3804
|
+
|
3805
|
+
def initialize(android=nil, linux=nil, liteos=nil)
|
3806
|
+
@Android = android
|
3807
|
+
@Linux = linux
|
3808
|
+
@LiteOs = liteos
|
3809
|
+
end
|
3810
|
+
|
3811
|
+
def deserialize(params)
|
3812
|
+
unless params['Android'].nil?
|
3813
|
+
@Android = []
|
3814
|
+
params['Android'].each do |i|
|
3815
|
+
osdata_tmp = OsData.new
|
3816
|
+
osdata_tmp.deserialize(i)
|
3817
|
+
@Android << osdata_tmp
|
3818
|
+
end
|
3819
|
+
end
|
3820
|
+
unless params['Linux'].nil?
|
3821
|
+
@Linux = []
|
3822
|
+
params['Linux'].each do |i|
|
3823
|
+
osdata_tmp = OsData.new
|
3824
|
+
osdata_tmp.deserialize(i)
|
3825
|
+
@Linux << osdata_tmp
|
3826
|
+
end
|
3827
|
+
end
|
3828
|
+
unless params['LiteOs'].nil?
|
3829
|
+
@LiteOs = []
|
3830
|
+
params['LiteOs'].each do |i|
|
3831
|
+
osdata_tmp = OsData.new
|
3832
|
+
osdata_tmp.deserialize(i)
|
3833
|
+
@LiteOs << osdata_tmp
|
3834
|
+
end
|
3835
|
+
end
|
3836
|
+
end
|
3837
|
+
end
|
3838
|
+
|
3839
|
+
# 布尔值,标识指定设备是否在白名单中
|
3840
|
+
class TraceStatus < TencentCloud::Common::AbstractModel
|
3841
|
+
# @param Tid: 设备TID
|
3842
|
+
# @type Tid: String
|
3843
|
+
# @param IsExist: 设备追踪状态
|
3844
|
+
# @type IsExist: Boolean
|
3845
|
+
|
3846
|
+
attr_accessor :Tid, :IsExist
|
3847
|
+
|
3848
|
+
def initialize(tid=nil, isexist=nil)
|
3849
|
+
@Tid = tid
|
3850
|
+
@IsExist = isexist
|
3851
|
+
end
|
3852
|
+
|
3853
|
+
def deserialize(params)
|
3854
|
+
@Tid = params['Tid']
|
3855
|
+
@IsExist = params['IsExist']
|
3856
|
+
end
|
3857
|
+
end
|
3858
|
+
|
3859
|
+
# UpgradeDevice请求参数结构体
|
3860
|
+
class UpgradeDeviceRequest < TencentCloud::Common::AbstractModel
|
3861
|
+
# @param Tid: 设备TID
|
3862
|
+
# @type Tid: String
|
3863
|
+
# @param OtaVersion: 固件版本号
|
3864
|
+
# @type OtaVersion: String
|
3865
|
+
# @param UpgradeNow: 是否立即升级
|
3866
|
+
# @type UpgradeNow: Boolean
|
3867
|
+
|
3868
|
+
attr_accessor :Tid, :OtaVersion, :UpgradeNow
|
3869
|
+
|
3870
|
+
def initialize(tid=nil, otaversion=nil, upgradenow=nil)
|
3871
|
+
@Tid = tid
|
3872
|
+
@OtaVersion = otaversion
|
3873
|
+
@UpgradeNow = upgradenow
|
3874
|
+
end
|
3875
|
+
|
3876
|
+
def deserialize(params)
|
3877
|
+
@Tid = params['Tid']
|
3878
|
+
@OtaVersion = params['OtaVersion']
|
3879
|
+
@UpgradeNow = params['UpgradeNow']
|
3880
|
+
end
|
3881
|
+
end
|
3882
|
+
|
3883
|
+
# UpgradeDevice返回参数结构体
|
3884
|
+
class UpgradeDeviceResponse < TencentCloud::Common::AbstractModel
|
3885
|
+
# @param Data: 设备端返回的数据
|
3886
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3887
|
+
# @type Data: String
|
3888
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3889
|
+
# @type RequestId: String
|
3890
|
+
|
3891
|
+
attr_accessor :Data, :RequestId
|
3892
|
+
|
3893
|
+
def initialize(data=nil, requestid=nil)
|
3894
|
+
@Data = data
|
3895
|
+
@RequestId = requestid
|
3896
|
+
end
|
3897
|
+
|
3898
|
+
def deserialize(params)
|
3899
|
+
@Data = params['Data']
|
3900
|
+
@RequestId = params['RequestId']
|
3901
|
+
end
|
3902
|
+
end
|
3903
|
+
|
3904
|
+
# UploadOtaVersion请求参数结构体
|
3905
|
+
class UploadOtaVersionRequest < TencentCloud::Common::AbstractModel
|
3906
|
+
# @param ProductId: 产品ID
|
3907
|
+
# @type ProductId: String
|
3908
|
+
# @param OtaVersion: 固件版本号,格式为x.y.z, x,y 范围0-63,z范围1~524288
|
3909
|
+
# @type OtaVersion: String
|
3910
|
+
# @param VersionUrl: 固件版本URL
|
3911
|
+
# @type VersionUrl: String
|
3912
|
+
# @param FileSize: 文件大小,单位:byte
|
3913
|
+
# @type FileSize: Integer
|
3914
|
+
# @param Md5: 文件md5校验码(32字符)
|
3915
|
+
# @type Md5: String
|
3916
|
+
# @param Operator: 操作人
|
3917
|
+
# @type Operator: String
|
3918
|
+
# @param Remark: 备注信息
|
3919
|
+
# @type Remark: String
|
3920
|
+
# @param Contents: 版本发布的描述信息,需要国际化,可以为空
|
3921
|
+
# @type Contents: :class:`Tencentcloud::Iotvideo.v20191126.models.Contents`
|
3922
|
+
|
3923
|
+
attr_accessor :ProductId, :OtaVersion, :VersionUrl, :FileSize, :Md5, :Operator, :Remark, :Contents
|
3924
|
+
|
3925
|
+
def initialize(productid=nil, otaversion=nil, versionurl=nil, filesize=nil, md5=nil, operator=nil, remark=nil, contents=nil)
|
3926
|
+
@ProductId = productid
|
3927
|
+
@OtaVersion = otaversion
|
3928
|
+
@VersionUrl = versionurl
|
3929
|
+
@FileSize = filesize
|
3930
|
+
@Md5 = md5
|
3931
|
+
@Operator = operator
|
3932
|
+
@Remark = remark
|
3933
|
+
@Contents = contents
|
3934
|
+
end
|
3935
|
+
|
3936
|
+
def deserialize(params)
|
3937
|
+
@ProductId = params['ProductId']
|
3938
|
+
@OtaVersion = params['OtaVersion']
|
3939
|
+
@VersionUrl = params['VersionUrl']
|
3940
|
+
@FileSize = params['FileSize']
|
3941
|
+
@Md5 = params['Md5']
|
3942
|
+
@Operator = params['Operator']
|
3943
|
+
@Remark = params['Remark']
|
3944
|
+
unless params['Contents'].nil?
|
3945
|
+
@Contents = Contents.new
|
3946
|
+
@Contents.deserialize(params['Contents'])
|
3947
|
+
end
|
3948
|
+
end
|
3949
|
+
end
|
3950
|
+
|
3951
|
+
# UploadOtaVersion返回参数结构体
|
3952
|
+
class UploadOtaVersionResponse < TencentCloud::Common::AbstractModel
|
3953
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3954
|
+
# @type RequestId: String
|
3955
|
+
|
3956
|
+
attr_accessor :RequestId
|
3957
|
+
|
3958
|
+
def initialize(requestid=nil)
|
3959
|
+
@RequestId = requestid
|
3960
|
+
end
|
3961
|
+
|
3962
|
+
def deserialize(params)
|
3963
|
+
@RequestId = params['RequestId']
|
3964
|
+
end
|
3965
|
+
end
|
3966
|
+
|
3967
|
+
# 固件版本详细信息
|
3968
|
+
class VersionData < TencentCloud::Common::AbstractModel
|
3969
|
+
# @param ProductId: 产品ID
|
3970
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3971
|
+
# @type ProductId: String
|
3972
|
+
# @param OtaVersion: 固件版本号
|
3973
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3974
|
+
# @type OtaVersion: String
|
3975
|
+
# @param PubStatus: 版本类型 1未发布 2测试发布 3正式发布 4禁用
|
3976
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3977
|
+
# @type PubStatus: Integer
|
3978
|
+
# @param VersionUrl: 固件版本存储路径URL
|
3979
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3980
|
+
# @type VersionUrl: String
|
3981
|
+
# @param FileSize: 文件大小,byte
|
3982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3983
|
+
# @type FileSize: Integer
|
3984
|
+
# @param Md5: 文件校验码
|
3985
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3986
|
+
# @type Md5: String
|
3987
|
+
# @param OldVersions: 指定的允许升级的旧版本,PubStatus=3时有效
|
3988
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3989
|
+
# @type OldVersions: String
|
3990
|
+
# @param Tids: 指定的允许升级的旧设备id,PubStatus=2时有效
|
3991
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3992
|
+
# @type Tids: String
|
3993
|
+
# @param GrayValue: 灰度值(0-100),PubStatus=3时有效,表示n%的升级总量
|
3994
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3995
|
+
# @type GrayValue: Integer
|
3996
|
+
# @param PublishTime: 最近一次发布时间,UNIX时间戳,单位秒
|
3997
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3998
|
+
# @type PublishTime: Integer
|
3999
|
+
# @param ActiveCount: 此版本激活的设备总数
|
4000
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4001
|
+
# @type ActiveCount: Integer
|
4002
|
+
# @param OnlineCount: 此版本在线的设备总数
|
4003
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4004
|
+
# @type OnlineCount: Integer
|
4005
|
+
# @param UpdateTime: 上传固件文件的时间,UNIX时间戳,单位秒
|
4006
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4007
|
+
# @type UpdateTime: Integer
|
4008
|
+
# @param UploadTime: 发布记录的最后变更时间,UNIX时间戳,单位秒
|
4009
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4010
|
+
# @type UploadTime: Integer
|
4011
|
+
# @param ModifyTimes: 该固件版本发布的变更次数
|
4012
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4013
|
+
# @type ModifyTimes: Integer
|
4014
|
+
# @param Remark: 备注信息
|
4015
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4016
|
+
# @type Remark: String
|
4017
|
+
# @param Contents: 版本发布的描述信息,需要国际化,可以为空
|
4018
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4019
|
+
# @type Contents: :class:`Tencentcloud::Iotvideo.v20191126.models.Contents`
|
4020
|
+
# @param AliveInMonthCnt: 月活设备数,当月第一天开始有上线的设备数量。
|
4021
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4022
|
+
# @type AliveInMonthCnt: Integer
|
4023
|
+
|
4024
|
+
attr_accessor :ProductId, :OtaVersion, :PubStatus, :VersionUrl, :FileSize, :Md5, :OldVersions, :Tids, :GrayValue, :PublishTime, :ActiveCount, :OnlineCount, :UpdateTime, :UploadTime, :ModifyTimes, :Remark, :Contents, :AliveInMonthCnt
|
4025
|
+
|
4026
|
+
def initialize(productid=nil, otaversion=nil, pubstatus=nil, versionurl=nil, filesize=nil, md5=nil, oldversions=nil, tids=nil, grayvalue=nil, publishtime=nil, activecount=nil, onlinecount=nil, updatetime=nil, uploadtime=nil, modifytimes=nil, remark=nil, contents=nil, aliveinmonthcnt=nil)
|
4027
|
+
@ProductId = productid
|
4028
|
+
@OtaVersion = otaversion
|
4029
|
+
@PubStatus = pubstatus
|
4030
|
+
@VersionUrl = versionurl
|
4031
|
+
@FileSize = filesize
|
4032
|
+
@Md5 = md5
|
4033
|
+
@OldVersions = oldversions
|
4034
|
+
@Tids = tids
|
4035
|
+
@GrayValue = grayvalue
|
4036
|
+
@PublishTime = publishtime
|
4037
|
+
@ActiveCount = activecount
|
4038
|
+
@OnlineCount = onlinecount
|
4039
|
+
@UpdateTime = updatetime
|
4040
|
+
@UploadTime = uploadtime
|
4041
|
+
@ModifyTimes = modifytimes
|
4042
|
+
@Remark = remark
|
4043
|
+
@Contents = contents
|
4044
|
+
@AliveInMonthCnt = aliveinmonthcnt
|
4045
|
+
end
|
4046
|
+
|
4047
|
+
def deserialize(params)
|
4048
|
+
@ProductId = params['ProductId']
|
4049
|
+
@OtaVersion = params['OtaVersion']
|
4050
|
+
@PubStatus = params['PubStatus']
|
4051
|
+
@VersionUrl = params['VersionUrl']
|
4052
|
+
@FileSize = params['FileSize']
|
4053
|
+
@Md5 = params['Md5']
|
4054
|
+
@OldVersions = params['OldVersions']
|
4055
|
+
@Tids = params['Tids']
|
4056
|
+
@GrayValue = params['GrayValue']
|
4057
|
+
@PublishTime = params['PublishTime']
|
4058
|
+
@ActiveCount = params['ActiveCount']
|
4059
|
+
@OnlineCount = params['OnlineCount']
|
4060
|
+
@UpdateTime = params['UpdateTime']
|
4061
|
+
@UploadTime = params['UploadTime']
|
4062
|
+
@ModifyTimes = params['ModifyTimes']
|
4063
|
+
@Remark = params['Remark']
|
4064
|
+
unless params['Contents'].nil?
|
4065
|
+
@Contents = Contents.new
|
4066
|
+
@Contents.deserialize(params['Contents'])
|
4067
|
+
end
|
4068
|
+
@AliveInMonthCnt = params['AliveInMonthCnt']
|
4069
|
+
end
|
4070
|
+
end
|
4071
|
+
|
4072
|
+
end
|
4073
|
+
end
|
4074
|
+
end
|
4075
|
+
|