tencentcloud-sdk-iotexplorer 3.0.767 → 3.0.769

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: 84a16a40ae335d6176087f244fd31f83c689cdbb
4
- data.tar.gz: a47ba8289a95bf39760eed2d5f4953a5474b832d
3
+ metadata.gz: f491ec464a81fdf6c0121756d7de1eab588918fe
4
+ data.tar.gz: 6316e3333eb571868aa70a396859c291b7fb286f
5
5
  SHA512:
6
- metadata.gz: 76a1bf40fc453e5f31ee366a818e789b3b020707d5e1a11b75e0af72bd23b49be48a023c38aaa2b45ca8f3d11910f566596e5e92cd6aa5ae173eae52e45c9354
7
- data.tar.gz: 9a7cad8bb70e883c25642a7fc1f6367ff7fe3bc402aedc1e58cfb6868f667a5fae568f5996643cc71c82c5d2f99b39ba40ebc842bf1a7677ebb10009cd9d90b3
6
+ metadata.gz: 24d8b058e37cfba8c1c1a384f50b6ae404454319300224e1ab6012c24588680e5947045e7d4115cd2825426548fe8970c4de4c32c9ee2b1669d22e2ff34cccef
7
+ data.tar.gz: c814b28bec5e0d15ff8008c65653b7bb89b1539da7e7b62778512271dd41a95691bc05d0e69abf79e7b324c89f6a7ffdfc021a694da8b8c91b8f0dd8709acd7b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.767
1
+ 3.0.769
@@ -821,6 +821,30 @@ module TencentCloud
821
821
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
822
  end
823
823
 
824
+ # 获取设备固件信息
825
+
826
+ # @param request: Request instance for DescribeDeviceFirmWare.
827
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDeviceFirmWareRequest`
828
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDeviceFirmWareResponse`
829
+ def DescribeDeviceFirmWare(request)
830
+ body = send_request('DescribeDeviceFirmWare', request.serialize)
831
+ response = JSON.parse(body)
832
+ if response['Response'].key?('Error') == false
833
+ model = DescribeDeviceFirmWareResponse.new
834
+ model.deserialize(response['Response'])
835
+ model
836
+ else
837
+ code = response['Response']['Error']['Code']
838
+ message = response['Response']['Error']['Message']
839
+ reqid = response['Response']['RequestId']
840
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
841
+ end
842
+ rescue TencentCloud::Common::TencentCloudSDKException => e
843
+ raise e
844
+ rescue StandardError => e
845
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
+ end
847
+
824
848
  # 获取实时位置解析
825
849
 
826
850
  # @param request: Request instance for DescribeDeviceLocationSolve.
@@ -1750,6 +1750,46 @@ module TencentCloud
1750
1750
  end
1751
1751
  end
1752
1752
 
1753
+ # DescribeDeviceFirmWare请求参数结构体
1754
+ class DescribeDeviceFirmWareRequest < TencentCloud::Common::AbstractModel
1755
+ # @param ProductId: 产品ID。
1756
+ # @type ProductId: String
1757
+ # @param DeviceName: 设备名称。
1758
+ # @type DeviceName: String
1759
+
1760
+ attr_accessor :ProductId, :DeviceName
1761
+
1762
+ def initialize(productid=nil, devicename=nil)
1763
+ @ProductId = productid
1764
+ @DeviceName = devicename
1765
+ end
1766
+
1767
+ def deserialize(params)
1768
+ @ProductId = params['ProductId']
1769
+ @DeviceName = params['DeviceName']
1770
+ end
1771
+ end
1772
+
1773
+ # DescribeDeviceFirmWare返回参数结构体
1774
+ class DescribeDeviceFirmWareResponse < TencentCloud::Common::AbstractModel
1775
+ # @param Data: 固件信息
1776
+ # @type Data: String
1777
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1778
+ # @type RequestId: String
1779
+
1780
+ attr_accessor :Data, :RequestId
1781
+
1782
+ def initialize(data=nil, requestid=nil)
1783
+ @Data = data
1784
+ @RequestId = requestid
1785
+ end
1786
+
1787
+ def deserialize(params)
1788
+ @Data = params['Data']
1789
+ @RequestId = params['RequestId']
1790
+ end
1791
+ end
1792
+
1753
1793
  # DescribeDeviceLocationSolve请求参数结构体
1754
1794
  class DescribeDeviceLocationSolveRequest < TencentCloud::Common::AbstractModel
1755
1795
  # @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.767
4
+ version: 3.0.769
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-02-21 00:00:00.000000000 Z
11
+ date: 2024-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common