tencentcloud-sdk-iotexplorer 1.0.238 → 1.0.239

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: 41eeb0e17ccd2b379e61c400c28bc0ca5c6d7604
4
- data.tar.gz: abab0cb8da8ae30723254d2f65b00d2b3807b8f9
3
+ metadata.gz: 2ad20937e178e8aa8cb5af4c7e6d1ce6cb5317e9
4
+ data.tar.gz: 7667d3728b3817998e374c9070689879a79f65bf
5
5
  SHA512:
6
- metadata.gz: 378665492691935571ecf261f2d4bf3832ab602ea2370f405d76e59c6f58af842dac03de17e0956a523026e2b00d2953ba80f297cd4409ab1029a87635b79317
7
- data.tar.gz: 96a91f8436be18b68abcf279cea8e1f965862d1d26dfebefad347ca4368e87183c5bd4646915446eed4de506cf61ef20165efbdcca17ee9f27fd7d23c1930900
6
+ metadata.gz: 806aa74fbdd1426ec3605a4fafaa2cbf6cd31c35ea4d563cfda7aecab0ee07e243125e94fd09d2a5b3465ffe3a74f4fde97d5adadddb3d618503dae72a809705
7
+ data.tar.gz: 304ece357b93f95bdaf680ecbba955143c6bc3312d55eac4fea4a2ee8074b657436541e97981c790bffd4ab31db9669d272b91dd0c77e9115daf54c30bf0f187
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.238
1
+ 1.0.239
@@ -29,6 +29,54 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 批量绑定子设备
33
+
34
+ # @param request: Request instance for BindDevices.
35
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::BindDevicesRequest`
36
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::BindDevicesResponse`
37
+ def BindDevices(request)
38
+ body = send_request('BindDevices', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BindDevicesResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 批量绑定子产品
57
+
58
+ # @param request: Request instance for BindProducts.
59
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::BindProductsRequest`
60
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::BindProductsResponse`
61
+ def BindProducts(request)
62
+ body = send_request('BindProducts', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = BindProductsResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
32
80
  # 提供给用户异步调用设备行为的能力
33
81
 
34
82
  # @param request: Request instance for CallDeviceActionAsync.
@@ -653,6 +701,30 @@ module TencentCloud
653
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
702
  end
655
703
 
704
+ # 获取网关产品已经绑定的子产品
705
+
706
+ # @param request: Request instance for DescribeBindedProducts.
707
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeBindedProductsRequest`
708
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeBindedProductsResponse`
709
+ def DescribeBindedProducts(request)
710
+ body = send_request('DescribeBindedProducts', request.serialize)
711
+ response = JSON.parse(body)
712
+ if response['Response'].key?('Error') == false
713
+ model = DescribeBindedProductsResponse.new
714
+ model.deserialize(response['Response'])
715
+ model
716
+ else
717
+ code = response['Response']['Error']['Code']
718
+ message = response['Response']['Error']['Message']
719
+ reqid = response['Response']['RequestId']
720
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
721
+ end
722
+ rescue TencentCloud::Common::TencentCloudSDKException => e
723
+ raise e
724
+ rescue StandardError => e
725
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
726
+ end
727
+
656
728
  # 用于查看某个设备的详细信息
657
729
 
658
730
  # @param request: Request instance for DescribeDevice.
@@ -677,6 +749,30 @@ module TencentCloud
677
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
750
  end
679
751
 
752
+ # 查询设备绑定的网关设备
753
+
754
+ # @param request: Request instance for DescribeDeviceBindGateway.
755
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDeviceBindGatewayRequest`
756
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDeviceBindGatewayResponse`
757
+ def DescribeDeviceBindGateway(request)
758
+ body = send_request('DescribeDeviceBindGateway', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = DescribeDeviceBindGatewayResponse.new
762
+ model.deserialize(response['Response'])
763
+ model
764
+ else
765
+ code = response['Response']['Error']['Code']
766
+ message = response['Response']['Error']['Message']
767
+ reqid = response['Response']['RequestId']
768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
+ end
770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
771
+ raise e
772
+ rescue StandardError => e
773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
+ end
775
+
680
776
  # 根据设备产品ID、设备名称,获取设备上报的属性数据。
681
777
 
682
778
  # @param request: Request instance for DescribeDeviceData.
@@ -821,6 +917,54 @@ module TencentCloud
821
917
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
918
  end
823
919
 
920
+ # 获取网关绑定的子设备列表
921
+
922
+ # @param request: Request instance for DescribeGatewayBindDevices.
923
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeGatewayBindDevicesRequest`
924
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeGatewayBindDevicesResponse`
925
+ def DescribeGatewayBindDevices(request)
926
+ body = send_request('DescribeGatewayBindDevices', request.serialize)
927
+ response = JSON.parse(body)
928
+ if response['Response'].key?('Error') == false
929
+ model = DescribeGatewayBindDevicesResponse.new
930
+ model.deserialize(response['Response'])
931
+ model
932
+ else
933
+ code = response['Response']['Error']['Code']
934
+ message = response['Response']['Error']['Message']
935
+ reqid = response['Response']['RequestId']
936
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
937
+ end
938
+ rescue TencentCloud::Common::TencentCloudSDKException => e
939
+ raise e
940
+ rescue StandardError => e
941
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
+ end
943
+
944
+ # 用于获取网关可绑定或解绑的子产品
945
+
946
+ # @param request: Request instance for DescribeGatewaySubProducts.
947
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeGatewaySubProductsRequest`
948
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeGatewaySubProductsResponse`
949
+ def DescribeGatewaySubProducts(request)
950
+ body = send_request('DescribeGatewaySubProducts', request.serialize)
951
+ response = JSON.parse(body)
952
+ if response['Response'].key?('Error') == false
953
+ model = DescribeGatewaySubProductsResponse.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
+
824
968
  # 提供查询LoRa自定义频点详情的能力
825
969
 
826
970
  # @param request: Request instance for DescribeLoRaFrequency.
@@ -1229,6 +1373,30 @@ module TencentCloud
1229
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1230
1374
  end
1231
1375
 
1376
+ # 获取指定网关设备的子设备列表
1377
+
1378
+ # @param request: Request instance for GetGatewaySubDeviceList.
1379
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::GetGatewaySubDeviceListRequest`
1380
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GetGatewaySubDeviceListResponse`
1381
+ def GetGatewaySubDeviceList(request)
1382
+ body = send_request('GetGatewaySubDeviceList', request.serialize)
1383
+ response = JSON.parse(body)
1384
+ if response['Response'].key?('Error') == false
1385
+ model = GetGatewaySubDeviceListResponse.new
1386
+ model.deserialize(response['Response'])
1387
+ model
1388
+ else
1389
+ code = response['Response']['Error']['Code']
1390
+ message = response['Response']['Error']['Message']
1391
+ reqid = response['Response']['RequestId']
1392
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1393
+ end
1394
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1395
+ raise e
1396
+ rescue StandardError => e
1397
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
+ end
1399
+
1232
1400
  # 获取 LoRa 网关列表接口
1233
1401
 
1234
1402
  # @param request: Request instance for GetLoRaGatewayList.
@@ -1829,6 +1997,54 @@ module TencentCloud
1829
1997
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1830
1998
  end
1831
1999
 
2000
+ # 批量解绑子设备
2001
+
2002
+ # @param request: Request instance for UnbindDevices.
2003
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::UnbindDevicesRequest`
2004
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::UnbindDevicesResponse`
2005
+ def UnbindDevices(request)
2006
+ body = send_request('UnbindDevices', request.serialize)
2007
+ response = JSON.parse(body)
2008
+ if response['Response'].key?('Error') == false
2009
+ model = UnbindDevicesResponse.new
2010
+ model.deserialize(response['Response'])
2011
+ model
2012
+ else
2013
+ code = response['Response']['Error']['Code']
2014
+ message = response['Response']['Error']['Message']
2015
+ reqid = response['Response']['RequestId']
2016
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2017
+ end
2018
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2019
+ raise e
2020
+ rescue StandardError => e
2021
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2022
+ end
2023
+
2024
+ # 批量解绑子产品
2025
+
2026
+ # @param request: Request instance for UnbindProducts.
2027
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::UnbindProductsRequest`
2028
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::UnbindProductsResponse`
2029
+ def UnbindProducts(request)
2030
+ body = send_request('UnbindProducts', request.serialize)
2031
+ response = JSON.parse(body)
2032
+ if response['Response'].key?('Error') == false
2033
+ model = UnbindProductsResponse.new
2034
+ model.deserialize(response['Response'])
2035
+ model
2036
+ else
2037
+ code = response['Response']['Error']['Code']
2038
+ message = response['Response']['Error']['Message']
2039
+ reqid = response['Response']['RequestId']
2040
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2041
+ end
2042
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2043
+ raise e
2044
+ rescue StandardError => e
2045
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2046
+ end
2047
+
1832
2048
  # 批量禁用启用设备
1833
2049
 
1834
2050
  # @param request: Request instance for UpdateDevicesEnableState.
@@ -101,6 +101,156 @@ module TencentCloud
101
101
  end
102
102
  end
103
103
 
104
+ # BindDeviceInfo
105
+ class BindDeviceInfo < TencentCloud::Common::AbstractModel
106
+ # @param ProductId: 产品ID。
107
+ # @type ProductId: String
108
+ # @param DeviceName: 设备名称。
109
+ # @type DeviceName: String
110
+
111
+ attr_accessor :ProductId, :DeviceName
112
+
113
+ def initialize(productid=nil, devicename=nil)
114
+ @ProductId = productid
115
+ @DeviceName = devicename
116
+ end
117
+
118
+ def deserialize(params)
119
+ @ProductId = params['ProductId']
120
+ @DeviceName = params['DeviceName']
121
+ end
122
+ end
123
+
124
+ # BindDevices请求参数结构体
125
+ class BindDevicesRequest < TencentCloud::Common::AbstractModel
126
+ # @param GatewayProductId: 网关设备的产品ID。
127
+ # @type GatewayProductId: String
128
+ # @param GatewayDeviceName: 网关设备的设备名。
129
+ # @type GatewayDeviceName: String
130
+ # @param ProductId: 被绑定设备的产品ID。
131
+ # @type ProductId: String
132
+ # @param DeviceNames: 被绑定的多个设备名。
133
+ # @type DeviceNames: Array
134
+
135
+ attr_accessor :GatewayProductId, :GatewayDeviceName, :ProductId, :DeviceNames
136
+
137
+ def initialize(gatewayproductid=nil, gatewaydevicename=nil, productid=nil, devicenames=nil)
138
+ @GatewayProductId = gatewayproductid
139
+ @GatewayDeviceName = gatewaydevicename
140
+ @ProductId = productid
141
+ @DeviceNames = devicenames
142
+ end
143
+
144
+ def deserialize(params)
145
+ @GatewayProductId = params['GatewayProductId']
146
+ @GatewayDeviceName = params['GatewayDeviceName']
147
+ @ProductId = params['ProductId']
148
+ @DeviceNames = params['DeviceNames']
149
+ end
150
+ end
151
+
152
+ # BindDevices返回参数结构体
153
+ class BindDevicesResponse < TencentCloud::Common::AbstractModel
154
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
155
+ # @type RequestId: String
156
+
157
+ attr_accessor :RequestId
158
+
159
+ def initialize(requestid=nil)
160
+ @RequestId = requestid
161
+ end
162
+
163
+ def deserialize(params)
164
+ @RequestId = params['RequestId']
165
+ end
166
+ end
167
+
168
+ # 绑定、未绑定产品详细信息
169
+ class BindProductInfo < TencentCloud::Common::AbstractModel
170
+ # @param ProductId: 产品ID。
171
+ # @type ProductId: String
172
+ # @param ProductName: 产品名称。
173
+ # @type ProductName: String
174
+ # @param ProjectId: 产品所属项目ID。
175
+ # 注意:此字段可能返回 null,表示取不到有效值。
176
+ # @type ProjectId: String
177
+ # @param DataProtocol: 物模型类型。
178
+ # 注意:此字段可能返回 null,表示取不到有效值。
179
+ # @type DataProtocol: Integer
180
+ # @param CategoryId: 产品分组模板ID
181
+ # 注意:此字段可能返回 null,表示取不到有效值。
182
+ # @type CategoryId: Integer
183
+ # @param ProductType: 产品类型
184
+ # 注意:此字段可能返回 null,表示取不到有效值。
185
+ # @type ProductType: Integer
186
+ # @param NetType: 连接类型
187
+ # 注意:此字段可能返回 null,表示取不到有效值。
188
+ # @type NetType: String
189
+ # @param DevStatus: 状态
190
+ # 注意:此字段可能返回 null,表示取不到有效值。
191
+ # @type DevStatus: String
192
+
193
+ attr_accessor :ProductId, :ProductName, :ProjectId, :DataProtocol, :CategoryId, :ProductType, :NetType, :DevStatus
194
+
195
+ def initialize(productid=nil, productname=nil, projectid=nil, dataprotocol=nil, categoryid=nil, producttype=nil, nettype=nil, devstatus=nil)
196
+ @ProductId = productid
197
+ @ProductName = productname
198
+ @ProjectId = projectid
199
+ @DataProtocol = dataprotocol
200
+ @CategoryId = categoryid
201
+ @ProductType = producttype
202
+ @NetType = nettype
203
+ @DevStatus = devstatus
204
+ end
205
+
206
+ def deserialize(params)
207
+ @ProductId = params['ProductId']
208
+ @ProductName = params['ProductName']
209
+ @ProjectId = params['ProjectId']
210
+ @DataProtocol = params['DataProtocol']
211
+ @CategoryId = params['CategoryId']
212
+ @ProductType = params['ProductType']
213
+ @NetType = params['NetType']
214
+ @DevStatus = params['DevStatus']
215
+ end
216
+ end
217
+
218
+ # BindProducts请求参数结构体
219
+ class BindProductsRequest < TencentCloud::Common::AbstractModel
220
+ # @param GatewayProductId: 网关产品ID。
221
+ # @type GatewayProductId: String
222
+ # @param ProductIds: 待绑定的子产品ID数组。
223
+ # @type ProductIds: Array
224
+
225
+ attr_accessor :GatewayProductId, :ProductIds
226
+
227
+ def initialize(gatewayproductid=nil, productids=nil)
228
+ @GatewayProductId = gatewayproductid
229
+ @ProductIds = productids
230
+ end
231
+
232
+ def deserialize(params)
233
+ @GatewayProductId = params['GatewayProductId']
234
+ @ProductIds = params['ProductIds']
235
+ end
236
+ end
237
+
238
+ # BindProducts返回参数结构体
239
+ class BindProductsResponse < TencentCloud::Common::AbstractModel
240
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
241
+ # @type RequestId: String
242
+
243
+ attr_accessor :RequestId
244
+
245
+ def initialize(requestid=nil)
246
+ @RequestId = requestid
247
+ end
248
+
249
+ def deserialize(params)
250
+ @RequestId = params['RequestId']
251
+ end
252
+ end
253
+
104
254
  # CallDeviceActionAsync请求参数结构体
105
255
  class CallDeviceActionAsyncRequest < TencentCloud::Common::AbstractModel
106
256
  # @param ProductId: 产品Id
@@ -1347,6 +1497,107 @@ module TencentCloud
1347
1497
  end
1348
1498
  end
1349
1499
 
1500
+ # DescribeBindedProducts请求参数结构体
1501
+ class DescribeBindedProductsRequest < TencentCloud::Common::AbstractModel
1502
+ # @param GatewayProductId: 网关产品ID
1503
+ # @type GatewayProductId: String
1504
+ # @param Offset: 分页偏移量
1505
+ # @type Offset: Integer
1506
+ # @param Limit: 分页大小
1507
+ # @type Limit: Integer
1508
+
1509
+ attr_accessor :GatewayProductId, :Offset, :Limit
1510
+
1511
+ def initialize(gatewayproductid=nil, offset=nil, limit=nil)
1512
+ @GatewayProductId = gatewayproductid
1513
+ @Offset = offset
1514
+ @Limit = limit
1515
+ end
1516
+
1517
+ def deserialize(params)
1518
+ @GatewayProductId = params['GatewayProductId']
1519
+ @Offset = params['Offset']
1520
+ @Limit = params['Limit']
1521
+ end
1522
+ end
1523
+
1524
+ # DescribeBindedProducts返回参数结构体
1525
+ class DescribeBindedProductsResponse < TencentCloud::Common::AbstractModel
1526
+ # @param Products: 当前分页的子产品数组
1527
+ # @type Products: Array
1528
+ # @param Total: 绑定的子产品总数量
1529
+ # @type Total: Integer
1530
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1531
+ # @type RequestId: String
1532
+
1533
+ attr_accessor :Products, :Total, :RequestId
1534
+
1535
+ def initialize(products=nil, total=nil, requestid=nil)
1536
+ @Products = products
1537
+ @Total = total
1538
+ @RequestId = requestid
1539
+ end
1540
+
1541
+ def deserialize(params)
1542
+ unless params['Products'].nil?
1543
+ @Products = []
1544
+ params['Products'].each do |i|
1545
+ bindproductinfo_tmp = BindProductInfo.new
1546
+ bindproductinfo_tmp.deserialize(i)
1547
+ @Products << bindproductinfo_tmp
1548
+ end
1549
+ end
1550
+ @Total = params['Total']
1551
+ @RequestId = params['RequestId']
1552
+ end
1553
+ end
1554
+
1555
+ # DescribeDeviceBindGateway请求参数结构体
1556
+ class DescribeDeviceBindGatewayRequest < TencentCloud::Common::AbstractModel
1557
+ # @param ProductId: 产品Id
1558
+ # @type ProductId: String
1559
+ # @param DeviceName: 设备名
1560
+ # @type DeviceName: String
1561
+
1562
+ attr_accessor :ProductId, :DeviceName
1563
+
1564
+ def initialize(productid=nil, devicename=nil)
1565
+ @ProductId = productid
1566
+ @DeviceName = devicename
1567
+ end
1568
+
1569
+ def deserialize(params)
1570
+ @ProductId = params['ProductId']
1571
+ @DeviceName = params['DeviceName']
1572
+ end
1573
+ end
1574
+
1575
+ # DescribeDeviceBindGateway返回参数结构体
1576
+ class DescribeDeviceBindGatewayResponse < TencentCloud::Common::AbstractModel
1577
+ # @param GatewayProductId: 网关产品ID
1578
+ # 注意:此字段可能返回 null,表示取不到有效值。
1579
+ # @type GatewayProductId: String
1580
+ # @param GatewayDeviceName: 网关设备名
1581
+ # 注意:此字段可能返回 null,表示取不到有效值。
1582
+ # @type GatewayDeviceName: String
1583
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1584
+ # @type RequestId: String
1585
+
1586
+ attr_accessor :GatewayProductId, :GatewayDeviceName, :RequestId
1587
+
1588
+ def initialize(gatewayproductid=nil, gatewaydevicename=nil, requestid=nil)
1589
+ @GatewayProductId = gatewayproductid
1590
+ @GatewayDeviceName = gatewaydevicename
1591
+ @RequestId = requestid
1592
+ end
1593
+
1594
+ def deserialize(params)
1595
+ @GatewayProductId = params['GatewayProductId']
1596
+ @GatewayDeviceName = params['GatewayDeviceName']
1597
+ @RequestId = params['RequestId']
1598
+ end
1599
+ end
1600
+
1350
1601
  # DescribeDeviceDataHistory请求参数结构体
1351
1602
  class DescribeDeviceDataHistoryRequest < TencentCloud::Common::AbstractModel
1352
1603
  # @param MinTime: 区间开始时间(Unix 时间戳,毫秒级)
@@ -1786,6 +2037,132 @@ module TencentCloud
1786
2037
  end
1787
2038
  end
1788
2039
 
2040
+ # DescribeGatewayBindDevices请求参数结构体
2041
+ class DescribeGatewayBindDevicesRequest < TencentCloud::Common::AbstractModel
2042
+ # @param GatewayProductId: 网关设备的产品ID
2043
+ # @type GatewayProductId: String
2044
+ # @param GatewayDeviceName: 网关设备的设备名
2045
+ # @type GatewayDeviceName: String
2046
+ # @param ProductId: 子产品的ID
2047
+ # @type ProductId: String
2048
+ # @param Offset: 分页的偏移
2049
+ # @type Offset: Integer
2050
+ # @param Limit: 分页的页大小
2051
+ # @type Limit: Integer
2052
+
2053
+ attr_accessor :GatewayProductId, :GatewayDeviceName, :ProductId, :Offset, :Limit
2054
+
2055
+ def initialize(gatewayproductid=nil, gatewaydevicename=nil, productid=nil, offset=nil, limit=nil)
2056
+ @GatewayProductId = gatewayproductid
2057
+ @GatewayDeviceName = gatewaydevicename
2058
+ @ProductId = productid
2059
+ @Offset = offset
2060
+ @Limit = limit
2061
+ end
2062
+
2063
+ def deserialize(params)
2064
+ @GatewayProductId = params['GatewayProductId']
2065
+ @GatewayDeviceName = params['GatewayDeviceName']
2066
+ @ProductId = params['ProductId']
2067
+ @Offset = params['Offset']
2068
+ @Limit = params['Limit']
2069
+ end
2070
+ end
2071
+
2072
+ # DescribeGatewayBindDevices返回参数结构体
2073
+ class DescribeGatewayBindDevicesResponse < TencentCloud::Common::AbstractModel
2074
+ # @param Devices: 子设备信息。
2075
+ # @type Devices: Array
2076
+ # @param Total: 子设备总数。
2077
+ # @type Total: Integer
2078
+ # @param ProductName: 子设备所属的产品名。
2079
+ # @type ProductName: String
2080
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2081
+ # @type RequestId: String
2082
+
2083
+ attr_accessor :Devices, :Total, :ProductName, :RequestId
2084
+
2085
+ def initialize(devices=nil, total=nil, productname=nil, requestid=nil)
2086
+ @Devices = devices
2087
+ @Total = total
2088
+ @ProductName = productname
2089
+ @RequestId = requestid
2090
+ end
2091
+
2092
+ def deserialize(params)
2093
+ unless params['Devices'].nil?
2094
+ @Devices = []
2095
+ params['Devices'].each do |i|
2096
+ binddeviceinfo_tmp = BindDeviceInfo.new
2097
+ binddeviceinfo_tmp.deserialize(i)
2098
+ @Devices << binddeviceinfo_tmp
2099
+ end
2100
+ end
2101
+ @Total = params['Total']
2102
+ @ProductName = params['ProductName']
2103
+ @RequestId = params['RequestId']
2104
+ end
2105
+ end
2106
+
2107
+ # DescribeGatewaySubProducts请求参数结构体
2108
+ class DescribeGatewaySubProductsRequest < TencentCloud::Common::AbstractModel
2109
+ # @param GatewayProductId: 网关产品ID
2110
+ # @type GatewayProductId: String
2111
+ # @param Offset: 分页的偏移量
2112
+ # @type Offset: Integer
2113
+ # @param Limit: 分页的大小
2114
+ # @type Limit: Integer
2115
+ # @param ProjectId: 项目Id
2116
+ # @type ProjectId: String
2117
+
2118
+ attr_accessor :GatewayProductId, :Offset, :Limit, :ProjectId
2119
+
2120
+ def initialize(gatewayproductid=nil, offset=nil, limit=nil, projectid=nil)
2121
+ @GatewayProductId = gatewayproductid
2122
+ @Offset = offset
2123
+ @Limit = limit
2124
+ @ProjectId = projectid
2125
+ end
2126
+
2127
+ def deserialize(params)
2128
+ @GatewayProductId = params['GatewayProductId']
2129
+ @Offset = params['Offset']
2130
+ @Limit = params['Limit']
2131
+ @ProjectId = params['ProjectId']
2132
+ end
2133
+ end
2134
+
2135
+ # DescribeGatewaySubProducts返回参数结构体
2136
+ class DescribeGatewaySubProductsResponse < TencentCloud::Common::AbstractModel
2137
+ # @param Products: 当前分页的可绑定或解绑的产品信息。
2138
+ # @type Products: Array
2139
+ # @param Total: 可绑定或解绑的产品总数
2140
+ # @type Total: Integer
2141
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2142
+ # @type RequestId: String
2143
+
2144
+ attr_accessor :Products, :Total, :RequestId
2145
+
2146
+ def initialize(products=nil, total=nil, requestid=nil)
2147
+ @Products = products
2148
+ @Total = total
2149
+ @RequestId = requestid
2150
+ end
2151
+
2152
+ def deserialize(params)
2153
+ unless params['Products'].nil?
2154
+ @Products = []
2155
+ params['Products'].each do |i|
2156
+ bindproductinfo_tmp = BindProductInfo.new
2157
+ bindproductinfo_tmp.deserialize(i)
2158
+ @Products << bindproductinfo_tmp
2159
+ end
2160
+ end
2161
+ @Total = params['Total']
2162
+ @RequestId = params['RequestId']
2163
+ end
2164
+ end
2165
+
1789
2166
  # DescribeLoRaFrequency请求参数结构体
1790
2167
  class DescribeLoRaFrequencyRequest < TencentCloud::Common::AbstractModel
1791
2168
  # @param FreqId: 频点唯一ID
@@ -2567,6 +2944,62 @@ module TencentCloud
2567
2944
  end
2568
2945
  end
2569
2946
 
2947
+ # 子设备详情
2948
+ class FamilySubDevice < TencentCloud::Common::AbstractModel
2949
+ # @param ProductId: 产品Id
2950
+ # @type ProductId: String
2951
+ # @param DeviceName: 设备名称
2952
+ # @type DeviceName: String
2953
+ # @param DeviceId: 设备ID
2954
+ # @type DeviceId: String
2955
+ # @param AliasName: 设备别名
2956
+ # 注意:此字段可能返回 null,表示取不到有效值。
2957
+ # @type AliasName: String
2958
+ # @param FamilyId: 设备绑定的家庭ID
2959
+ # @type FamilyId: String
2960
+ # @param RoomId: 设备所在的房间ID,默认"0"
2961
+ # 注意:此字段可能返回 null,表示取不到有效值。
2962
+ # @type RoomId: String
2963
+ # @param IconUrl: 图标
2964
+ # 注意:此字段可能返回 null,表示取不到有效值。
2965
+ # @type IconUrl: String
2966
+ # @param IconUrlGrid: grid图标
2967
+ # 注意:此字段可能返回 null,表示取不到有效值。
2968
+ # @type IconUrlGrid: String
2969
+ # @param CreateTime: 设备绑定时间戳
2970
+ # @type CreateTime: Integer
2971
+ # @param UpdateTime: 设备更新时间戳
2972
+ # @type UpdateTime: Integer
2973
+
2974
+ attr_accessor :ProductId, :DeviceName, :DeviceId, :AliasName, :FamilyId, :RoomId, :IconUrl, :IconUrlGrid, :CreateTime, :UpdateTime
2975
+
2976
+ def initialize(productid=nil, devicename=nil, deviceid=nil, aliasname=nil, familyid=nil, roomid=nil, iconurl=nil, iconurlgrid=nil, createtime=nil, updatetime=nil)
2977
+ @ProductId = productid
2978
+ @DeviceName = devicename
2979
+ @DeviceId = deviceid
2980
+ @AliasName = aliasname
2981
+ @FamilyId = familyid
2982
+ @RoomId = roomid
2983
+ @IconUrl = iconurl
2984
+ @IconUrlGrid = iconurlgrid
2985
+ @CreateTime = createtime
2986
+ @UpdateTime = updatetime
2987
+ end
2988
+
2989
+ def deserialize(params)
2990
+ @ProductId = params['ProductId']
2991
+ @DeviceName = params['DeviceName']
2992
+ @DeviceId = params['DeviceId']
2993
+ @AliasName = params['AliasName']
2994
+ @FamilyId = params['FamilyId']
2995
+ @RoomId = params['RoomId']
2996
+ @IconUrl = params['IconUrl']
2997
+ @IconUrlGrid = params['IconUrlGrid']
2998
+ @CreateTime = params['CreateTime']
2999
+ @UpdateTime = params['UpdateTime']
3000
+ end
3001
+ end
3002
+
2570
3003
  # 围栏告警位置点
2571
3004
  class FenceAlarmPoint < TencentCloud::Common::AbstractModel
2572
3005
  # @param AlarmTime: 围栏告警时间
@@ -3063,6 +3496,63 @@ module TencentCloud
3063
3496
  end
3064
3497
  end
3065
3498
 
3499
+ # GetGatewaySubDeviceList请求参数结构体
3500
+ class GetGatewaySubDeviceListRequest < TencentCloud::Common::AbstractModel
3501
+ # @param GatewayProductId: 网关产品ID
3502
+ # @type GatewayProductId: String
3503
+ # @param GatewayDeviceName: 网关设备名称
3504
+ # @type GatewayDeviceName: String
3505
+ # @param Offset: 分页偏移
3506
+ # @type Offset: Integer
3507
+ # @param Limit: 分页的大小
3508
+ # @type Limit: Integer
3509
+
3510
+ attr_accessor :GatewayProductId, :GatewayDeviceName, :Offset, :Limit
3511
+
3512
+ def initialize(gatewayproductid=nil, gatewaydevicename=nil, offset=nil, limit=nil)
3513
+ @GatewayProductId = gatewayproductid
3514
+ @GatewayDeviceName = gatewaydevicename
3515
+ @Offset = offset
3516
+ @Limit = limit
3517
+ end
3518
+
3519
+ def deserialize(params)
3520
+ @GatewayProductId = params['GatewayProductId']
3521
+ @GatewayDeviceName = params['GatewayDeviceName']
3522
+ @Offset = params['Offset']
3523
+ @Limit = params['Limit']
3524
+ end
3525
+ end
3526
+
3527
+ # GetGatewaySubDeviceList返回参数结构体
3528
+ class GetGatewaySubDeviceListResponse < TencentCloud::Common::AbstractModel
3529
+ # @param Total: 设备的总数
3530
+ # 注意:此字段可能返回 null,表示取不到有效值。
3531
+ # @type Total: Integer
3532
+ # @param DeviceList: 设备列表
3533
+ # 注意:此字段可能返回 null,表示取不到有效值。
3534
+ # @type DeviceList: :class:`Tencentcloud::Iotexplorer.v20190423.models.FamilySubDevice`
3535
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3536
+ # @type RequestId: String
3537
+
3538
+ attr_accessor :Total, :DeviceList, :RequestId
3539
+
3540
+ def initialize(total=nil, devicelist=nil, requestid=nil)
3541
+ @Total = total
3542
+ @DeviceList = devicelist
3543
+ @RequestId = requestid
3544
+ end
3545
+
3546
+ def deserialize(params)
3547
+ @Total = params['Total']
3548
+ unless params['DeviceList'].nil?
3549
+ @DeviceList = FamilySubDevice.new
3550
+ @DeviceList.deserialize(params['DeviceList'])
3551
+ end
3552
+ @RequestId = params['RequestId']
3553
+ end
3554
+ end
3555
+
3066
3556
  # GetLoRaGatewayList请求参数结构体
3067
3557
  class GetLoRaGatewayListRequest < TencentCloud::Common::AbstractModel
3068
3558
  # @param IsCommunity: 是否是社区网关
@@ -5089,6 +5579,90 @@ module TencentCloud
5089
5579
  end
5090
5580
  end
5091
5581
 
5582
+ # UnbindDevices请求参数结构体
5583
+ class UnbindDevicesRequest < TencentCloud::Common::AbstractModel
5584
+ # @param GatewayProductId: 网关设备的产品ID
5585
+ # @type GatewayProductId: String
5586
+ # @param GatewayDeviceName: 网关设备的设备名
5587
+ # @type GatewayDeviceName: String
5588
+ # @param ProductId: 产品ID
5589
+ # @type ProductId: String
5590
+ # @param DeviceNames: 设备名列表
5591
+ # @type DeviceNames: Array
5592
+
5593
+ attr_accessor :GatewayProductId, :GatewayDeviceName, :ProductId, :DeviceNames
5594
+
5595
+ def initialize(gatewayproductid=nil, gatewaydevicename=nil, productid=nil, devicenames=nil)
5596
+ @GatewayProductId = gatewayproductid
5597
+ @GatewayDeviceName = gatewaydevicename
5598
+ @ProductId = productid
5599
+ @DeviceNames = devicenames
5600
+ end
5601
+
5602
+ def deserialize(params)
5603
+ @GatewayProductId = params['GatewayProductId']
5604
+ @GatewayDeviceName = params['GatewayDeviceName']
5605
+ @ProductId = params['ProductId']
5606
+ @DeviceNames = params['DeviceNames']
5607
+ end
5608
+ end
5609
+
5610
+ # UnbindDevices返回参数结构体
5611
+ class UnbindDevicesResponse < TencentCloud::Common::AbstractModel
5612
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5613
+ # @type RequestId: String
5614
+
5615
+ attr_accessor :RequestId
5616
+
5617
+ def initialize(requestid=nil)
5618
+ @RequestId = requestid
5619
+ end
5620
+
5621
+ def deserialize(params)
5622
+ @RequestId = params['RequestId']
5623
+ end
5624
+ end
5625
+
5626
+ # UnbindProducts请求参数结构体
5627
+ class UnbindProductsRequest < TencentCloud::Common::AbstractModel
5628
+ # @param GatewayProductId: 网关产品ID
5629
+ # @type GatewayProductId: String
5630
+ # @param ProductIds: 待解绑的子产品ID数组
5631
+ # @type ProductIds: Array
5632
+
5633
+ attr_accessor :GatewayProductId, :ProductIds
5634
+
5635
+ def initialize(gatewayproductid=nil, productids=nil)
5636
+ @GatewayProductId = gatewayproductid
5637
+ @ProductIds = productids
5638
+ end
5639
+
5640
+ def deserialize(params)
5641
+ @GatewayProductId = params['GatewayProductId']
5642
+ @ProductIds = params['ProductIds']
5643
+ end
5644
+ end
5645
+
5646
+ # UnbindProducts返回参数结构体
5647
+ class UnbindProductsResponse < TencentCloud::Common::AbstractModel
5648
+ # @param GatewayDeviceNames: 绑定了待解绑的LoRa产品下的设备的网关设备列表
5649
+ # @type GatewayDeviceNames: Array
5650
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5651
+ # @type RequestId: String
5652
+
5653
+ attr_accessor :GatewayDeviceNames, :RequestId
5654
+
5655
+ def initialize(gatewaydevicenames=nil, requestid=nil)
5656
+ @GatewayDeviceNames = gatewaydevicenames
5657
+ @RequestId = requestid
5658
+ end
5659
+
5660
+ def deserialize(params)
5661
+ @GatewayDeviceNames = params['GatewayDeviceNames']
5662
+ @RequestId = params['RequestId']
5663
+ end
5664
+ end
5665
+
5092
5666
  # UpdateDevicesEnableState请求参数结构体
5093
5667
  class UpdateDevicesEnableStateRequest < TencentCloud::Common::AbstractModel
5094
5668
  # @param DevicesItems: 多个设备标识
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.238
4
+ version: 1.0.239
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-01-10 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common