tencentcloud-sdk-iotexplorer 3.0.1130 → 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 +717 -26
- metadata +3 -3
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
@@ -100,8 +100,8 @@ module TencentCloud
|
|
100
100
|
|
101
101
|
attr_accessor :PkgType, :MiniProgramAppId, :DeviceList
|
102
102
|
extend Gem::Deprecate
|
103
|
-
deprecate :MiniProgramAppId, :none, 2025,
|
104
|
-
deprecate :MiniProgramAppId=, :none, 2025,
|
103
|
+
deprecate :MiniProgramAppId, :none, 2025, 9
|
104
|
+
deprecate :MiniProgramAppId=, :none, 2025, 9
|
105
105
|
|
106
106
|
def initialize(pkgtype=nil, miniprogramappid=nil, devicelist=nil)
|
107
107
|
@PkgType = pkgtype
|
@@ -136,8 +136,8 @@ module TencentCloud
|
|
136
136
|
|
137
137
|
attr_accessor :DeviceList, :FailureList, :SuccessList, :RequestId
|
138
138
|
extend Gem::Deprecate
|
139
|
-
deprecate :DeviceList, :none, 2025,
|
140
|
-
deprecate :DeviceList=, :none, 2025,
|
139
|
+
deprecate :DeviceList, :none, 2025, 9
|
140
|
+
deprecate :DeviceList=, :none, 2025, 9
|
141
141
|
|
142
142
|
def initialize(devicelist=nil, failurelist=nil, successlist=nil, requestid=nil)
|
143
143
|
@DeviceList = devicelist
|
@@ -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
|
@@ -4891,17 +5067,21 @@ module TencentCloud
|
|
4891
5067
|
# @type ProductID: String
|
4892
5068
|
# @param FirmwareVersion: 固件版本号
|
4893
5069
|
# @type FirmwareVersion: String
|
5070
|
+
# @param FwType: 固件模块
|
5071
|
+
# @type FwType: String
|
4894
5072
|
|
4895
|
-
attr_accessor :ProductID, :FirmwareVersion
|
5073
|
+
attr_accessor :ProductID, :FirmwareVersion, :FwType
|
4896
5074
|
|
4897
|
-
def initialize(productid=nil, firmwareversion=nil)
|
5075
|
+
def initialize(productid=nil, firmwareversion=nil, fwtype=nil)
|
4898
5076
|
@ProductID = productid
|
4899
5077
|
@FirmwareVersion = firmwareversion
|
5078
|
+
@FwType = fwtype
|
4900
5079
|
end
|
4901
5080
|
|
4902
5081
|
def deserialize(params)
|
4903
5082
|
@ProductID = params['ProductID']
|
4904
5083
|
@FirmwareVersion = params['FirmwareVersion']
|
5084
|
+
@FwType = params['FwType']
|
4905
5085
|
end
|
4906
5086
|
end
|
4907
5087
|
|
@@ -4957,6 +5137,82 @@ module TencentCloud
|
|
4957
5137
|
end
|
4958
5138
|
end
|
4959
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
|
+
|
4960
5216
|
# DescribeFirmwareTask请求参数结构体
|
4961
5217
|
class DescribeFirmwareTaskRequest < TencentCloud::Common::AbstractModel
|
4962
5218
|
# @param ProductID: 产品ID
|
@@ -5003,12 +5259,28 @@ module TencentCloud
|
|
5003
5259
|
# @type CreateUserId: Integer
|
5004
5260
|
# @param CreatorNickName: 创建账号ID昵称
|
5005
5261
|
# @type CreatorNickName: String
|
5262
|
+
# @param DelayTime: 延迟时间
|
5263
|
+
# @type DelayTime: Integer
|
5264
|
+
# @param TimeoutInterval: 超时时间
|
5265
|
+
# @type TimeoutInterval: Integer
|
5266
|
+
# @param UpgradeMethod: 静默升级or用户确认升级
|
5267
|
+
# @type UpgradeMethod: Integer
|
5268
|
+
# @param MaxRetryNum: 最大重试次数
|
5269
|
+
# @type MaxRetryNum: Integer
|
5270
|
+
# @param FwType: 固件类型
|
5271
|
+
# @type FwType: String
|
5272
|
+
# @param RetryInterval: 重试间隔时间单位min
|
5273
|
+
# @type RetryInterval: Integer
|
5274
|
+
# @param OverrideMode: 是否覆盖任务
|
5275
|
+
# @type OverrideMode: Integer
|
5276
|
+
# @param TaskUserDefine: 用户自定义消息
|
5277
|
+
# @type TaskUserDefine: String
|
5006
5278
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5007
5279
|
# @type RequestId: String
|
5008
5280
|
|
5009
|
-
attr_accessor :TaskId, :Status, :CreateTime, :Type, :ProductName, :UpgradeMode, :ProductId, :OriginalVersion, :CreateUserId, :CreatorNickName, :RequestId
|
5281
|
+
attr_accessor :TaskId, :Status, :CreateTime, :Type, :ProductName, :UpgradeMode, :ProductId, :OriginalVersion, :CreateUserId, :CreatorNickName, :DelayTime, :TimeoutInterval, :UpgradeMethod, :MaxRetryNum, :FwType, :RetryInterval, :OverrideMode, :TaskUserDefine, :RequestId
|
5010
5282
|
|
5011
|
-
def initialize(taskid=nil, status=nil, createtime=nil, type=nil, productname=nil, upgrademode=nil, productid=nil, originalversion=nil, createuserid=nil, creatornickname=nil, requestid=nil)
|
5283
|
+
def initialize(taskid=nil, status=nil, createtime=nil, type=nil, productname=nil, upgrademode=nil, productid=nil, originalversion=nil, createuserid=nil, creatornickname=nil, delaytime=nil, timeoutinterval=nil, upgrademethod=nil, maxretrynum=nil, fwtype=nil, retryinterval=nil, overridemode=nil, taskuserdefine=nil, requestid=nil)
|
5012
5284
|
@TaskId = taskid
|
5013
5285
|
@Status = status
|
5014
5286
|
@CreateTime = createtime
|
@@ -5019,6 +5291,14 @@ module TencentCloud
|
|
5019
5291
|
@OriginalVersion = originalversion
|
5020
5292
|
@CreateUserId = createuserid
|
5021
5293
|
@CreatorNickName = creatornickname
|
5294
|
+
@DelayTime = delaytime
|
5295
|
+
@TimeoutInterval = timeoutinterval
|
5296
|
+
@UpgradeMethod = upgrademethod
|
5297
|
+
@MaxRetryNum = maxretrynum
|
5298
|
+
@FwType = fwtype
|
5299
|
+
@RetryInterval = retryinterval
|
5300
|
+
@OverrideMode = overridemode
|
5301
|
+
@TaskUserDefine = taskuserdefine
|
5022
5302
|
@RequestId = requestid
|
5023
5303
|
end
|
5024
5304
|
|
@@ -5033,6 +5313,90 @@ module TencentCloud
|
|
5033
5313
|
@OriginalVersion = params['OriginalVersion']
|
5034
5314
|
@CreateUserId = params['CreateUserId']
|
5035
5315
|
@CreatorNickName = params['CreatorNickName']
|
5316
|
+
@DelayTime = params['DelayTime']
|
5317
|
+
@TimeoutInterval = params['TimeoutInterval']
|
5318
|
+
@UpgradeMethod = params['UpgradeMethod']
|
5319
|
+
@MaxRetryNum = params['MaxRetryNum']
|
5320
|
+
@FwType = params['FwType']
|
5321
|
+
@RetryInterval = params['RetryInterval']
|
5322
|
+
@OverrideMode = params['OverrideMode']
|
5323
|
+
@TaskUserDefine = params['TaskUserDefine']
|
5324
|
+
@RequestId = params['RequestId']
|
5325
|
+
end
|
5326
|
+
end
|
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']
|
5036
5400
|
@RequestId = params['RequestId']
|
5037
5401
|
end
|
5038
5402
|
end
|
@@ -6207,8 +6571,8 @@ module TencentCloud
|
|
6207
6571
|
|
6208
6572
|
attr_accessor :ModelId, :Sn, :ErrCode, :ExpireTime
|
6209
6573
|
extend Gem::Deprecate
|
6210
|
-
deprecate :ModelId, :none, 2025,
|
6211
|
-
deprecate :ModelId=, :none, 2025,
|
6574
|
+
deprecate :ModelId, :none, 2025, 9
|
6575
|
+
deprecate :ModelId=, :none, 2025, 9
|
6212
6576
|
|
6213
6577
|
def initialize(modelid=nil, sn=nil, errcode=nil, expiretime=nil)
|
6214
6578
|
@ModelId = modelid
|
@@ -6442,6 +6806,65 @@ module TencentCloud
|
|
6442
6806
|
end
|
6443
6807
|
end
|
6444
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
|
+
|
6445
6868
|
# 设备的用户
|
6446
6869
|
class DeviceUser < TencentCloud::Common::AbstractModel
|
6447
6870
|
# @param UserId: 用户ID
|
@@ -6956,6 +7379,57 @@ module TencentCloud
|
|
6956
7379
|
end
|
6957
7380
|
end
|
6958
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
|
+
|
6959
7433
|
# GenSingleDeviceSignatureOfPublic请求参数结构体
|
6960
7434
|
class GenSingleDeviceSignatureOfPublicRequest < TencentCloud::Common::AbstractModel
|
6961
7435
|
# @param ProductId: 设备所属的产品ID
|
@@ -7214,19 +7688,23 @@ module TencentCloud
|
|
7214
7688
|
# @type FirmwareVersion: String
|
7215
7689
|
# @param FileSize: 文件大小
|
7216
7690
|
# @type FileSize: Integer
|
7691
|
+
# @param FwType: 模块类型or固件类型
|
7692
|
+
# @type FwType: String
|
7217
7693
|
|
7218
|
-
attr_accessor :ProductID, :FirmwareVersion, :FileSize
|
7694
|
+
attr_accessor :ProductID, :FirmwareVersion, :FileSize, :FwType
|
7219
7695
|
|
7220
|
-
def initialize(productid=nil, firmwareversion=nil, filesize=nil)
|
7696
|
+
def initialize(productid=nil, firmwareversion=nil, filesize=nil, fwtype=nil)
|
7221
7697
|
@ProductID = productid
|
7222
7698
|
@FirmwareVersion = firmwareversion
|
7223
7699
|
@FileSize = filesize
|
7700
|
+
@FwType = fwtype
|
7224
7701
|
end
|
7225
7702
|
|
7226
7703
|
def deserialize(params)
|
7227
7704
|
@ProductID = params['ProductID']
|
7228
7705
|
@FirmwareVersion = params['FirmwareVersion']
|
7229
7706
|
@FileSize = params['FileSize']
|
7707
|
+
@FwType = params['FwType']
|
7230
7708
|
end
|
7231
7709
|
end
|
7232
7710
|
|
@@ -7260,6 +7738,8 @@ module TencentCloud
|
|
7260
7738
|
# @type Limit: Integer
|
7261
7739
|
# @param FirmwareVersion: 设备固件版本号,若不带此参数会返回所有固件版本的设备。传"None-FirmwareVersion"查询无版本号的设备
|
7262
7740
|
# @type FirmwareVersion: String
|
7741
|
+
# @param FwType: 固件类型
|
7742
|
+
# @type FwType: String
|
7263
7743
|
# @param DeviceName: 需要过滤的设备名称
|
7264
7744
|
# @type DeviceName: String
|
7265
7745
|
# @param ProjectId: 项目ID。产品 ID 为 -1 时,该参数必填
|
@@ -7267,13 +7747,14 @@ module TencentCloud
|
|
7267
7747
|
# @param Filters: 每次请求的Filters的上限为10,Filter.Values的上限为1。
|
7268
7748
|
# @type Filters: Array
|
7269
7749
|
|
7270
|
-
attr_accessor :ProductId, :Offset, :Limit, :FirmwareVersion, :DeviceName, :ProjectId, :Filters
|
7750
|
+
attr_accessor :ProductId, :Offset, :Limit, :FirmwareVersion, :FwType, :DeviceName, :ProjectId, :Filters
|
7271
7751
|
|
7272
|
-
def initialize(productid=nil, offset=nil, limit=nil, firmwareversion=nil, devicename=nil, projectid=nil, filters=nil)
|
7752
|
+
def initialize(productid=nil, offset=nil, limit=nil, firmwareversion=nil, fwtype=nil, devicename=nil, projectid=nil, filters=nil)
|
7273
7753
|
@ProductId = productid
|
7274
7754
|
@Offset = offset
|
7275
7755
|
@Limit = limit
|
7276
7756
|
@FirmwareVersion = firmwareversion
|
7757
|
+
@FwType = fwtype
|
7277
7758
|
@DeviceName = devicename
|
7278
7759
|
@ProjectId = projectid
|
7279
7760
|
@Filters = filters
|
@@ -7284,6 +7765,7 @@ module TencentCloud
|
|
7284
7765
|
@Offset = params['Offset']
|
7285
7766
|
@Limit = params['Limit']
|
7286
7767
|
@FirmwareVersion = params['FirmwareVersion']
|
7768
|
+
@FwType = params['FwType']
|
7287
7769
|
@DeviceName = params['DeviceName']
|
7288
7770
|
@ProjectId = params['ProjectId']
|
7289
7771
|
unless params['Filters'].nil?
|
@@ -7806,8 +8288,8 @@ module TencentCloud
|
|
7806
8288
|
|
7807
8289
|
attr_accessor :MiniProgramAppId, :DeviceList
|
7808
8290
|
extend Gem::Deprecate
|
7809
|
-
deprecate :MiniProgramAppId, :none, 2025,
|
7810
|
-
deprecate :MiniProgramAppId=, :none, 2025,
|
8291
|
+
deprecate :MiniProgramAppId, :none, 2025, 9
|
8292
|
+
deprecate :MiniProgramAppId=, :none, 2025, 9
|
7811
8293
|
|
7812
8294
|
def initialize(miniprogramappid=nil, devicelist=nil)
|
7813
8295
|
@MiniProgramAppId = miniprogramappid
|
@@ -8201,10 +8683,18 @@ module TencentCloud
|
|
8201
8683
|
# 注:
|
8202
8684
|
# 符合iana标准 https://www.iana.org/time-zones,例如Asia/Shanghai、Asia/Bangkok
|
8203
8685
|
# @type TimeZone: String
|
8686
|
+
# @param SearchMode: 取值为1表示高级搜索,取值为2表示简单搜索,默认为1
|
8687
|
+
# @type SearchMode: Integer
|
8688
|
+
# @param Limit: 最终输出的条数;仅当SearchMode为2时支持自定义设置,默认为50
|
8689
|
+
# @type Limit: Integer
|
8690
|
+
# @param VectorSearchRadius: 向量搜索的相似度搜索半径,取值范围[-1, 1];仅当SearchMode为2时支持自定义设置,默认为0.5
|
8691
|
+
# @type VectorSearchRadius: Float
|
8692
|
+
# @param VectorSearchTopK: 指定向量搜索最相似的 Top K;仅当SearchMode为2时支持自定义设置,默认为100
|
8693
|
+
# @type VectorSearchTopK: Integer
|
8204
8694
|
|
8205
|
-
attr_accessor :ProductId, :DeviceName, :Query, :SummaryLang, :ChannelId, :EnableSummary, :StartTimeMs, :EndTimeMs, :TimeZone
|
8695
|
+
attr_accessor :ProductId, :DeviceName, :Query, :SummaryLang, :ChannelId, :EnableSummary, :StartTimeMs, :EndTimeMs, :TimeZone, :SearchMode, :Limit, :VectorSearchRadius, :VectorSearchTopK
|
8206
8696
|
|
8207
|
-
def initialize(productid=nil, devicename=nil, query=nil, summarylang=nil, channelid=nil, enablesummary=nil, starttimems=nil, endtimems=nil, timezone=nil)
|
8697
|
+
def initialize(productid=nil, devicename=nil, query=nil, summarylang=nil, channelid=nil, enablesummary=nil, starttimems=nil, endtimems=nil, timezone=nil, searchmode=nil, limit=nil, vectorsearchradius=nil, vectorsearchtopk=nil)
|
8208
8698
|
@ProductId = productid
|
8209
8699
|
@DeviceName = devicename
|
8210
8700
|
@Query = query
|
@@ -8214,6 +8704,10 @@ module TencentCloud
|
|
8214
8704
|
@StartTimeMs = starttimems
|
8215
8705
|
@EndTimeMs = endtimems
|
8216
8706
|
@TimeZone = timezone
|
8707
|
+
@SearchMode = searchmode
|
8708
|
+
@Limit = limit
|
8709
|
+
@VectorSearchRadius = vectorsearchradius
|
8710
|
+
@VectorSearchTopK = vectorsearchtopk
|
8217
8711
|
end
|
8218
8712
|
|
8219
8713
|
def deserialize(params)
|
@@ -8226,6 +8720,10 @@ module TencentCloud
|
|
8226
8720
|
@StartTimeMs = params['StartTimeMs']
|
8227
8721
|
@EndTimeMs = params['EndTimeMs']
|
8228
8722
|
@TimeZone = params['TimeZone']
|
8723
|
+
@SearchMode = params['SearchMode']
|
8724
|
+
@Limit = params['Limit']
|
8725
|
+
@VectorSearchRadius = params['VectorSearchRadius']
|
8726
|
+
@VectorSearchTopK = params['VectorSearchTopK']
|
8229
8727
|
end
|
8230
8728
|
end
|
8231
8729
|
|
@@ -8905,6 +9403,111 @@ module TencentCloud
|
|
8905
9403
|
end
|
8906
9404
|
end
|
8907
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
|
+
|
8908
9511
|
# ListTopicPolicy请求参数结构体
|
8909
9512
|
class ListTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
8910
9513
|
# @param ProductId: 产品ID
|
@@ -9964,6 +10567,46 @@ module TencentCloud
|
|
9964
10567
|
end
|
9965
10568
|
end
|
9966
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
|
+
|
9967
10610
|
# 云存套餐包消耗统计
|
9968
10611
|
class PackageConsumeStat < TencentCloud::Common::AbstractModel
|
9969
10612
|
# @param PackageId: 云存套餐包id
|
@@ -10569,17 +11212,21 @@ module TencentCloud
|
|
10569
11212
|
# @type ProductID: String
|
10570
11213
|
# @param DeviceName: 设备名称。
|
10571
11214
|
# @type DeviceName: String
|
11215
|
+
# @param FwType: 固件类型
|
11216
|
+
# @type FwType: String
|
10572
11217
|
|
10573
|
-
attr_accessor :ProductID, :DeviceName
|
11218
|
+
attr_accessor :ProductID, :DeviceName, :FwType
|
10574
11219
|
|
10575
|
-
def initialize(productid=nil, devicename=nil)
|
11220
|
+
def initialize(productid=nil, devicename=nil, fwtype=nil)
|
10576
11221
|
@ProductID = productid
|
10577
11222
|
@DeviceName = devicename
|
11223
|
+
@FwType = fwtype
|
10578
11224
|
end
|
10579
11225
|
|
10580
11226
|
def deserialize(params)
|
10581
11227
|
@ProductID = params['ProductID']
|
10582
11228
|
@DeviceName = params['DeviceName']
|
11229
|
+
@FwType = params['FwType']
|
10583
11230
|
end
|
10584
11231
|
end
|
10585
11232
|
|
@@ -11291,8 +11938,8 @@ module TencentCloud
|
|
11291
11938
|
|
11292
11939
|
attr_accessor :ModelId, :Sn, :ExpireTime, :PkgType
|
11293
11940
|
extend Gem::Deprecate
|
11294
|
-
deprecate :ModelId, :none, 2025,
|
11295
|
-
deprecate :ModelId=, :none, 2025,
|
11941
|
+
deprecate :ModelId, :none, 2025, 9
|
11942
|
+
deprecate :ModelId=, :none, 2025, 9
|
11296
11943
|
|
11297
11944
|
def initialize(modelid=nil, sn=nil, expiretime=nil, pkgtype=nil)
|
11298
11945
|
@ModelId = modelid
|
@@ -11322,10 +11969,10 @@ module TencentCloud
|
|
11322
11969
|
|
11323
11970
|
attr_accessor :Sn, :ModelId, :ActiveNum
|
11324
11971
|
extend Gem::Deprecate
|
11325
|
-
deprecate :ModelId, :none, 2025,
|
11326
|
-
deprecate :ModelId=, :none, 2025,
|
11327
|
-
deprecate :ActiveNum, :none, 2025,
|
11328
|
-
deprecate :ActiveNum=, :none, 2025,
|
11972
|
+
deprecate :ModelId, :none, 2025, 9
|
11973
|
+
deprecate :ModelId=, :none, 2025, 9
|
11974
|
+
deprecate :ActiveNum, :none, 2025, 9
|
11975
|
+
deprecate :ActiveNum=, :none, 2025, 9
|
11329
11976
|
|
11330
11977
|
def initialize(sn=nil, modelid=nil, activenum=nil)
|
11331
11978
|
@Sn = sn
|
@@ -11935,6 +12582,50 @@ module TencentCloud
|
|
11935
12582
|
end
|
11936
12583
|
end
|
11937
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
|
+
|
11938
12629
|
# UploadFirmware请求参数结构体
|
11939
12630
|
class UploadFirmwareRequest < TencentCloud::Common::AbstractModel
|
11940
12631
|
# @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.1139
|
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-
|
11
|
+
date: 2025-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -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:
|