tencentcloud-sdk-iotexplorer 1.0.255 → 1.0.256

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: 23892cd54aff8ae829256907721d881af350caa2
4
- data.tar.gz: 3732b027a49d40569c05ac98df266194376b3026
3
+ metadata.gz: fd65e55af511fda8f81f22eab934166c04f2c432
4
+ data.tar.gz: 30a0adbb76523828ebd44c1e53076f26e02a8ed7
5
5
  SHA512:
6
- metadata.gz: d9ea17b7ad1e298787cdee7c688ae103e990d7496d99a9f1c0a15dfa9e2221687a8b9872e0f4bd6dcae5b4480613262b6dc8f23f37e521a47a4cfc71bab8fc77
7
- data.tar.gz: f45ce18c4a502c8bfcd5b18ef60e749cc485e9fd184c9f93c77ba2d5bb7131d77fb06412c59a421e6b87cbdbaa36f5bd71a5c7d3e8c73f818224270d4e1be108
6
+ metadata.gz: 8420c57bda1f7a8f5d02615b9de860b58fb28e86008e002015724939f6f66e5808b19bfa6fa5fed460e94a1253c2c69aceb8eafed0456d7c24611bb591f9e9cf
7
+ data.tar.gz: 4b49b5d60584ab26eba05489cf91ce3e08e3b3e9f62c2efbb067c8f268bd052ef972c884f4c11d23b075c4b3a5cce933d9e60c67742a166192d88e5b5eb4fa94
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.255
1
+ 1.0.256
@@ -941,6 +941,30 @@ module TencentCloud
941
941
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
942
  end
943
943
 
944
+ # 查询绑定到家庭的网关设备的子设备列表
945
+
946
+ # @param request: Request instance for DescribeGatewaySubDeviceList.
947
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeGatewaySubDeviceListRequest`
948
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeGatewaySubDeviceListResponse`
949
+ def DescribeGatewaySubDeviceList(request)
950
+ body = send_request('DescribeGatewaySubDeviceList', request.serialize)
951
+ response = JSON.parse(body)
952
+ if response['Response'].key?('Error') == false
953
+ model = DescribeGatewaySubDeviceListResponse.new
954
+ model.deserialize(response['Response'])
955
+ model
956
+ else
957
+ code = response['Response']['Error']['Code']
958
+ message = response['Response']['Error']['Message']
959
+ reqid = response['Response']['RequestId']
960
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
961
+ end
962
+ rescue TencentCloud::Common::TencentCloudSDKException => e
963
+ raise e
964
+ rescue StandardError => e
965
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
966
+ end
967
+
944
968
  # 用于获取网关可绑定或解绑的子产品
945
969
 
946
970
  # @param request: Request instance for DescribeGatewaySubProducts.
@@ -2104,6 +2104,67 @@ module TencentCloud
2104
2104
  end
2105
2105
  end
2106
2106
 
2107
+ # DescribeGatewaySubDeviceList请求参数结构体
2108
+ class DescribeGatewaySubDeviceListRequest < TencentCloud::Common::AbstractModel
2109
+ # @param GatewayProductId: 网关产品ID
2110
+ # @type GatewayProductId: String
2111
+ # @param GatewayDeviceName: 网关设备名称
2112
+ # @type GatewayDeviceName: String
2113
+ # @param Offset: 分页偏移
2114
+ # @type Offset: Integer
2115
+ # @param Limit: 分页的大小
2116
+ # @type Limit: Integer
2117
+
2118
+ attr_accessor :GatewayProductId, :GatewayDeviceName, :Offset, :Limit
2119
+
2120
+ def initialize(gatewayproductid=nil, gatewaydevicename=nil, offset=nil, limit=nil)
2121
+ @GatewayProductId = gatewayproductid
2122
+ @GatewayDeviceName = gatewaydevicename
2123
+ @Offset = offset
2124
+ @Limit = limit
2125
+ end
2126
+
2127
+ def deserialize(params)
2128
+ @GatewayProductId = params['GatewayProductId']
2129
+ @GatewayDeviceName = params['GatewayDeviceName']
2130
+ @Offset = params['Offset']
2131
+ @Limit = params['Limit']
2132
+ end
2133
+ end
2134
+
2135
+ # DescribeGatewaySubDeviceList返回参数结构体
2136
+ class DescribeGatewaySubDeviceListResponse < TencentCloud::Common::AbstractModel
2137
+ # @param Total: 设备的总数
2138
+ # 注意:此字段可能返回 null,表示取不到有效值。
2139
+ # @type Total: Integer
2140
+ # @param DeviceList: 设备列表
2141
+ # 注意:此字段可能返回 null,表示取不到有效值。
2142
+ # @type DeviceList: Array
2143
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2144
+ # @type RequestId: String
2145
+
2146
+ attr_accessor :Total, :DeviceList, :RequestId
2147
+
2148
+ def initialize(total=nil, devicelist=nil, requestid=nil)
2149
+ @Total = total
2150
+ @DeviceList = devicelist
2151
+ @RequestId = requestid
2152
+ end
2153
+
2154
+ def deserialize(params)
2155
+ @Total = params['Total']
2156
+ unless params['DeviceList'].nil?
2157
+ @DeviceList = []
2158
+ params['DeviceList'].each do |i|
2159
+ familysubdevice_tmp = FamilySubDevice.new
2160
+ familysubdevice_tmp.deserialize(i)
2161
+ @DeviceList << familysubdevice_tmp
2162
+ end
2163
+ end
2164
+ @RequestId = params['RequestId']
2165
+ end
2166
+ end
2167
+
2107
2168
  # DescribeGatewaySubProducts请求参数结构体
2108
2169
  class DescribeGatewaySubProductsRequest < TencentCloud::Common::AbstractModel
2109
2170
  # @param GatewayProductId: 网关产品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: 1.0.255
4
+ version: 1.0.256
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-14 00:00:00.000000000 Z
11
+ date: 2022-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common