tencentcloud-sdk-iotexplorer 3.0.1138 → 3.0.1140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190423/client.rb +192 -0
- data/lib/v20190423/models.rb +637 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95a65f2d059bb81c671e195a5e8a7914c9f5e3c8
|
4
|
+
data.tar.gz: e3b3edfe5787f20ad742384c72507894e6f2b71b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f34a01c4e42d5da1111c68f9493ea5c1e88cd74311bd4d0759b3d190115ce91975deb61385f6968796e73e7ea894f8978787d8971b51d6dc96a4b0171916b16b
|
7
|
+
data.tar.gz: 2890efc6920c3b0927af5c3e04dc34b2a78dafdc0ae9f14fef4fd6c1117bae3220610b5bdf35aa623bc28e8f3249e4a1eb728c9606a3b82e746c18f381c1c872
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1140
|
data/lib/v20190423/client.rb
CHANGED
@@ -53,6 +53,30 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
+
# 本接口(BatchUpdateFirmware)用于批量更新设备固件
|
57
|
+
|
58
|
+
# @param request: Request instance for BatchUpdateFirmware.
|
59
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::BatchUpdateFirmwareRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::BatchUpdateFirmwareResponse`
|
61
|
+
def BatchUpdateFirmware(request)
|
62
|
+
body = send_request('BatchUpdateFirmware', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = BatchUpdateFirmwareResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
56
80
|
# 绑定云存用户
|
57
81
|
|
58
82
|
# @param request: Request instance for BindCloudStorageUser.
|
@@ -559,6 +583,30 @@ module TencentCloud
|
|
559
583
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
560
584
|
end
|
561
585
|
|
586
|
+
# 本接口(CreateOtaModule)用于新建OTA模块
|
587
|
+
|
588
|
+
# @param request: Request instance for CreateOtaModule.
|
589
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateOtaModuleRequest`
|
590
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateOtaModuleResponse`
|
591
|
+
def CreateOtaModule(request)
|
592
|
+
body = send_request('CreateOtaModule', request.serialize)
|
593
|
+
response = JSON.parse(body)
|
594
|
+
if response['Response'].key?('Error') == false
|
595
|
+
model = CreateOtaModuleResponse.new
|
596
|
+
model.deserialize(response['Response'])
|
597
|
+
model
|
598
|
+
else
|
599
|
+
code = response['Response']['Error']['Code']
|
600
|
+
message = response['Response']['Error']['Message']
|
601
|
+
reqid = response['Response']['RequestId']
|
602
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
603
|
+
end
|
604
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
605
|
+
raise e
|
606
|
+
rescue StandardError => e
|
607
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
608
|
+
end
|
609
|
+
|
562
610
|
# 创建围栏。
|
563
611
|
|
564
612
|
# @param request: Request instance for CreatePositionFence.
|
@@ -919,6 +967,30 @@ module TencentCloud
|
|
919
967
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
920
968
|
end
|
921
969
|
|
970
|
+
# 本接口(DeleteOtaModule)用于删除OTA模块
|
971
|
+
|
972
|
+
# @param request: Request instance for DeleteOtaModule.
|
973
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DeleteOtaModuleRequest`
|
974
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DeleteOtaModuleResponse`
|
975
|
+
def DeleteOtaModule(request)
|
976
|
+
body = send_request('DeleteOtaModule', request.serialize)
|
977
|
+
response = JSON.parse(body)
|
978
|
+
if response['Response'].key?('Error') == false
|
979
|
+
model = DeleteOtaModuleResponse.new
|
980
|
+
model.deserialize(response['Response'])
|
981
|
+
model
|
982
|
+
else
|
983
|
+
code = response['Response']['Error']['Code']
|
984
|
+
message = response['Response']['Error']['Message']
|
985
|
+
reqid = response['Response']['RequestId']
|
986
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
987
|
+
end
|
988
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
989
|
+
raise e
|
990
|
+
rescue StandardError => e
|
991
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
992
|
+
end
|
993
|
+
|
922
994
|
# 删除围栏。
|
923
995
|
|
924
996
|
# @param request: Request instance for DeletePositionFence.
|
@@ -1929,6 +2001,54 @@ module TencentCloud
|
|
1929
2001
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1930
2002
|
end
|
1931
2003
|
|
2004
|
+
# 查询固件升级任务的设备列表
|
2005
|
+
|
2006
|
+
# @param request: Request instance for DescribeFirmwareTaskDevices.
|
2007
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTaskDevicesRequest`
|
2008
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTaskDevicesResponse`
|
2009
|
+
def DescribeFirmwareTaskDevices(request)
|
2010
|
+
body = send_request('DescribeFirmwareTaskDevices', request.serialize)
|
2011
|
+
response = JSON.parse(body)
|
2012
|
+
if response['Response'].key?('Error') == false
|
2013
|
+
model = DescribeFirmwareTaskDevicesResponse.new
|
2014
|
+
model.deserialize(response['Response'])
|
2015
|
+
model
|
2016
|
+
else
|
2017
|
+
code = response['Response']['Error']['Code']
|
2018
|
+
message = response['Response']['Error']['Message']
|
2019
|
+
reqid = response['Response']['RequestId']
|
2020
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2021
|
+
end
|
2022
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2023
|
+
raise e
|
2024
|
+
rescue StandardError => e
|
2025
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2026
|
+
end
|
2027
|
+
|
2028
|
+
# 搜索固件升级任务列表
|
2029
|
+
|
2030
|
+
# @param request: Request instance for DescribeFirmwareTasks.
|
2031
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTasksRequest`
|
2032
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFirmwareTasksResponse`
|
2033
|
+
def DescribeFirmwareTasks(request)
|
2034
|
+
body = send_request('DescribeFirmwareTasks', request.serialize)
|
2035
|
+
response = JSON.parse(body)
|
2036
|
+
if response['Response'].key?('Error') == false
|
2037
|
+
model = DescribeFirmwareTasksResponse.new
|
2038
|
+
model.deserialize(response['Response'])
|
2039
|
+
model
|
2040
|
+
else
|
2041
|
+
code = response['Response']['Error']['Code']
|
2042
|
+
message = response['Response']['Error']['Message']
|
2043
|
+
reqid = response['Response']['RequestId']
|
2044
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2045
|
+
end
|
2046
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2047
|
+
raise e
|
2048
|
+
rescue StandardError => e
|
2049
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2050
|
+
end
|
2051
|
+
|
1932
2052
|
# 本接口(DescribeFirmwareUpdateStatus)用于查询设备固件升级状态及进度。
|
1933
2053
|
|
1934
2054
|
# @param request: Request instance for DescribeFirmwareUpdateStatus.
|
@@ -3225,6 +3345,54 @@ module TencentCloud
|
|
3225
3345
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3226
3346
|
end
|
3227
3347
|
|
3348
|
+
# 本接口(ListOtaModules)用于获取OTA模块列表
|
3349
|
+
|
3350
|
+
# @param request: Request instance for ListOtaModules.
|
3351
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ListOtaModulesRequest`
|
3352
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ListOtaModulesResponse`
|
3353
|
+
def ListOtaModules(request)
|
3354
|
+
body = send_request('ListOtaModules', request.serialize)
|
3355
|
+
response = JSON.parse(body)
|
3356
|
+
if response['Response'].key?('Error') == false
|
3357
|
+
model = ListOtaModulesResponse.new
|
3358
|
+
model.deserialize(response['Response'])
|
3359
|
+
model
|
3360
|
+
else
|
3361
|
+
code = response['Response']['Error']['Code']
|
3362
|
+
message = response['Response']['Error']['Message']
|
3363
|
+
reqid = response['Response']['RequestId']
|
3364
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3365
|
+
end
|
3366
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3367
|
+
raise e
|
3368
|
+
rescue StandardError => e
|
3369
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3370
|
+
end
|
3371
|
+
|
3372
|
+
# 本接口(ListProductOtaModules)用于获取产品OTA模块列表
|
3373
|
+
|
3374
|
+
# @param request: Request instance for ListProductOtaModules.
|
3375
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ListProductOtaModulesRequest`
|
3376
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ListProductOtaModulesResponse`
|
3377
|
+
def ListProductOtaModules(request)
|
3378
|
+
body = send_request('ListProductOtaModules', request.serialize)
|
3379
|
+
response = JSON.parse(body)
|
3380
|
+
if response['Response'].key?('Error') == false
|
3381
|
+
model = ListProductOtaModulesResponse.new
|
3382
|
+
model.deserialize(response['Response'])
|
3383
|
+
model
|
3384
|
+
else
|
3385
|
+
code = response['Response']['Error']['Code']
|
3386
|
+
message = response['Response']['Error']['Message']
|
3387
|
+
reqid = response['Response']['RequestId']
|
3388
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3389
|
+
end
|
3390
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3391
|
+
raise e
|
3392
|
+
rescue StandardError => e
|
3393
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3394
|
+
end
|
3395
|
+
|
3228
3396
|
# 本接口(ListTopicPolicy)用于获取Topic列表
|
3229
3397
|
|
3230
3398
|
# @param request: Request instance for ListTopicPolicy.
|
@@ -4189,6 +4357,30 @@ module TencentCloud
|
|
4189
4357
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4190
4358
|
end
|
4191
4359
|
|
4360
|
+
# 本接口(UpdateOtaModule)用于修改OTA模块
|
4361
|
+
|
4362
|
+
# @param request: Request instance for UpdateOtaModule.
|
4363
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::UpdateOtaModuleRequest`
|
4364
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::UpdateOtaModuleResponse`
|
4365
|
+
def UpdateOtaModule(request)
|
4366
|
+
body = send_request('UpdateOtaModule', request.serialize)
|
4367
|
+
response = JSON.parse(body)
|
4368
|
+
if response['Response'].key?('Error') == false
|
4369
|
+
model = UpdateOtaModuleResponse.new
|
4370
|
+
model.deserialize(response['Response'])
|
4371
|
+
model
|
4372
|
+
else
|
4373
|
+
code = response['Response']['Error']['Code']
|
4374
|
+
message = response['Response']['Error']['Message']
|
4375
|
+
reqid = response['Response']['RequestId']
|
4376
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4377
|
+
end
|
4378
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4379
|
+
raise e
|
4380
|
+
rescue StandardError => e
|
4381
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4382
|
+
end
|
4383
|
+
|
4192
4384
|
# 本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
4193
4385
|
|
4194
4386
|
# @param request: Request instance for UploadFirmware.
|
data/lib/v20190423/models.rb
CHANGED
@@ -295,6 +295,102 @@ module TencentCloud
|
|
295
295
|
end
|
296
296
|
end
|
297
297
|
|
298
|
+
# BatchUpdateFirmware请求参数结构体
|
299
|
+
class BatchUpdateFirmwareRequest < TencentCloud::Common::AbstractModel
|
300
|
+
# @param ProductID: 产品ID
|
301
|
+
# @type ProductID: String
|
302
|
+
# @param FirmwareVersion: 固件新版本号
|
303
|
+
# @type FirmwareVersion: String
|
304
|
+
# @param FirmwareOriVersion: 固件原版本号
|
305
|
+
# @type FirmwareOriVersion: String
|
306
|
+
# @param UpgradeMethod: 升级方式,0 静默升级 1 用户确认升级。 不填默认为静默升级方式
|
307
|
+
# @type UpgradeMethod: Integer
|
308
|
+
# @param FileName: 设备列表文件名称,根据文件列表升级固件需要填写此参数
|
309
|
+
# @type FileName: String
|
310
|
+
# @param FileMd5: 设备列表的文件md5值
|
311
|
+
# @type FileMd5: String
|
312
|
+
# @param FileSize: 设备列表的文件大小值
|
313
|
+
# @type FileSize: Integer
|
314
|
+
# @param DeviceNames: 需要升级的设备名称列表
|
315
|
+
# @type DeviceNames: Array
|
316
|
+
# @param TimeoutInterval: 固件升级任务,默认超时时间。 最小取值120秒,最大为900秒
|
317
|
+
# @type TimeoutInterval: Integer
|
318
|
+
# @param Type: 固件升级任务类型,默认静态升级值为空或1,动态升级值为7
|
319
|
+
# @type Type: Integer
|
320
|
+
# @param DelayTime: 任务延迟时间
|
321
|
+
# @type DelayTime: Integer
|
322
|
+
# @param OverrideMode: 是否覆盖,0不覆盖,1覆盖
|
323
|
+
# @type OverrideMode: Integer
|
324
|
+
# @param MaxRetryNum: 失败重试次数
|
325
|
+
# @type MaxRetryNum: Integer
|
326
|
+
# @param RetryInterval: 重试间隔min
|
327
|
+
# @type RetryInterval: Integer
|
328
|
+
# @param FwType: 固件模块
|
329
|
+
# @type FwType: String
|
330
|
+
# @param TaskUserDefine: 用户自定义信息
|
331
|
+
# @type TaskUserDefine: String
|
332
|
+
|
333
|
+
attr_accessor :ProductID, :FirmwareVersion, :FirmwareOriVersion, :UpgradeMethod, :FileName, :FileMd5, :FileSize, :DeviceNames, :TimeoutInterval, :Type, :DelayTime, :OverrideMode, :MaxRetryNum, :RetryInterval, :FwType, :TaskUserDefine
|
334
|
+
|
335
|
+
def initialize(productid=nil, firmwareversion=nil, firmwareoriversion=nil, upgrademethod=nil, filename=nil, filemd5=nil, filesize=nil, devicenames=nil, timeoutinterval=nil, type=nil, delaytime=nil, overridemode=nil, maxretrynum=nil, retryinterval=nil, fwtype=nil, taskuserdefine=nil)
|
336
|
+
@ProductID = productid
|
337
|
+
@FirmwareVersion = firmwareversion
|
338
|
+
@FirmwareOriVersion = firmwareoriversion
|
339
|
+
@UpgradeMethod = upgrademethod
|
340
|
+
@FileName = filename
|
341
|
+
@FileMd5 = filemd5
|
342
|
+
@FileSize = filesize
|
343
|
+
@DeviceNames = devicenames
|
344
|
+
@TimeoutInterval = timeoutinterval
|
345
|
+
@Type = type
|
346
|
+
@DelayTime = delaytime
|
347
|
+
@OverrideMode = overridemode
|
348
|
+
@MaxRetryNum = maxretrynum
|
349
|
+
@RetryInterval = retryinterval
|
350
|
+
@FwType = fwtype
|
351
|
+
@TaskUserDefine = taskuserdefine
|
352
|
+
end
|
353
|
+
|
354
|
+
def deserialize(params)
|
355
|
+
@ProductID = params['ProductID']
|
356
|
+
@FirmwareVersion = params['FirmwareVersion']
|
357
|
+
@FirmwareOriVersion = params['FirmwareOriVersion']
|
358
|
+
@UpgradeMethod = params['UpgradeMethod']
|
359
|
+
@FileName = params['FileName']
|
360
|
+
@FileMd5 = params['FileMd5']
|
361
|
+
@FileSize = params['FileSize']
|
362
|
+
@DeviceNames = params['DeviceNames']
|
363
|
+
@TimeoutInterval = params['TimeoutInterval']
|
364
|
+
@Type = params['Type']
|
365
|
+
@DelayTime = params['DelayTime']
|
366
|
+
@OverrideMode = params['OverrideMode']
|
367
|
+
@MaxRetryNum = params['MaxRetryNum']
|
368
|
+
@RetryInterval = params['RetryInterval']
|
369
|
+
@FwType = params['FwType']
|
370
|
+
@TaskUserDefine = params['TaskUserDefine']
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
# BatchUpdateFirmware返回参数结构体
|
375
|
+
class BatchUpdateFirmwareResponse < TencentCloud::Common::AbstractModel
|
376
|
+
# @param TaskId: 任务Id
|
377
|
+
# @type TaskId: Integer
|
378
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
379
|
+
# @type RequestId: String
|
380
|
+
|
381
|
+
attr_accessor :TaskId, :RequestId
|
382
|
+
|
383
|
+
def initialize(taskid=nil, requestid=nil)
|
384
|
+
@TaskId = taskid
|
385
|
+
@RequestId = requestid
|
386
|
+
end
|
387
|
+
|
388
|
+
def deserialize(params)
|
389
|
+
@TaskId = params['TaskId']
|
390
|
+
@RequestId = params['RequestId']
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
298
394
|
# BindCloudStorageUser请求参数结构体
|
299
395
|
class BindCloudStorageUserRequest < TencentCloud::Common::AbstractModel
|
300
396
|
# @param ProductId: 产品ID
|
@@ -1936,6 +2032,50 @@ module TencentCloud
|
|
1936
2032
|
end
|
1937
2033
|
end
|
1938
2034
|
|
2035
|
+
# CreateOtaModule请求参数结构体
|
2036
|
+
class CreateOtaModuleRequest < TencentCloud::Common::AbstractModel
|
2037
|
+
# @param ProductID: 产品ID
|
2038
|
+
# @type ProductID: String
|
2039
|
+
# @param FwType: 模块类型
|
2040
|
+
# @type FwType: String
|
2041
|
+
# @param Name: 模块类型名称
|
2042
|
+
# @type Name: String
|
2043
|
+
# @param Remark: 类型描述
|
2044
|
+
# @type Remark: String
|
2045
|
+
|
2046
|
+
attr_accessor :ProductID, :FwType, :Name, :Remark
|
2047
|
+
|
2048
|
+
def initialize(productid=nil, fwtype=nil, name=nil, remark=nil)
|
2049
|
+
@ProductID = productid
|
2050
|
+
@FwType = fwtype
|
2051
|
+
@Name = name
|
2052
|
+
@Remark = remark
|
2053
|
+
end
|
2054
|
+
|
2055
|
+
def deserialize(params)
|
2056
|
+
@ProductID = params['ProductID']
|
2057
|
+
@FwType = params['FwType']
|
2058
|
+
@Name = params['Name']
|
2059
|
+
@Remark = params['Remark']
|
2060
|
+
end
|
2061
|
+
end
|
2062
|
+
|
2063
|
+
# CreateOtaModule返回参数结构体
|
2064
|
+
class CreateOtaModuleResponse < TencentCloud::Common::AbstractModel
|
2065
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2066
|
+
# @type RequestId: String
|
2067
|
+
|
2068
|
+
attr_accessor :RequestId
|
2069
|
+
|
2070
|
+
def initialize(requestid=nil)
|
2071
|
+
@RequestId = requestid
|
2072
|
+
end
|
2073
|
+
|
2074
|
+
def deserialize(params)
|
2075
|
+
@RequestId = params['RequestId']
|
2076
|
+
end
|
2077
|
+
end
|
2078
|
+
|
1939
2079
|
# CreatePositionFence请求参数结构体
|
1940
2080
|
class CreatePositionFenceRequest < TencentCloud::Common::AbstractModel
|
1941
2081
|
# @param SpaceId: 位置空间Id
|
@@ -2692,6 +2832,42 @@ module TencentCloud
|
|
2692
2832
|
end
|
2693
2833
|
end
|
2694
2834
|
|
2835
|
+
# DeleteOtaModule请求参数结构体
|
2836
|
+
class DeleteOtaModuleRequest < TencentCloud::Common::AbstractModel
|
2837
|
+
# @param ProductID: 产品ID
|
2838
|
+
# @type ProductID: String
|
2839
|
+
# @param FwType: 模块类型
|
2840
|
+
# @type FwType: String
|
2841
|
+
|
2842
|
+
attr_accessor :ProductID, :FwType
|
2843
|
+
|
2844
|
+
def initialize(productid=nil, fwtype=nil)
|
2845
|
+
@ProductID = productid
|
2846
|
+
@FwType = fwtype
|
2847
|
+
end
|
2848
|
+
|
2849
|
+
def deserialize(params)
|
2850
|
+
@ProductID = params['ProductID']
|
2851
|
+
@FwType = params['FwType']
|
2852
|
+
end
|
2853
|
+
end
|
2854
|
+
|
2855
|
+
# DeleteOtaModule返回参数结构体
|
2856
|
+
class DeleteOtaModuleResponse < TencentCloud::Common::AbstractModel
|
2857
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2858
|
+
# @type RequestId: String
|
2859
|
+
|
2860
|
+
attr_accessor :RequestId
|
2861
|
+
|
2862
|
+
def initialize(requestid=nil)
|
2863
|
+
@RequestId = requestid
|
2864
|
+
end
|
2865
|
+
|
2866
|
+
def deserialize(params)
|
2867
|
+
@RequestId = params['RequestId']
|
2868
|
+
end
|
2869
|
+
end
|
2870
|
+
|
2695
2871
|
# DeletePositionFence请求参数结构体
|
2696
2872
|
class DeletePositionFenceRequest < TencentCloud::Common::AbstractModel
|
2697
2873
|
# @param SpaceId: 位置空间Id
|
@@ -3203,22 +3379,29 @@ module TencentCloud
|
|
3203
3379
|
# @param DeviceName: 设备名称
|
3204
3380
|
# @type DeviceName: String
|
3205
3381
|
# @param ServiceType: 云存 AI 服务类型。可选值:
|
3206
|
-
# - `RealtimeObjectDetect`:目标检测
|
3207
3382
|
# - `Highlight`:视频浓缩
|
3208
3383
|
# @type ServiceType: String
|
3384
|
+
# @param ChannelId: 通道 ID
|
3385
|
+
# @type ChannelId: Integer
|
3386
|
+
# @param UserId: 用户 ID
|
3387
|
+
# @type UserId: String
|
3209
3388
|
|
3210
|
-
attr_accessor :ProductId, :DeviceName, :ServiceType
|
3389
|
+
attr_accessor :ProductId, :DeviceName, :ServiceType, :ChannelId, :UserId
|
3211
3390
|
|
3212
|
-
def initialize(productid=nil, devicename=nil, servicetype=nil)
|
3391
|
+
def initialize(productid=nil, devicename=nil, servicetype=nil, channelid=nil, userid=nil)
|
3213
3392
|
@ProductId = productid
|
3214
3393
|
@DeviceName = devicename
|
3215
3394
|
@ServiceType = servicetype
|
3395
|
+
@ChannelId = channelid
|
3396
|
+
@UserId = userid
|
3216
3397
|
end
|
3217
3398
|
|
3218
3399
|
def deserialize(params)
|
3219
3400
|
@ProductId = params['ProductId']
|
3220
3401
|
@DeviceName = params['DeviceName']
|
3221
3402
|
@ServiceType = params['ServiceType']
|
3403
|
+
@ChannelId = params['ChannelId']
|
3404
|
+
@UserId = params['UserId']
|
3222
3405
|
end
|
3223
3406
|
end
|
3224
3407
|
|
@@ -4961,6 +5144,82 @@ module TencentCloud
|
|
4961
5144
|
end
|
4962
5145
|
end
|
4963
5146
|
|
5147
|
+
# DescribeFirmwareTaskDevices请求参数结构体
|
5148
|
+
class DescribeFirmwareTaskDevicesRequest < TencentCloud::Common::AbstractModel
|
5149
|
+
# @param ProductID: 产品ID
|
5150
|
+
# @type ProductID: String
|
5151
|
+
# @param FirmwareVersion: 固件版本
|
5152
|
+
# @type FirmwareVersion: String
|
5153
|
+
# @param Filters: 筛选条件
|
5154
|
+
# @type Filters: Array
|
5155
|
+
# @param Offset: 查询偏移量
|
5156
|
+
# @type Offset: Integer
|
5157
|
+
# @param Limit: 查询的数量
|
5158
|
+
# @type Limit: Integer
|
5159
|
+
# @param FwType: 固件类型
|
5160
|
+
# @type FwType: String
|
5161
|
+
|
5162
|
+
attr_accessor :ProductID, :FirmwareVersion, :Filters, :Offset, :Limit, :FwType
|
5163
|
+
|
5164
|
+
def initialize(productid=nil, firmwareversion=nil, filters=nil, offset=nil, limit=nil, fwtype=nil)
|
5165
|
+
@ProductID = productid
|
5166
|
+
@FirmwareVersion = firmwareversion
|
5167
|
+
@Filters = filters
|
5168
|
+
@Offset = offset
|
5169
|
+
@Limit = limit
|
5170
|
+
@FwType = fwtype
|
5171
|
+
end
|
5172
|
+
|
5173
|
+
def deserialize(params)
|
5174
|
+
@ProductID = params['ProductID']
|
5175
|
+
@FirmwareVersion = params['FirmwareVersion']
|
5176
|
+
unless params['Filters'].nil?
|
5177
|
+
@Filters = []
|
5178
|
+
params['Filters'].each do |i|
|
5179
|
+
searchkeyword_tmp = SearchKeyword.new
|
5180
|
+
searchkeyword_tmp.deserialize(i)
|
5181
|
+
@Filters << searchkeyword_tmp
|
5182
|
+
end
|
5183
|
+
end
|
5184
|
+
@Offset = params['Offset']
|
5185
|
+
@Limit = params['Limit']
|
5186
|
+
@FwType = params['FwType']
|
5187
|
+
end
|
5188
|
+
end
|
5189
|
+
|
5190
|
+
# DescribeFirmwareTaskDevices返回参数结构体
|
5191
|
+
class DescribeFirmwareTaskDevicesResponse < TencentCloud::Common::AbstractModel
|
5192
|
+
# @param Total: 固件升级任务的设备总数
|
5193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5194
|
+
# @type Total: Integer
|
5195
|
+
# @param Devices: 固件升级任务的设备列表
|
5196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5197
|
+
# @type Devices: Array
|
5198
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5199
|
+
# @type RequestId: String
|
5200
|
+
|
5201
|
+
attr_accessor :Total, :Devices, :RequestId
|
5202
|
+
|
5203
|
+
def initialize(total=nil, devices=nil, requestid=nil)
|
5204
|
+
@Total = total
|
5205
|
+
@Devices = devices
|
5206
|
+
@RequestId = requestid
|
5207
|
+
end
|
5208
|
+
|
5209
|
+
def deserialize(params)
|
5210
|
+
@Total = params['Total']
|
5211
|
+
unless params['Devices'].nil?
|
5212
|
+
@Devices = []
|
5213
|
+
params['Devices'].each do |i|
|
5214
|
+
deviceupdatestatus_tmp = DeviceUpdateStatus.new
|
5215
|
+
deviceupdatestatus_tmp.deserialize(i)
|
5216
|
+
@Devices << deviceupdatestatus_tmp
|
5217
|
+
end
|
5218
|
+
end
|
5219
|
+
@RequestId = params['RequestId']
|
5220
|
+
end
|
5221
|
+
end
|
5222
|
+
|
4964
5223
|
# DescribeFirmwareTask请求参数结构体
|
4965
5224
|
class DescribeFirmwareTaskRequest < TencentCloud::Common::AbstractModel
|
4966
5225
|
# @param ProductID: 产品ID
|
@@ -5073,6 +5332,82 @@ module TencentCloud
|
|
5073
5332
|
end
|
5074
5333
|
end
|
5075
5334
|
|
5335
|
+
# DescribeFirmwareTasks请求参数结构体
|
5336
|
+
class DescribeFirmwareTasksRequest < TencentCloud::Common::AbstractModel
|
5337
|
+
# @param ProductID: 产品ID
|
5338
|
+
# @type ProductID: String
|
5339
|
+
# @param FirmwareVersion: 固件版本号
|
5340
|
+
# @type FirmwareVersion: String
|
5341
|
+
# @param Offset: 查询偏移量
|
5342
|
+
# @type Offset: Integer
|
5343
|
+
# @param Limit: 返回查询结果条数
|
5344
|
+
# @type Limit: Integer
|
5345
|
+
# @param Filters: 搜索过滤条件
|
5346
|
+
# @type Filters: Array
|
5347
|
+
# @param FwType: 固件类型
|
5348
|
+
# @type FwType: String
|
5349
|
+
|
5350
|
+
attr_accessor :ProductID, :FirmwareVersion, :Offset, :Limit, :Filters, :FwType
|
5351
|
+
|
5352
|
+
def initialize(productid=nil, firmwareversion=nil, offset=nil, limit=nil, filters=nil, fwtype=nil)
|
5353
|
+
@ProductID = productid
|
5354
|
+
@FirmwareVersion = firmwareversion
|
5355
|
+
@Offset = offset
|
5356
|
+
@Limit = limit
|
5357
|
+
@Filters = filters
|
5358
|
+
@FwType = fwtype
|
5359
|
+
end
|
5360
|
+
|
5361
|
+
def deserialize(params)
|
5362
|
+
@ProductID = params['ProductID']
|
5363
|
+
@FirmwareVersion = params['FirmwareVersion']
|
5364
|
+
@Offset = params['Offset']
|
5365
|
+
@Limit = params['Limit']
|
5366
|
+
unless params['Filters'].nil?
|
5367
|
+
@Filters = []
|
5368
|
+
params['Filters'].each do |i|
|
5369
|
+
searchkeyword_tmp = SearchKeyword.new
|
5370
|
+
searchkeyword_tmp.deserialize(i)
|
5371
|
+
@Filters << searchkeyword_tmp
|
5372
|
+
end
|
5373
|
+
end
|
5374
|
+
@FwType = params['FwType']
|
5375
|
+
end
|
5376
|
+
end
|
5377
|
+
|
5378
|
+
# DescribeFirmwareTasks返回参数结构体
|
5379
|
+
class DescribeFirmwareTasksResponse < TencentCloud::Common::AbstractModel
|
5380
|
+
# @param TaskInfos: 固件升级任务列表
|
5381
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5382
|
+
# @type TaskInfos: Array
|
5383
|
+
# @param Total: 固件升级任务总数
|
5384
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5385
|
+
# @type Total: Integer
|
5386
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5387
|
+
# @type RequestId: String
|
5388
|
+
|
5389
|
+
attr_accessor :TaskInfos, :Total, :RequestId
|
5390
|
+
|
5391
|
+
def initialize(taskinfos=nil, total=nil, requestid=nil)
|
5392
|
+
@TaskInfos = taskinfos
|
5393
|
+
@Total = total
|
5394
|
+
@RequestId = requestid
|
5395
|
+
end
|
5396
|
+
|
5397
|
+
def deserialize(params)
|
5398
|
+
unless params['TaskInfos'].nil?
|
5399
|
+
@TaskInfos = []
|
5400
|
+
params['TaskInfos'].each do |i|
|
5401
|
+
firmwaretaskinfo_tmp = FirmwareTaskInfo.new
|
5402
|
+
firmwaretaskinfo_tmp.deserialize(i)
|
5403
|
+
@TaskInfos << firmwaretaskinfo_tmp
|
5404
|
+
end
|
5405
|
+
end
|
5406
|
+
@Total = params['Total']
|
5407
|
+
@RequestId = params['RequestId']
|
5408
|
+
end
|
5409
|
+
end
|
5410
|
+
|
5076
5411
|
# DescribeFirmwareUpdateStatus请求参数结构体
|
5077
5412
|
class DescribeFirmwareUpdateStatusRequest < TencentCloud::Common::AbstractModel
|
5078
5413
|
# @param ProductId: 产品 ID。
|
@@ -6478,6 +6813,65 @@ module TencentCloud
|
|
6478
6813
|
end
|
6479
6814
|
end
|
6480
6815
|
|
6816
|
+
# 设备固件更新状态
|
6817
|
+
class DeviceUpdateStatus < TencentCloud::Common::AbstractModel
|
6818
|
+
# @param DeviceName: 设备名
|
6819
|
+
# @type DeviceName: String
|
6820
|
+
# @param LastProcessTime: 最后处理时间
|
6821
|
+
# @type LastProcessTime: Integer
|
6822
|
+
# @param Status: 状态
|
6823
|
+
# @type Status: Integer
|
6824
|
+
# @param ErrMsg: 错误消息
|
6825
|
+
# @type ErrMsg: String
|
6826
|
+
# @param Retcode: 返回码
|
6827
|
+
# @type Retcode: Integer
|
6828
|
+
# @param DstVersion: 目标更新版本
|
6829
|
+
# @type DstVersion: String
|
6830
|
+
# @param Percent: 下载中状态时的下载进度
|
6831
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6832
|
+
# @type Percent: Integer
|
6833
|
+
# @param OriVersion: 原版本号
|
6834
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6835
|
+
# @type OriVersion: String
|
6836
|
+
# @param TaskId: 任务ID
|
6837
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6838
|
+
# @type TaskId: Integer
|
6839
|
+
# @param FwType: 固件类型
|
6840
|
+
# @type FwType: String
|
6841
|
+
# @param RetryNum: 重试次数
|
6842
|
+
# @type RetryNum: Integer
|
6843
|
+
|
6844
|
+
attr_accessor :DeviceName, :LastProcessTime, :Status, :ErrMsg, :Retcode, :DstVersion, :Percent, :OriVersion, :TaskId, :FwType, :RetryNum
|
6845
|
+
|
6846
|
+
def initialize(devicename=nil, lastprocesstime=nil, status=nil, errmsg=nil, retcode=nil, dstversion=nil, percent=nil, oriversion=nil, taskid=nil, fwtype=nil, retrynum=nil)
|
6847
|
+
@DeviceName = devicename
|
6848
|
+
@LastProcessTime = lastprocesstime
|
6849
|
+
@Status = status
|
6850
|
+
@ErrMsg = errmsg
|
6851
|
+
@Retcode = retcode
|
6852
|
+
@DstVersion = dstversion
|
6853
|
+
@Percent = percent
|
6854
|
+
@OriVersion = oriversion
|
6855
|
+
@TaskId = taskid
|
6856
|
+
@FwType = fwtype
|
6857
|
+
@RetryNum = retrynum
|
6858
|
+
end
|
6859
|
+
|
6860
|
+
def deserialize(params)
|
6861
|
+
@DeviceName = params['DeviceName']
|
6862
|
+
@LastProcessTime = params['LastProcessTime']
|
6863
|
+
@Status = params['Status']
|
6864
|
+
@ErrMsg = params['ErrMsg']
|
6865
|
+
@Retcode = params['Retcode']
|
6866
|
+
@DstVersion = params['DstVersion']
|
6867
|
+
@Percent = params['Percent']
|
6868
|
+
@OriVersion = params['OriVersion']
|
6869
|
+
@TaskId = params['TaskId']
|
6870
|
+
@FwType = params['FwType']
|
6871
|
+
@RetryNum = params['RetryNum']
|
6872
|
+
end
|
6873
|
+
end
|
6874
|
+
|
6481
6875
|
# 设备的用户
|
6482
6876
|
class DeviceUser < TencentCloud::Common::AbstractModel
|
6483
6877
|
# @param UserId: 用户ID
|
@@ -6992,6 +7386,57 @@ module TencentCloud
|
|
6992
7386
|
end
|
6993
7387
|
end
|
6994
7388
|
|
7389
|
+
# 固件升级任务信息
|
7390
|
+
class FirmwareTaskInfo < TencentCloud::Common::AbstractModel
|
7391
|
+
# @param TaskId: 任务ID
|
7392
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7393
|
+
# @type TaskId: Integer
|
7394
|
+
# @param Status: 任务状态
|
7395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7396
|
+
# @type Status: Integer
|
7397
|
+
# @param Type: 任务类型
|
7398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7399
|
+
# @type Type: Integer
|
7400
|
+
# @param CreateTime: 任务创建时间
|
7401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7402
|
+
# @type CreateTime: Integer
|
7403
|
+
# @param CreatorNickName: 创建者
|
7404
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7405
|
+
# @type CreatorNickName: String
|
7406
|
+
# @param CreateUserId: 创建者ID
|
7407
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7408
|
+
# @type CreateUserId: Integer
|
7409
|
+
# @param CronTime: 任务启动时间
|
7410
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7411
|
+
# @type CronTime: Integer
|
7412
|
+
# @param FwType: 固件类型
|
7413
|
+
# @type FwType: String
|
7414
|
+
|
7415
|
+
attr_accessor :TaskId, :Status, :Type, :CreateTime, :CreatorNickName, :CreateUserId, :CronTime, :FwType
|
7416
|
+
|
7417
|
+
def initialize(taskid=nil, status=nil, type=nil, createtime=nil, creatornickname=nil, createuserid=nil, crontime=nil, fwtype=nil)
|
7418
|
+
@TaskId = taskid
|
7419
|
+
@Status = status
|
7420
|
+
@Type = type
|
7421
|
+
@CreateTime = createtime
|
7422
|
+
@CreatorNickName = creatornickname
|
7423
|
+
@CreateUserId = createuserid
|
7424
|
+
@CronTime = crontime
|
7425
|
+
@FwType = fwtype
|
7426
|
+
end
|
7427
|
+
|
7428
|
+
def deserialize(params)
|
7429
|
+
@TaskId = params['TaskId']
|
7430
|
+
@Status = params['Status']
|
7431
|
+
@Type = params['Type']
|
7432
|
+
@CreateTime = params['CreateTime']
|
7433
|
+
@CreatorNickName = params['CreatorNickName']
|
7434
|
+
@CreateUserId = params['CreateUserId']
|
7435
|
+
@CronTime = params['CronTime']
|
7436
|
+
@FwType = params['FwType']
|
7437
|
+
end
|
7438
|
+
end
|
7439
|
+
|
6995
7440
|
# GenSingleDeviceSignatureOfPublic请求参数结构体
|
6996
7441
|
class GenSingleDeviceSignatureOfPublicRequest < TencentCloud::Common::AbstractModel
|
6997
7442
|
# @param ProductId: 设备所属的产品ID
|
@@ -8965,6 +9410,111 @@ module TencentCloud
|
|
8965
9410
|
end
|
8966
9411
|
end
|
8967
9412
|
|
9413
|
+
# ListOtaModules请求参数结构体
|
9414
|
+
class ListOtaModulesRequest < TencentCloud::Common::AbstractModel
|
9415
|
+
# @param PageNum: 获取的页数
|
9416
|
+
# @type PageNum: Integer
|
9417
|
+
# @param PageSize: 分页的大小
|
9418
|
+
# @type PageSize: Integer
|
9419
|
+
# @param Filters: 搜索过滤条件
|
9420
|
+
# @type Filters: Array
|
9421
|
+
|
9422
|
+
attr_accessor :PageNum, :PageSize, :Filters
|
9423
|
+
|
9424
|
+
def initialize(pagenum=nil, pagesize=nil, filters=nil)
|
9425
|
+
@PageNum = pagenum
|
9426
|
+
@PageSize = pagesize
|
9427
|
+
@Filters = filters
|
9428
|
+
end
|
9429
|
+
|
9430
|
+
def deserialize(params)
|
9431
|
+
@PageNum = params['PageNum']
|
9432
|
+
@PageSize = params['PageSize']
|
9433
|
+
unless params['Filters'].nil?
|
9434
|
+
@Filters = []
|
9435
|
+
params['Filters'].each do |i|
|
9436
|
+
searchkeyword_tmp = SearchKeyword.new
|
9437
|
+
searchkeyword_tmp.deserialize(i)
|
9438
|
+
@Filters << searchkeyword_tmp
|
9439
|
+
end
|
9440
|
+
end
|
9441
|
+
end
|
9442
|
+
end
|
9443
|
+
|
9444
|
+
# ListOtaModules返回参数结构体
|
9445
|
+
class ListOtaModulesResponse < TencentCloud::Common::AbstractModel
|
9446
|
+
# @param TotalCount: 固件总数
|
9447
|
+
# @type TotalCount: Integer
|
9448
|
+
# @param Modules: 固件列表
|
9449
|
+
# @type Modules: Array
|
9450
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9451
|
+
# @type RequestId: String
|
9452
|
+
|
9453
|
+
attr_accessor :TotalCount, :Modules, :RequestId
|
9454
|
+
|
9455
|
+
def initialize(totalcount=nil, modules=nil, requestid=nil)
|
9456
|
+
@TotalCount = totalcount
|
9457
|
+
@Modules = modules
|
9458
|
+
@RequestId = requestid
|
9459
|
+
end
|
9460
|
+
|
9461
|
+
def deserialize(params)
|
9462
|
+
@TotalCount = params['TotalCount']
|
9463
|
+
unless params['Modules'].nil?
|
9464
|
+
@Modules = []
|
9465
|
+
params['Modules'].each do |i|
|
9466
|
+
otamoduleinfo_tmp = OtaModuleInfo.new
|
9467
|
+
otamoduleinfo_tmp.deserialize(i)
|
9468
|
+
@Modules << otamoduleinfo_tmp
|
9469
|
+
end
|
9470
|
+
end
|
9471
|
+
@RequestId = params['RequestId']
|
9472
|
+
end
|
9473
|
+
end
|
9474
|
+
|
9475
|
+
# ListProductOtaModules请求参数结构体
|
9476
|
+
class ListProductOtaModulesRequest < TencentCloud::Common::AbstractModel
|
9477
|
+
# @param ProductID: 产品ID
|
9478
|
+
# @type ProductID: String
|
9479
|
+
|
9480
|
+
attr_accessor :ProductID
|
9481
|
+
|
9482
|
+
def initialize(productid=nil)
|
9483
|
+
@ProductID = productid
|
9484
|
+
end
|
9485
|
+
|
9486
|
+
def deserialize(params)
|
9487
|
+
@ProductID = params['ProductID']
|
9488
|
+
end
|
9489
|
+
end
|
9490
|
+
|
9491
|
+
# ListProductOtaModules返回参数结构体
|
9492
|
+
class ListProductOtaModulesResponse < TencentCloud::Common::AbstractModel
|
9493
|
+
# @param Modules: 固件列表
|
9494
|
+
# @type Modules: Array
|
9495
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9496
|
+
# @type RequestId: String
|
9497
|
+
|
9498
|
+
attr_accessor :Modules, :RequestId
|
9499
|
+
|
9500
|
+
def initialize(modules=nil, requestid=nil)
|
9501
|
+
@Modules = modules
|
9502
|
+
@RequestId = requestid
|
9503
|
+
end
|
9504
|
+
|
9505
|
+
def deserialize(params)
|
9506
|
+
unless params['Modules'].nil?
|
9507
|
+
@Modules = []
|
9508
|
+
params['Modules'].each do |i|
|
9509
|
+
otamoduleinfo_tmp = OtaModuleInfo.new
|
9510
|
+
otamoduleinfo_tmp.deserialize(i)
|
9511
|
+
@Modules << otamoduleinfo_tmp
|
9512
|
+
end
|
9513
|
+
end
|
9514
|
+
@RequestId = params['RequestId']
|
9515
|
+
end
|
9516
|
+
end
|
9517
|
+
|
8968
9518
|
# ListTopicPolicy请求参数结构体
|
8969
9519
|
class ListTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
8970
9520
|
# @param ProductId: 产品ID
|
@@ -10024,6 +10574,46 @@ module TencentCloud
|
|
10024
10574
|
end
|
10025
10575
|
end
|
10026
10576
|
|
10577
|
+
# 升级包类型详细信息
|
10578
|
+
class OtaModuleInfo < TencentCloud::Common::AbstractModel
|
10579
|
+
# @param CreateTime: 模块创建时间
|
10580
|
+
# @type CreateTime: Integer
|
10581
|
+
# @param ProductName: 产品名称
|
10582
|
+
# @type ProductName: String
|
10583
|
+
# @param Name: 模块名称
|
10584
|
+
# @type Name: String
|
10585
|
+
# @param ProductID: 产品ID
|
10586
|
+
# @type ProductID: String
|
10587
|
+
# @param FwType: 模块类型
|
10588
|
+
# @type FwType: String
|
10589
|
+
# @param IsBuildIn: 是否系统内置升级包类型
|
10590
|
+
# @type IsBuildIn: Boolean
|
10591
|
+
# @param Remark: 模块描述
|
10592
|
+
# @type Remark: String
|
10593
|
+
|
10594
|
+
attr_accessor :CreateTime, :ProductName, :Name, :ProductID, :FwType, :IsBuildIn, :Remark
|
10595
|
+
|
10596
|
+
def initialize(createtime=nil, productname=nil, name=nil, productid=nil, fwtype=nil, isbuildin=nil, remark=nil)
|
10597
|
+
@CreateTime = createtime
|
10598
|
+
@ProductName = productname
|
10599
|
+
@Name = name
|
10600
|
+
@ProductID = productid
|
10601
|
+
@FwType = fwtype
|
10602
|
+
@IsBuildIn = isbuildin
|
10603
|
+
@Remark = remark
|
10604
|
+
end
|
10605
|
+
|
10606
|
+
def deserialize(params)
|
10607
|
+
@CreateTime = params['CreateTime']
|
10608
|
+
@ProductName = params['ProductName']
|
10609
|
+
@Name = params['Name']
|
10610
|
+
@ProductID = params['ProductID']
|
10611
|
+
@FwType = params['FwType']
|
10612
|
+
@IsBuildIn = params['IsBuildIn']
|
10613
|
+
@Remark = params['Remark']
|
10614
|
+
end
|
10615
|
+
end
|
10616
|
+
|
10027
10617
|
# 云存套餐包消耗统计
|
10028
10618
|
class PackageConsumeStat < TencentCloud::Common::AbstractModel
|
10029
10619
|
# @param PackageId: 云存套餐包id
|
@@ -11999,6 +12589,50 @@ module TencentCloud
|
|
11999
12589
|
end
|
12000
12590
|
end
|
12001
12591
|
|
12592
|
+
# UpdateOtaModule请求参数结构体
|
12593
|
+
class UpdateOtaModuleRequest < TencentCloud::Common::AbstractModel
|
12594
|
+
# @param ProductID: 产品ID
|
12595
|
+
# @type ProductID: String
|
12596
|
+
# @param FwType: 模块类型
|
12597
|
+
# @type FwType: String
|
12598
|
+
# @param Name: 模块类型名称
|
12599
|
+
# @type Name: String
|
12600
|
+
# @param Remark: 模块类型描述
|
12601
|
+
# @type Remark: String
|
12602
|
+
|
12603
|
+
attr_accessor :ProductID, :FwType, :Name, :Remark
|
12604
|
+
|
12605
|
+
def initialize(productid=nil, fwtype=nil, name=nil, remark=nil)
|
12606
|
+
@ProductID = productid
|
12607
|
+
@FwType = fwtype
|
12608
|
+
@Name = name
|
12609
|
+
@Remark = remark
|
12610
|
+
end
|
12611
|
+
|
12612
|
+
def deserialize(params)
|
12613
|
+
@ProductID = params['ProductID']
|
12614
|
+
@FwType = params['FwType']
|
12615
|
+
@Name = params['Name']
|
12616
|
+
@Remark = params['Remark']
|
12617
|
+
end
|
12618
|
+
end
|
12619
|
+
|
12620
|
+
# UpdateOtaModule返回参数结构体
|
12621
|
+
class UpdateOtaModuleResponse < TencentCloud::Common::AbstractModel
|
12622
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12623
|
+
# @type RequestId: String
|
12624
|
+
|
12625
|
+
attr_accessor :RequestId
|
12626
|
+
|
12627
|
+
def initialize(requestid=nil)
|
12628
|
+
@RequestId = requestid
|
12629
|
+
end
|
12630
|
+
|
12631
|
+
def deserialize(params)
|
12632
|
+
@RequestId = params['RequestId']
|
12633
|
+
end
|
12634
|
+
end
|
12635
|
+
|
12002
12636
|
# UploadFirmware请求参数结构体
|
12003
12637
|
class UploadFirmwareRequest < TencentCloud::Common::AbstractModel
|
12004
12638
|
# @param ProductID: 产品ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotexplorer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1140
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|