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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190423/client.rb +24 -0
- data/lib/v20190423/models.rb +40 -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: f491ec464a81fdf6c0121756d7de1eab588918fe
|
4
|
+
data.tar.gz: 6316e3333eb571868aa70a396859c291b7fb286f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24d8b058e37cfba8c1c1a384f50b6ae404454319300224e1ab6012c24588680e5947045e7d4115cd2825426548fe8970c4de4c32c9ee2b1669d22e2ff34cccef
|
7
|
+
data.tar.gz: c814b28bec5e0d15ff8008c65653b7bb89b1539da7e7b62778512271dd41a95691bc05d0e69abf79e7b324c89f6a7ffdfc021a694da8b8c91b8f0dd8709acd7b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.769
|
data/lib/v20190423/client.rb
CHANGED
@@ -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.
|
data/lib/v20190423/models.rb
CHANGED
@@ -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.
|
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-
|
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
|