tencentcloud-sdk-iotexplorer 3.0.768 → 3.0.770

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: 26da3c41605a234fdba2acd3f42d65066bd9d2ed
4
- data.tar.gz: c074108c2af408b4785a4c52747deeaadfe474cd
3
+ metadata.gz: a1f7b36f1eb1a958a648843042ba8653bdb935be
4
+ data.tar.gz: 214cfdb1d9da2421ae73fc5fdbd5ec947e7c0b18
5
5
  SHA512:
6
- metadata.gz: abd201263f72dd52b8aad3a518e6ea32fb1209ac848db07af158871f4a5bf233251aebe991ad538e1ddc54f34cb28d96c486639daeb28e938a7e981f7c7b4234
7
- data.tar.gz: ed46148a3b3742b0d11981a84fe0ae7f9f5c661569425f9c9fa4e41e6c2d15a6caaee759fe7786a579db5040dfcf45e58b3f5b16717d5a93b44361f00ce26ea6
6
+ metadata.gz: ff567961eb13311bace5d0f838b2615ef75d3634e4ae402f91aa2d4a1cbc2851864fb43b943b5df96c7ca6f51097dad857a861879de7bff936740c47262b0f8c
7
+ data.tar.gz: 51a5ad52130dedb0f62ab960bb8df6611782c5a2264a4c5a5f8953d99914e764da676fa56df27b607e903f897d9e6ca7fb248bb4d52f4f9ec857c1eb736f74a8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.768
1
+ 3.0.770
@@ -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.768
4
+ version: 3.0.770
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-22 00:00:00.000000000 Z
11
+ date: 2024-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common