tencentcloud-sdk-iotexplorer 3.0.809 → 3.0.811

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 881826c30c21c9663f4d8571bfafeb8e19f595e3
4
- data.tar.gz: 3ee83ff2659db79617235c511f3cb31d52ea558b
3
+ metadata.gz: 940d40823d00a33b82fd0be42aa257dfd1eab5d5
4
+ data.tar.gz: 310e2367a09b374aad8e54f1dc997576a28a2f67
5
5
  SHA512:
6
- metadata.gz: 1ff7335f5fd54edb6cf8af3f2fc94dd22241152494fbdaf2af9f989738f98019eb79b471d6d3a4119ef44d8c2d28e047c3bf2c3c6f68250db3a12bad90b6d278
7
- data.tar.gz: 45bf1d3bb4906d1057ca8b0a3db5ba420713d9bab6dda247ddc8fecc5c83b2328445ec447faa50a88f63f6968e15388c76d0b843db3515d20772a7487b518742
6
+ metadata.gz: 7ca4e61f57360925fc16341772b2fc66220461ef00b893816d77c161df194e4cdce592854f1a9d4648d7a8368cb26b1e8abd6f29e38aa8c14bb030a4e41b75ab
7
+ data.tar.gz: 5a3dc232e5a5607cc16fbd8efe6c2f214176c31bd39fd7cb738301fbf836a57882aa3a192cd3ad7171e617d788d51d145081300f7d959bd846708e6ab8a7023e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.809
1
+ 3.0.811
@@ -1277,6 +1277,30 @@ module TencentCloud
1277
1277
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
1278
  end
1279
1279
 
1280
+ # 获取设备当前固件信息
1281
+
1282
+ # @param request: Request instance for DescribeDeviceFirmwares.
1283
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDeviceFirmwaresRequest`
1284
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDeviceFirmwaresResponse`
1285
+ def DescribeDeviceFirmwares(request)
1286
+ body = send_request('DescribeDeviceFirmwares', request.serialize)
1287
+ response = JSON.parse(body)
1288
+ if response['Response'].key?('Error') == false
1289
+ model = DescribeDeviceFirmwaresResponse.new
1290
+ model.deserialize(response['Response'])
1291
+ model
1292
+ else
1293
+ code = response['Response']['Error']['Code']
1294
+ message = response['Response']['Error']['Message']
1295
+ reqid = response['Response']['RequestId']
1296
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1297
+ end
1298
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1299
+ raise e
1300
+ rescue StandardError => e
1301
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
+ end
1303
+
1280
1304
  # 获取实时位置解析
1281
1305
 
1282
1306
  # @param request: Request instance for DescribeDeviceLocationSolve.
@@ -2947,6 +2947,54 @@ module TencentCloud
2947
2947
  end
2948
2948
  end
2949
2949
 
2950
+ # DescribeDeviceFirmwares请求参数结构体
2951
+ class DescribeDeviceFirmwaresRequest < TencentCloud::Common::AbstractModel
2952
+ # @param ProductId: 产品ID
2953
+ # @type ProductId: String
2954
+ # @param DeviceName: 设备名
2955
+ # @type DeviceName: String
2956
+
2957
+ attr_accessor :ProductId, :DeviceName
2958
+
2959
+ def initialize(productid=nil, devicename=nil)
2960
+ @ProductId = productid
2961
+ @DeviceName = devicename
2962
+ end
2963
+
2964
+ def deserialize(params)
2965
+ @ProductId = params['ProductId']
2966
+ @DeviceName = params['DeviceName']
2967
+ end
2968
+ end
2969
+
2970
+ # DescribeDeviceFirmwares返回参数结构体
2971
+ class DescribeDeviceFirmwaresResponse < TencentCloud::Common::AbstractModel
2972
+ # @param Firmwares: 固件信息列表
2973
+ # 注意:此字段可能返回 null,表示取不到有效值。
2974
+ # @type Firmwares: Array
2975
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2976
+ # @type RequestId: String
2977
+
2978
+ attr_accessor :Firmwares, :RequestId
2979
+
2980
+ def initialize(firmwares=nil, requestid=nil)
2981
+ @Firmwares = firmwares
2982
+ @RequestId = requestid
2983
+ end
2984
+
2985
+ def deserialize(params)
2986
+ unless params['Firmwares'].nil?
2987
+ @Firmwares = []
2988
+ params['Firmwares'].each do |i|
2989
+ devicefirmwareinfo_tmp = DeviceFirmwareInfo.new
2990
+ devicefirmwareinfo_tmp.deserialize(i)
2991
+ @Firmwares << devicefirmwareinfo_tmp
2992
+ end
2993
+ end
2994
+ @RequestId = params['RequestId']
2995
+ end
2996
+ end
2997
+
2950
2998
  # DescribeDeviceLocationSolve请求参数结构体
2951
2999
  class DescribeDeviceLocationSolveRequest < TencentCloud::Common::AbstractModel
2952
3000
  # @param ProductId: 产品ID
@@ -4197,6 +4245,30 @@ module TencentCloud
4197
4245
  end
4198
4246
  end
4199
4247
 
4248
+ # 设备固件信息
4249
+ class DeviceFirmwareInfo < TencentCloud::Common::AbstractModel
4250
+ # @param FwType: 固件类型
4251
+ # @type FwType: String
4252
+ # @param Version: 固件版本
4253
+ # @type Version: String
4254
+ # @param UpdateTime: 最后更新时间
4255
+ # @type UpdateTime: Integer
4256
+
4257
+ attr_accessor :FwType, :Version, :UpdateTime
4258
+
4259
+ def initialize(fwtype=nil, version=nil, updatetime=nil)
4260
+ @FwType = fwtype
4261
+ @Version = version
4262
+ @UpdateTime = updatetime
4263
+ end
4264
+
4265
+ def deserialize(params)
4266
+ @FwType = params['FwType']
4267
+ @Version = params['Version']
4268
+ @UpdateTime = params['UpdateTime']
4269
+ end
4270
+ end
4271
+
4200
4272
  # 设备详细信息
4201
4273
  class DeviceInfo < TencentCloud::Common::AbstractModel
4202
4274
  # @param DeviceName: 设备名
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.809
4
+ version: 3.0.811
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-23 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common