tencentcloud-sdk-iotexplorer 3.0.1138 → 3.0.1139
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 +627 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfa1eca9bf44544149214fae4f76cb2c871b7cec
|
4
|
+
data.tar.gz: ae374579643f0719ff728ff125f53f9d9cf36770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b19e3adc48e90ce6d1e72ade2d9d280b50dd9600819c1b50d7bfa41bb2a4873d200925a9cd1edbb8fd2b161261b9d44492b5372ec43aa7d3ba31e8ab51119a3d
|
7
|
+
data.tar.gz: c025f3e5abf9feb25a33215fc97071576e1d632a60f51bc1f3e510a8e9277d9700a371f59345b0c0222c7be68d25f1c92e65081aaf4b85f819899304c4534bba
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1139
|
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
|
@@ -4961,6 +5137,82 @@ module TencentCloud
|
|
4961
5137
|
end
|
4962
5138
|
end
|
4963
5139
|
|
5140
|
+
# DescribeFirmwareTaskDevices请求参数结构体
|
5141
|
+
class DescribeFirmwareTaskDevicesRequest < TencentCloud::Common::AbstractModel
|
5142
|
+
# @param ProductID: 产品ID
|
5143
|
+
# @type ProductID: String
|
5144
|
+
# @param FirmwareVersion: 固件版本
|
5145
|
+
# @type FirmwareVersion: String
|
5146
|
+
# @param Filters: 筛选条件
|
5147
|
+
# @type Filters: Array
|
5148
|
+
# @param Offset: 查询偏移量
|
5149
|
+
# @type Offset: Integer
|
5150
|
+
# @param Limit: 查询的数量
|
5151
|
+
# @type Limit: Integer
|
5152
|
+
# @param FwType: 固件类型
|
5153
|
+
# @type FwType: String
|
5154
|
+
|
5155
|
+
attr_accessor :ProductID, :FirmwareVersion, :Filters, :Offset, :Limit, :FwType
|
5156
|
+
|
5157
|
+
def initialize(productid=nil, firmwareversion=nil, filters=nil, offset=nil, limit=nil, fwtype=nil)
|
5158
|
+
@ProductID = productid
|
5159
|
+
@FirmwareVersion = firmwareversion
|
5160
|
+
@Filters = filters
|
5161
|
+
@Offset = offset
|
5162
|
+
@Limit = limit
|
5163
|
+
@FwType = fwtype
|
5164
|
+
end
|
5165
|
+
|
5166
|
+
def deserialize(params)
|
5167
|
+
@ProductID = params['ProductID']
|
5168
|
+
@FirmwareVersion = params['FirmwareVersion']
|
5169
|
+
unless params['Filters'].nil?
|
5170
|
+
@Filters = []
|
5171
|
+
params['Filters'].each do |i|
|
5172
|
+
searchkeyword_tmp = SearchKeyword.new
|
5173
|
+
searchkeyword_tmp.deserialize(i)
|
5174
|
+
@Filters << searchkeyword_tmp
|
5175
|
+
end
|
5176
|
+
end
|
5177
|
+
@Offset = params['Offset']
|
5178
|
+
@Limit = params['Limit']
|
5179
|
+
@FwType = params['FwType']
|
5180
|
+
end
|
5181
|
+
end
|
5182
|
+
|
5183
|
+
# DescribeFirmwareTaskDevices返回参数结构体
|
5184
|
+
class DescribeFirmwareTaskDevicesResponse < TencentCloud::Common::AbstractModel
|
5185
|
+
# @param Total: 固件升级任务的设备总数
|
5186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5187
|
+
# @type Total: Integer
|
5188
|
+
# @param Devices: 固件升级任务的设备列表
|
5189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5190
|
+
# @type Devices: Array
|
5191
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5192
|
+
# @type RequestId: String
|
5193
|
+
|
5194
|
+
attr_accessor :Total, :Devices, :RequestId
|
5195
|
+
|
5196
|
+
def initialize(total=nil, devices=nil, requestid=nil)
|
5197
|
+
@Total = total
|
5198
|
+
@Devices = devices
|
5199
|
+
@RequestId = requestid
|
5200
|
+
end
|
5201
|
+
|
5202
|
+
def deserialize(params)
|
5203
|
+
@Total = params['Total']
|
5204
|
+
unless params['Devices'].nil?
|
5205
|
+
@Devices = []
|
5206
|
+
params['Devices'].each do |i|
|
5207
|
+
deviceupdatestatus_tmp = DeviceUpdateStatus.new
|
5208
|
+
deviceupdatestatus_tmp.deserialize(i)
|
5209
|
+
@Devices << deviceupdatestatus_tmp
|
5210
|
+
end
|
5211
|
+
end
|
5212
|
+
@RequestId = params['RequestId']
|
5213
|
+
end
|
5214
|
+
end
|
5215
|
+
|
4964
5216
|
# DescribeFirmwareTask请求参数结构体
|
4965
5217
|
class DescribeFirmwareTaskRequest < TencentCloud::Common::AbstractModel
|
4966
5218
|
# @param ProductID: 产品ID
|
@@ -5073,6 +5325,82 @@ module TencentCloud
|
|
5073
5325
|
end
|
5074
5326
|
end
|
5075
5327
|
|
5328
|
+
# DescribeFirmwareTasks请求参数结构体
|
5329
|
+
class DescribeFirmwareTasksRequest < TencentCloud::Common::AbstractModel
|
5330
|
+
# @param ProductID: 产品ID
|
5331
|
+
# @type ProductID: String
|
5332
|
+
# @param FirmwareVersion: 固件版本号
|
5333
|
+
# @type FirmwareVersion: String
|
5334
|
+
# @param Offset: 查询偏移量
|
5335
|
+
# @type Offset: Integer
|
5336
|
+
# @param Limit: 返回查询结果条数
|
5337
|
+
# @type Limit: Integer
|
5338
|
+
# @param Filters: 搜索过滤条件
|
5339
|
+
# @type Filters: Array
|
5340
|
+
# @param FwType: 固件类型
|
5341
|
+
# @type FwType: String
|
5342
|
+
|
5343
|
+
attr_accessor :ProductID, :FirmwareVersion, :Offset, :Limit, :Filters, :FwType
|
5344
|
+
|
5345
|
+
def initialize(productid=nil, firmwareversion=nil, offset=nil, limit=nil, filters=nil, fwtype=nil)
|
5346
|
+
@ProductID = productid
|
5347
|
+
@FirmwareVersion = firmwareversion
|
5348
|
+
@Offset = offset
|
5349
|
+
@Limit = limit
|
5350
|
+
@Filters = filters
|
5351
|
+
@FwType = fwtype
|
5352
|
+
end
|
5353
|
+
|
5354
|
+
def deserialize(params)
|
5355
|
+
@ProductID = params['ProductID']
|
5356
|
+
@FirmwareVersion = params['FirmwareVersion']
|
5357
|
+
@Offset = params['Offset']
|
5358
|
+
@Limit = params['Limit']
|
5359
|
+
unless params['Filters'].nil?
|
5360
|
+
@Filters = []
|
5361
|
+
params['Filters'].each do |i|
|
5362
|
+
searchkeyword_tmp = SearchKeyword.new
|
5363
|
+
searchkeyword_tmp.deserialize(i)
|
5364
|
+
@Filters << searchkeyword_tmp
|
5365
|
+
end
|
5366
|
+
end
|
5367
|
+
@FwType = params['FwType']
|
5368
|
+
end
|
5369
|
+
end
|
5370
|
+
|
5371
|
+
# DescribeFirmwareTasks返回参数结构体
|
5372
|
+
class DescribeFirmwareTasksResponse < TencentCloud::Common::AbstractModel
|
5373
|
+
# @param TaskInfos: 固件升级任务列表
|
5374
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5375
|
+
# @type TaskInfos: Array
|
5376
|
+
# @param Total: 固件升级任务总数
|
5377
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5378
|
+
# @type Total: Integer
|
5379
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5380
|
+
# @type RequestId: String
|
5381
|
+
|
5382
|
+
attr_accessor :TaskInfos, :Total, :RequestId
|
5383
|
+
|
5384
|
+
def initialize(taskinfos=nil, total=nil, requestid=nil)
|
5385
|
+
@TaskInfos = taskinfos
|
5386
|
+
@Total = total
|
5387
|
+
@RequestId = requestid
|
5388
|
+
end
|
5389
|
+
|
5390
|
+
def deserialize(params)
|
5391
|
+
unless params['TaskInfos'].nil?
|
5392
|
+
@TaskInfos = []
|
5393
|
+
params['TaskInfos'].each do |i|
|
5394
|
+
firmwaretaskinfo_tmp = FirmwareTaskInfo.new
|
5395
|
+
firmwaretaskinfo_tmp.deserialize(i)
|
5396
|
+
@TaskInfos << firmwaretaskinfo_tmp
|
5397
|
+
end
|
5398
|
+
end
|
5399
|
+
@Total = params['Total']
|
5400
|
+
@RequestId = params['RequestId']
|
5401
|
+
end
|
5402
|
+
end
|
5403
|
+
|
5076
5404
|
# DescribeFirmwareUpdateStatus请求参数结构体
|
5077
5405
|
class DescribeFirmwareUpdateStatusRequest < TencentCloud::Common::AbstractModel
|
5078
5406
|
# @param ProductId: 产品 ID。
|
@@ -6478,6 +6806,65 @@ module TencentCloud
|
|
6478
6806
|
end
|
6479
6807
|
end
|
6480
6808
|
|
6809
|
+
# 设备固件更新状态
|
6810
|
+
class DeviceUpdateStatus < TencentCloud::Common::AbstractModel
|
6811
|
+
# @param DeviceName: 设备名
|
6812
|
+
# @type DeviceName: String
|
6813
|
+
# @param LastProcessTime: 最后处理时间
|
6814
|
+
# @type LastProcessTime: Integer
|
6815
|
+
# @param Status: 状态
|
6816
|
+
# @type Status: Integer
|
6817
|
+
# @param ErrMsg: 错误消息
|
6818
|
+
# @type ErrMsg: String
|
6819
|
+
# @param Retcode: 返回码
|
6820
|
+
# @type Retcode: Integer
|
6821
|
+
# @param DstVersion: 目标更新版本
|
6822
|
+
# @type DstVersion: String
|
6823
|
+
# @param Percent: 下载中状态时的下载进度
|
6824
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6825
|
+
# @type Percent: Integer
|
6826
|
+
# @param OriVersion: 原版本号
|
6827
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6828
|
+
# @type OriVersion: String
|
6829
|
+
# @param TaskId: 任务ID
|
6830
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6831
|
+
# @type TaskId: Integer
|
6832
|
+
# @param FwType: 固件类型
|
6833
|
+
# @type FwType: String
|
6834
|
+
# @param RetryNum: 重试次数
|
6835
|
+
# @type RetryNum: Integer
|
6836
|
+
|
6837
|
+
attr_accessor :DeviceName, :LastProcessTime, :Status, :ErrMsg, :Retcode, :DstVersion, :Percent, :OriVersion, :TaskId, :FwType, :RetryNum
|
6838
|
+
|
6839
|
+
def initialize(devicename=nil, lastprocesstime=nil, status=nil, errmsg=nil, retcode=nil, dstversion=nil, percent=nil, oriversion=nil, taskid=nil, fwtype=nil, retrynum=nil)
|
6840
|
+
@DeviceName = devicename
|
6841
|
+
@LastProcessTime = lastprocesstime
|
6842
|
+
@Status = status
|
6843
|
+
@ErrMsg = errmsg
|
6844
|
+
@Retcode = retcode
|
6845
|
+
@DstVersion = dstversion
|
6846
|
+
@Percent = percent
|
6847
|
+
@OriVersion = oriversion
|
6848
|
+
@TaskId = taskid
|
6849
|
+
@FwType = fwtype
|
6850
|
+
@RetryNum = retrynum
|
6851
|
+
end
|
6852
|
+
|
6853
|
+
def deserialize(params)
|
6854
|
+
@DeviceName = params['DeviceName']
|
6855
|
+
@LastProcessTime = params['LastProcessTime']
|
6856
|
+
@Status = params['Status']
|
6857
|
+
@ErrMsg = params['ErrMsg']
|
6858
|
+
@Retcode = params['Retcode']
|
6859
|
+
@DstVersion = params['DstVersion']
|
6860
|
+
@Percent = params['Percent']
|
6861
|
+
@OriVersion = params['OriVersion']
|
6862
|
+
@TaskId = params['TaskId']
|
6863
|
+
@FwType = params['FwType']
|
6864
|
+
@RetryNum = params['RetryNum']
|
6865
|
+
end
|
6866
|
+
end
|
6867
|
+
|
6481
6868
|
# 设备的用户
|
6482
6869
|
class DeviceUser < TencentCloud::Common::AbstractModel
|
6483
6870
|
# @param UserId: 用户ID
|
@@ -6992,6 +7379,57 @@ module TencentCloud
|
|
6992
7379
|
end
|
6993
7380
|
end
|
6994
7381
|
|
7382
|
+
# 固件升级任务信息
|
7383
|
+
class FirmwareTaskInfo < TencentCloud::Common::AbstractModel
|
7384
|
+
# @param TaskId: 任务ID
|
7385
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7386
|
+
# @type TaskId: Integer
|
7387
|
+
# @param Status: 任务状态
|
7388
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7389
|
+
# @type Status: Integer
|
7390
|
+
# @param Type: 任务类型
|
7391
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7392
|
+
# @type Type: Integer
|
7393
|
+
# @param CreateTime: 任务创建时间
|
7394
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7395
|
+
# @type CreateTime: Integer
|
7396
|
+
# @param CreatorNickName: 创建者
|
7397
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7398
|
+
# @type CreatorNickName: String
|
7399
|
+
# @param CreateUserId: 创建者ID
|
7400
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7401
|
+
# @type CreateUserId: Integer
|
7402
|
+
# @param CronTime: 任务启动时间
|
7403
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7404
|
+
# @type CronTime: Integer
|
7405
|
+
# @param FwType: 固件类型
|
7406
|
+
# @type FwType: String
|
7407
|
+
|
7408
|
+
attr_accessor :TaskId, :Status, :Type, :CreateTime, :CreatorNickName, :CreateUserId, :CronTime, :FwType
|
7409
|
+
|
7410
|
+
def initialize(taskid=nil, status=nil, type=nil, createtime=nil, creatornickname=nil, createuserid=nil, crontime=nil, fwtype=nil)
|
7411
|
+
@TaskId = taskid
|
7412
|
+
@Status = status
|
7413
|
+
@Type = type
|
7414
|
+
@CreateTime = createtime
|
7415
|
+
@CreatorNickName = creatornickname
|
7416
|
+
@CreateUserId = createuserid
|
7417
|
+
@CronTime = crontime
|
7418
|
+
@FwType = fwtype
|
7419
|
+
end
|
7420
|
+
|
7421
|
+
def deserialize(params)
|
7422
|
+
@TaskId = params['TaskId']
|
7423
|
+
@Status = params['Status']
|
7424
|
+
@Type = params['Type']
|
7425
|
+
@CreateTime = params['CreateTime']
|
7426
|
+
@CreatorNickName = params['CreatorNickName']
|
7427
|
+
@CreateUserId = params['CreateUserId']
|
7428
|
+
@CronTime = params['CronTime']
|
7429
|
+
@FwType = params['FwType']
|
7430
|
+
end
|
7431
|
+
end
|
7432
|
+
|
6995
7433
|
# GenSingleDeviceSignatureOfPublic请求参数结构体
|
6996
7434
|
class GenSingleDeviceSignatureOfPublicRequest < TencentCloud::Common::AbstractModel
|
6997
7435
|
# @param ProductId: 设备所属的产品ID
|
@@ -8965,6 +9403,111 @@ module TencentCloud
|
|
8965
9403
|
end
|
8966
9404
|
end
|
8967
9405
|
|
9406
|
+
# ListOtaModules请求参数结构体
|
9407
|
+
class ListOtaModulesRequest < TencentCloud::Common::AbstractModel
|
9408
|
+
# @param PageNum: 获取的页数
|
9409
|
+
# @type PageNum: Integer
|
9410
|
+
# @param PageSize: 分页的大小
|
9411
|
+
# @type PageSize: Integer
|
9412
|
+
# @param Filters: 搜索过滤条件
|
9413
|
+
# @type Filters: Array
|
9414
|
+
|
9415
|
+
attr_accessor :PageNum, :PageSize, :Filters
|
9416
|
+
|
9417
|
+
def initialize(pagenum=nil, pagesize=nil, filters=nil)
|
9418
|
+
@PageNum = pagenum
|
9419
|
+
@PageSize = pagesize
|
9420
|
+
@Filters = filters
|
9421
|
+
end
|
9422
|
+
|
9423
|
+
def deserialize(params)
|
9424
|
+
@PageNum = params['PageNum']
|
9425
|
+
@PageSize = params['PageSize']
|
9426
|
+
unless params['Filters'].nil?
|
9427
|
+
@Filters = []
|
9428
|
+
params['Filters'].each do |i|
|
9429
|
+
searchkeyword_tmp = SearchKeyword.new
|
9430
|
+
searchkeyword_tmp.deserialize(i)
|
9431
|
+
@Filters << searchkeyword_tmp
|
9432
|
+
end
|
9433
|
+
end
|
9434
|
+
end
|
9435
|
+
end
|
9436
|
+
|
9437
|
+
# ListOtaModules返回参数结构体
|
9438
|
+
class ListOtaModulesResponse < TencentCloud::Common::AbstractModel
|
9439
|
+
# @param TotalCount: 固件总数
|
9440
|
+
# @type TotalCount: Integer
|
9441
|
+
# @param Modules: 固件列表
|
9442
|
+
# @type Modules: Array
|
9443
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9444
|
+
# @type RequestId: String
|
9445
|
+
|
9446
|
+
attr_accessor :TotalCount, :Modules, :RequestId
|
9447
|
+
|
9448
|
+
def initialize(totalcount=nil, modules=nil, requestid=nil)
|
9449
|
+
@TotalCount = totalcount
|
9450
|
+
@Modules = modules
|
9451
|
+
@RequestId = requestid
|
9452
|
+
end
|
9453
|
+
|
9454
|
+
def deserialize(params)
|
9455
|
+
@TotalCount = params['TotalCount']
|
9456
|
+
unless params['Modules'].nil?
|
9457
|
+
@Modules = []
|
9458
|
+
params['Modules'].each do |i|
|
9459
|
+
otamoduleinfo_tmp = OtaModuleInfo.new
|
9460
|
+
otamoduleinfo_tmp.deserialize(i)
|
9461
|
+
@Modules << otamoduleinfo_tmp
|
9462
|
+
end
|
9463
|
+
end
|
9464
|
+
@RequestId = params['RequestId']
|
9465
|
+
end
|
9466
|
+
end
|
9467
|
+
|
9468
|
+
# ListProductOtaModules请求参数结构体
|
9469
|
+
class ListProductOtaModulesRequest < TencentCloud::Common::AbstractModel
|
9470
|
+
# @param ProductID: 产品ID
|
9471
|
+
# @type ProductID: String
|
9472
|
+
|
9473
|
+
attr_accessor :ProductID
|
9474
|
+
|
9475
|
+
def initialize(productid=nil)
|
9476
|
+
@ProductID = productid
|
9477
|
+
end
|
9478
|
+
|
9479
|
+
def deserialize(params)
|
9480
|
+
@ProductID = params['ProductID']
|
9481
|
+
end
|
9482
|
+
end
|
9483
|
+
|
9484
|
+
# ListProductOtaModules返回参数结构体
|
9485
|
+
class ListProductOtaModulesResponse < TencentCloud::Common::AbstractModel
|
9486
|
+
# @param Modules: 固件列表
|
9487
|
+
# @type Modules: Array
|
9488
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9489
|
+
# @type RequestId: String
|
9490
|
+
|
9491
|
+
attr_accessor :Modules, :RequestId
|
9492
|
+
|
9493
|
+
def initialize(modules=nil, requestid=nil)
|
9494
|
+
@Modules = modules
|
9495
|
+
@RequestId = requestid
|
9496
|
+
end
|
9497
|
+
|
9498
|
+
def deserialize(params)
|
9499
|
+
unless params['Modules'].nil?
|
9500
|
+
@Modules = []
|
9501
|
+
params['Modules'].each do |i|
|
9502
|
+
otamoduleinfo_tmp = OtaModuleInfo.new
|
9503
|
+
otamoduleinfo_tmp.deserialize(i)
|
9504
|
+
@Modules << otamoduleinfo_tmp
|
9505
|
+
end
|
9506
|
+
end
|
9507
|
+
@RequestId = params['RequestId']
|
9508
|
+
end
|
9509
|
+
end
|
9510
|
+
|
8968
9511
|
# ListTopicPolicy请求参数结构体
|
8969
9512
|
class ListTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
8970
9513
|
# @param ProductId: 产品ID
|
@@ -10024,6 +10567,46 @@ module TencentCloud
|
|
10024
10567
|
end
|
10025
10568
|
end
|
10026
10569
|
|
10570
|
+
# 升级包类型详细信息
|
10571
|
+
class OtaModuleInfo < TencentCloud::Common::AbstractModel
|
10572
|
+
# @param CreateTime: 模块创建时间
|
10573
|
+
# @type CreateTime: Integer
|
10574
|
+
# @param ProductName: 产品名称
|
10575
|
+
# @type ProductName: String
|
10576
|
+
# @param Name: 模块名称
|
10577
|
+
# @type Name: String
|
10578
|
+
# @param ProductID: 产品ID
|
10579
|
+
# @type ProductID: String
|
10580
|
+
# @param FwType: 模块类型
|
10581
|
+
# @type FwType: String
|
10582
|
+
# @param IsBuildIn: 是否系统内置升级包类型
|
10583
|
+
# @type IsBuildIn: Boolean
|
10584
|
+
# @param Remark: 模块描述
|
10585
|
+
# @type Remark: String
|
10586
|
+
|
10587
|
+
attr_accessor :CreateTime, :ProductName, :Name, :ProductID, :FwType, :IsBuildIn, :Remark
|
10588
|
+
|
10589
|
+
def initialize(createtime=nil, productname=nil, name=nil, productid=nil, fwtype=nil, isbuildin=nil, remark=nil)
|
10590
|
+
@CreateTime = createtime
|
10591
|
+
@ProductName = productname
|
10592
|
+
@Name = name
|
10593
|
+
@ProductID = productid
|
10594
|
+
@FwType = fwtype
|
10595
|
+
@IsBuildIn = isbuildin
|
10596
|
+
@Remark = remark
|
10597
|
+
end
|
10598
|
+
|
10599
|
+
def deserialize(params)
|
10600
|
+
@CreateTime = params['CreateTime']
|
10601
|
+
@ProductName = params['ProductName']
|
10602
|
+
@Name = params['Name']
|
10603
|
+
@ProductID = params['ProductID']
|
10604
|
+
@FwType = params['FwType']
|
10605
|
+
@IsBuildIn = params['IsBuildIn']
|
10606
|
+
@Remark = params['Remark']
|
10607
|
+
end
|
10608
|
+
end
|
10609
|
+
|
10027
10610
|
# 云存套餐包消耗统计
|
10028
10611
|
class PackageConsumeStat < TencentCloud::Common::AbstractModel
|
10029
10612
|
# @param PackageId: 云存套餐包id
|
@@ -11999,6 +12582,50 @@ module TencentCloud
|
|
11999
12582
|
end
|
12000
12583
|
end
|
12001
12584
|
|
12585
|
+
# UpdateOtaModule请求参数结构体
|
12586
|
+
class UpdateOtaModuleRequest < TencentCloud::Common::AbstractModel
|
12587
|
+
# @param ProductID: 产品ID
|
12588
|
+
# @type ProductID: String
|
12589
|
+
# @param FwType: 模块类型
|
12590
|
+
# @type FwType: String
|
12591
|
+
# @param Name: 模块类型名称
|
12592
|
+
# @type Name: String
|
12593
|
+
# @param Remark: 模块类型描述
|
12594
|
+
# @type Remark: String
|
12595
|
+
|
12596
|
+
attr_accessor :ProductID, :FwType, :Name, :Remark
|
12597
|
+
|
12598
|
+
def initialize(productid=nil, fwtype=nil, name=nil, remark=nil)
|
12599
|
+
@ProductID = productid
|
12600
|
+
@FwType = fwtype
|
12601
|
+
@Name = name
|
12602
|
+
@Remark = remark
|
12603
|
+
end
|
12604
|
+
|
12605
|
+
def deserialize(params)
|
12606
|
+
@ProductID = params['ProductID']
|
12607
|
+
@FwType = params['FwType']
|
12608
|
+
@Name = params['Name']
|
12609
|
+
@Remark = params['Remark']
|
12610
|
+
end
|
12611
|
+
end
|
12612
|
+
|
12613
|
+
# UpdateOtaModule返回参数结构体
|
12614
|
+
class UpdateOtaModuleResponse < TencentCloud::Common::AbstractModel
|
12615
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12616
|
+
# @type RequestId: String
|
12617
|
+
|
12618
|
+
attr_accessor :RequestId
|
12619
|
+
|
12620
|
+
def initialize(requestid=nil)
|
12621
|
+
@RequestId = requestid
|
12622
|
+
end
|
12623
|
+
|
12624
|
+
def deserialize(params)
|
12625
|
+
@RequestId = params['RequestId']
|
12626
|
+
end
|
12627
|
+
end
|
12628
|
+
|
12002
12629
|
# UploadFirmware请求参数结构体
|
12003
12630
|
class UploadFirmwareRequest < TencentCloud::Common::AbstractModel
|
12004
12631
|
# @param ProductID: 产品ID
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.1139
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
@@ -34,8 +34,8 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-iotexplorer.rb
|
37
|
-
- lib/v20190423/client.rb
|
38
37
|
- lib/v20190423/models.rb
|
38
|
+
- lib/v20190423/client.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|