tencentcloud-sdk-weilingwith 3.0.795 → 3.0.797
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/v20230427/client.rb +168 -0
- data/lib/v20230427/models.rb +497 -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: 3420dc1b6bdca5687df3acba55e385b94d505791
|
4
|
+
data.tar.gz: db3124be1778b8a326c7db0106a7956a8e6eecb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeb06cf72227054577e1da11d4de75fa26205237b610f79fe8fa7177a7b00c0b7b037e640369cfb0421d0e5a295711d406344b8eae0d12e843cbbc786f6f5a47
|
7
|
+
data.tar.gz: 55d1ee7daea3cc99285364f5a2685a77630fc33d003a6b4e40a90a2ba436d7bdd4b5348e26476991e59548abf4aed1ad6b00d11880a77636dcff6151a82a7291
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.797
|
data/lib/v20230427/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 批量删除设备
|
81
|
+
|
82
|
+
# @param request: Request instance for BatchDeleteDevice.
|
83
|
+
# @type request: :class:`Tencentcloud::weilingwith::V20230427::BatchDeleteDeviceRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::weilingwith::V20230427::BatchDeleteDeviceResponse`
|
85
|
+
def BatchDeleteDevice(request)
|
86
|
+
body = send_request('BatchDeleteDevice', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = BatchDeleteDeviceResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 批量消警
|
81
105
|
|
82
106
|
# @param request: Request instance for BatchKillAlarm.
|
@@ -221,6 +245,30 @@ module TencentCloud
|
|
221
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
246
|
end
|
223
247
|
|
248
|
+
# 删除设备分组
|
249
|
+
|
250
|
+
# @param request: Request instance for DeleteDeviceGroup.
|
251
|
+
# @type request: :class:`Tencentcloud::weilingwith::V20230427::DeleteDeviceGroupRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::weilingwith::V20230427::DeleteDeviceGroupResponse`
|
253
|
+
def DeleteDeviceGroup(request)
|
254
|
+
body = send_request('DeleteDeviceGroup', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DeleteDeviceGroupResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
224
272
|
# 动作列表查询
|
225
273
|
|
226
274
|
# @param request: Request instance for DescribeActionList.
|
@@ -509,6 +557,30 @@ module TencentCloud
|
|
509
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
558
|
end
|
511
559
|
|
560
|
+
# 设备分组列表
|
561
|
+
|
562
|
+
# @param request: Request instance for DescribeDeviceGroupList.
|
563
|
+
# @type request: :class:`Tencentcloud::weilingwith::V20230427::DescribeDeviceGroupListRequest`
|
564
|
+
# @rtype: :class:`Tencentcloud::weilingwith::V20230427::DescribeDeviceGroupListResponse`
|
565
|
+
def DescribeDeviceGroupList(request)
|
566
|
+
body = send_request('DescribeDeviceGroupList', request.serialize)
|
567
|
+
response = JSON.parse(body)
|
568
|
+
if response['Response'].key?('Error') == false
|
569
|
+
model = DescribeDeviceGroupListResponse.new
|
570
|
+
model.deserialize(response['Response'])
|
571
|
+
model
|
572
|
+
else
|
573
|
+
code = response['Response']['Error']['Code']
|
574
|
+
message = response['Response']['Error']['Message']
|
575
|
+
reqid = response['Response']['RequestId']
|
576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
+
end
|
578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
+
raise e
|
580
|
+
rescue StandardError => e
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
+
end
|
583
|
+
|
512
584
|
# 设备列表查询/单个查询(支持通过筛选条件查询,设备类型、标签、PID、空间)
|
513
585
|
|
514
586
|
# @param request: Request instance for DescribeDeviceList.
|
@@ -1301,6 +1373,54 @@ module TencentCloud
|
|
1301
1373
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1302
1374
|
end
|
1303
1375
|
|
1376
|
+
# 批量修改设备自定义字段值
|
1377
|
+
|
1378
|
+
# @param request: Request instance for ModifyDeviceField.
|
1379
|
+
# @type request: :class:`Tencentcloud::weilingwith::V20230427::ModifyDeviceFieldRequest`
|
1380
|
+
# @rtype: :class:`Tencentcloud::weilingwith::V20230427::ModifyDeviceFieldResponse`
|
1381
|
+
def ModifyDeviceField(request)
|
1382
|
+
body = send_request('ModifyDeviceField', request.serialize)
|
1383
|
+
response = JSON.parse(body)
|
1384
|
+
if response['Response'].key?('Error') == false
|
1385
|
+
model = ModifyDeviceFieldResponse.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
|
+
|
1400
|
+
# 批量修改设备组
|
1401
|
+
|
1402
|
+
# @param request: Request instance for ModifyDeviceGroup.
|
1403
|
+
# @type request: :class:`Tencentcloud::weilingwith::V20230427::ModifyDeviceGroupRequest`
|
1404
|
+
# @rtype: :class:`Tencentcloud::weilingwith::V20230427::ModifyDeviceGroupResponse`
|
1405
|
+
def ModifyDeviceGroup(request)
|
1406
|
+
body = send_request('ModifyDeviceGroup', request.serialize)
|
1407
|
+
response = JSON.parse(body)
|
1408
|
+
if response['Response'].key?('Error') == false
|
1409
|
+
model = ModifyDeviceGroupResponse.new
|
1410
|
+
model.deserialize(response['Response'])
|
1411
|
+
model
|
1412
|
+
else
|
1413
|
+
code = response['Response']['Error']['Code']
|
1414
|
+
message = response['Response']['Error']['Message']
|
1415
|
+
reqid = response['Response']['RequestId']
|
1416
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1417
|
+
end
|
1418
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1419
|
+
raise e
|
1420
|
+
rescue StandardError => e
|
1421
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1422
|
+
end
|
1423
|
+
|
1304
1424
|
# 批量修改设备名字
|
1305
1425
|
|
1306
1426
|
# @param request: Request instance for ModifyDeviceName.
|
@@ -1325,6 +1445,30 @@ module TencentCloud
|
|
1325
1445
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1326
1446
|
end
|
1327
1447
|
|
1448
|
+
# 批量修改设备标签
|
1449
|
+
|
1450
|
+
# @param request: Request instance for ModifyDeviceTag.
|
1451
|
+
# @type request: :class:`Tencentcloud::weilingwith::V20230427::ModifyDeviceTagRequest`
|
1452
|
+
# @rtype: :class:`Tencentcloud::weilingwith::V20230427::ModifyDeviceTagResponse`
|
1453
|
+
def ModifyDeviceTag(request)
|
1454
|
+
body = send_request('ModifyDeviceTag', request.serialize)
|
1455
|
+
response = JSON.parse(body)
|
1456
|
+
if response['Response'].key?('Error') == false
|
1457
|
+
model = ModifyDeviceTagResponse.new
|
1458
|
+
model.deserialize(response['Response'])
|
1459
|
+
model
|
1460
|
+
else
|
1461
|
+
code = response['Response']['Error']['Code']
|
1462
|
+
message = response['Response']['Error']['Message']
|
1463
|
+
reqid = response['Response']['RequestId']
|
1464
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1465
|
+
end
|
1466
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1467
|
+
raise e
|
1468
|
+
rescue StandardError => e
|
1469
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1470
|
+
end
|
1471
|
+
|
1328
1472
|
# 上报应用消息
|
1329
1473
|
|
1330
1474
|
# @param request: Request instance for ReportAppMessage.
|
@@ -1349,6 +1493,30 @@ module TencentCloud
|
|
1349
1493
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1350
1494
|
end
|
1351
1495
|
|
1496
|
+
# 设备分组新增/修改
|
1497
|
+
|
1498
|
+
# @param request: Request instance for SaveDeviceGroup.
|
1499
|
+
# @type request: :class:`Tencentcloud::weilingwith::V20230427::SaveDeviceGroupRequest`
|
1500
|
+
# @rtype: :class:`Tencentcloud::weilingwith::V20230427::SaveDeviceGroupResponse`
|
1501
|
+
def SaveDeviceGroup(request)
|
1502
|
+
body = send_request('SaveDeviceGroup', request.serialize)
|
1503
|
+
response = JSON.parse(body)
|
1504
|
+
if response['Response'].key?('Error') == false
|
1505
|
+
model = SaveDeviceGroupResponse.new
|
1506
|
+
model.deserialize(response['Response'])
|
1507
|
+
model
|
1508
|
+
else
|
1509
|
+
code = response['Response']['Error']['Code']
|
1510
|
+
message = response['Response']['Error']['Message']
|
1511
|
+
reqid = response['Response']['RequestId']
|
1512
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1513
|
+
end
|
1514
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1515
|
+
raise e
|
1516
|
+
rescue StandardError => e
|
1517
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1518
|
+
end
|
1519
|
+
|
1352
1520
|
# 断流接口
|
1353
1521
|
|
1354
1522
|
# @param request: Request instance for StopVideoStreaming.
|
data/lib/v20230427/models.rb
CHANGED
@@ -978,6 +978,53 @@ module TencentCloud
|
|
978
978
|
end
|
979
979
|
end
|
980
980
|
|
981
|
+
# BatchDeleteDevice请求参数结构体
|
982
|
+
class BatchDeleteDeviceRequest < TencentCloud::Common::AbstractModel
|
983
|
+
# @param WorkspaceId: 工作空间id
|
984
|
+
# @type WorkspaceId: Integer
|
985
|
+
# @param WIDSet: 设备wid数组列表
|
986
|
+
# @type WIDSet: Array
|
987
|
+
# @param ApplicationToken: 应用token
|
988
|
+
# @type ApplicationToken: String
|
989
|
+
|
990
|
+
attr_accessor :WorkspaceId, :WIDSet, :ApplicationToken
|
991
|
+
|
992
|
+
def initialize(workspaceid=nil, widset=nil, applicationtoken=nil)
|
993
|
+
@WorkspaceId = workspaceid
|
994
|
+
@WIDSet = widset
|
995
|
+
@ApplicationToken = applicationtoken
|
996
|
+
end
|
997
|
+
|
998
|
+
def deserialize(params)
|
999
|
+
@WorkspaceId = params['WorkspaceId']
|
1000
|
+
@WIDSet = params['WIDSet']
|
1001
|
+
@ApplicationToken = params['ApplicationToken']
|
1002
|
+
end
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# BatchDeleteDevice返回参数结构体
|
1006
|
+
class BatchDeleteDeviceResponse < TencentCloud::Common::AbstractModel
|
1007
|
+
# @param Result: 返回请求结果
|
1008
|
+
# @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.EmptyRes`
|
1009
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1010
|
+
# @type RequestId: String
|
1011
|
+
|
1012
|
+
attr_accessor :Result, :RequestId
|
1013
|
+
|
1014
|
+
def initialize(result=nil, requestid=nil)
|
1015
|
+
@Result = result
|
1016
|
+
@RequestId = requestid
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
def deserialize(params)
|
1020
|
+
unless params['Result'].nil?
|
1021
|
+
@Result = EmptyRes.new
|
1022
|
+
@Result.deserialize(params['Result'])
|
1023
|
+
end
|
1024
|
+
@RequestId = params['RequestId']
|
1025
|
+
end
|
1026
|
+
end
|
1027
|
+
|
981
1028
|
# BatchKillAlarm请求参数结构体
|
982
1029
|
class BatchKillAlarmRequest < TencentCloud::Common::AbstractModel
|
983
1030
|
# @param BeginTime: 告警开始时间,必填,时间戳秒
|
@@ -1766,6 +1813,53 @@ module TencentCloud
|
|
1766
1813
|
end
|
1767
1814
|
end
|
1768
1815
|
|
1816
|
+
# DeleteDeviceGroup请求参数结构体
|
1817
|
+
class DeleteDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
1818
|
+
# @param Id: 设备分组的id
|
1819
|
+
# @type Id: Integer
|
1820
|
+
# @param WorkspaceId: 工作空间的id
|
1821
|
+
# @type WorkspaceId: Integer
|
1822
|
+
# @param ApplicationToken: 应用token
|
1823
|
+
# @type ApplicationToken: String
|
1824
|
+
|
1825
|
+
attr_accessor :Id, :WorkspaceId, :ApplicationToken
|
1826
|
+
|
1827
|
+
def initialize(id=nil, workspaceid=nil, applicationtoken=nil)
|
1828
|
+
@Id = id
|
1829
|
+
@WorkspaceId = workspaceid
|
1830
|
+
@ApplicationToken = applicationtoken
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
def deserialize(params)
|
1834
|
+
@Id = params['Id']
|
1835
|
+
@WorkspaceId = params['WorkspaceId']
|
1836
|
+
@ApplicationToken = params['ApplicationToken']
|
1837
|
+
end
|
1838
|
+
end
|
1839
|
+
|
1840
|
+
# DeleteDeviceGroup返回参数结构体
|
1841
|
+
class DeleteDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
1842
|
+
# @param Result: 无返回信息
|
1843
|
+
# @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.EmptyRes`
|
1844
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1845
|
+
# @type RequestId: String
|
1846
|
+
|
1847
|
+
attr_accessor :Result, :RequestId
|
1848
|
+
|
1849
|
+
def initialize(result=nil, requestid=nil)
|
1850
|
+
@Result = result
|
1851
|
+
@RequestId = requestid
|
1852
|
+
end
|
1853
|
+
|
1854
|
+
def deserialize(params)
|
1855
|
+
unless params['Result'].nil?
|
1856
|
+
@Result = EmptyRes.new
|
1857
|
+
@Result.deserialize(params['Result'])
|
1858
|
+
end
|
1859
|
+
@RequestId = params['RequestId']
|
1860
|
+
end
|
1861
|
+
end
|
1862
|
+
|
1769
1863
|
# DescribeActionList请求参数结构体
|
1770
1864
|
class DescribeActionListRequest < TencentCloud::Common::AbstractModel
|
1771
1865
|
# @param WorkspaceId: 工作空间id
|
@@ -2614,6 +2708,77 @@ module TencentCloud
|
|
2614
2708
|
end
|
2615
2709
|
end
|
2616
2710
|
|
2711
|
+
# DescribeDeviceGroupList请求参数结构体
|
2712
|
+
class DescribeDeviceGroupListRequest < TencentCloud::Common::AbstractModel
|
2713
|
+
# @param ApplicationToken: 应用token
|
2714
|
+
# @type ApplicationToken: String
|
2715
|
+
# @param WorkspaceId: 工作空间ID
|
2716
|
+
# @type WorkspaceId: Integer
|
2717
|
+
# @param GroupId: 分组id, 不传默认全部
|
2718
|
+
# @type GroupId: Integer
|
2719
|
+
|
2720
|
+
attr_accessor :ApplicationToken, :WorkspaceId, :GroupId
|
2721
|
+
|
2722
|
+
def initialize(applicationtoken=nil, workspaceid=nil, groupid=nil)
|
2723
|
+
@ApplicationToken = applicationtoken
|
2724
|
+
@WorkspaceId = workspaceid
|
2725
|
+
@GroupId = groupid
|
2726
|
+
end
|
2727
|
+
|
2728
|
+
def deserialize(params)
|
2729
|
+
@ApplicationToken = params['ApplicationToken']
|
2730
|
+
@WorkspaceId = params['WorkspaceId']
|
2731
|
+
@GroupId = params['GroupId']
|
2732
|
+
end
|
2733
|
+
end
|
2734
|
+
|
2735
|
+
# 设备分组信息
|
2736
|
+
class DescribeDeviceGroupListRes < TencentCloud::Common::AbstractModel
|
2737
|
+
# @param List: 设备分组list
|
2738
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2739
|
+
# @type List: Array
|
2740
|
+
|
2741
|
+
attr_accessor :List
|
2742
|
+
|
2743
|
+
def initialize(list=nil)
|
2744
|
+
@List = list
|
2745
|
+
end
|
2746
|
+
|
2747
|
+
def deserialize(params)
|
2748
|
+
unless params['List'].nil?
|
2749
|
+
@List = []
|
2750
|
+
params['List'].each do |i|
|
2751
|
+
describegroupinfo_tmp = DescribeGroupInfo.new
|
2752
|
+
describegroupinfo_tmp.deserialize(i)
|
2753
|
+
@List << describegroupinfo_tmp
|
2754
|
+
end
|
2755
|
+
end
|
2756
|
+
end
|
2757
|
+
end
|
2758
|
+
|
2759
|
+
# DescribeDeviceGroupList返回参数结构体
|
2760
|
+
class DescribeDeviceGroupListResponse < TencentCloud::Common::AbstractModel
|
2761
|
+
# @param Result: 分组信息
|
2762
|
+
# @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.DescribeDeviceGroupListRes`
|
2763
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2764
|
+
# @type RequestId: String
|
2765
|
+
|
2766
|
+
attr_accessor :Result, :RequestId
|
2767
|
+
|
2768
|
+
def initialize(result=nil, requestid=nil)
|
2769
|
+
@Result = result
|
2770
|
+
@RequestId = requestid
|
2771
|
+
end
|
2772
|
+
|
2773
|
+
def deserialize(params)
|
2774
|
+
unless params['Result'].nil?
|
2775
|
+
@Result = DescribeDeviceGroupListRes.new
|
2776
|
+
@Result.deserialize(params['Result'])
|
2777
|
+
end
|
2778
|
+
@RequestId = params['RequestId']
|
2779
|
+
end
|
2780
|
+
end
|
2781
|
+
|
2617
2782
|
# DescribeDeviceList请求参数结构体
|
2618
2783
|
class DescribeDeviceListRequest < TencentCloud::Common::AbstractModel
|
2619
2784
|
# @param WorkspaceId: 工作空间id
|
@@ -3470,6 +3635,36 @@ module TencentCloud
|
|
3470
3635
|
end
|
3471
3636
|
end
|
3472
3637
|
|
3638
|
+
# 分组信息实体类
|
3639
|
+
class DescribeGroupInfo < TencentCloud::Common::AbstractModel
|
3640
|
+
# @param Id: 分组
|
3641
|
+
# @type Id: Integer
|
3642
|
+
# @param Name: 设备分组名称
|
3643
|
+
# @type Name: String
|
3644
|
+
# @param Description: 分组描述
|
3645
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3646
|
+
# @type Description: String
|
3647
|
+
# @param ParentId: 分组父级ID
|
3648
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3649
|
+
# @type ParentId: Integer
|
3650
|
+
|
3651
|
+
attr_accessor :Id, :Name, :Description, :ParentId
|
3652
|
+
|
3653
|
+
def initialize(id=nil, name=nil, description=nil, parentid=nil)
|
3654
|
+
@Id = id
|
3655
|
+
@Name = name
|
3656
|
+
@Description = description
|
3657
|
+
@ParentId = parentid
|
3658
|
+
end
|
3659
|
+
|
3660
|
+
def deserialize(params)
|
3661
|
+
@Id = params['Id']
|
3662
|
+
@Name = params['Name']
|
3663
|
+
@Description = params['Description']
|
3664
|
+
@ParentId = params['ParentId']
|
3665
|
+
end
|
3666
|
+
end
|
3667
|
+
|
3473
3668
|
# DescribeInterfaceList请求参数结构体
|
3474
3669
|
class DescribeInterfaceListRequest < TencentCloud::Common::AbstractModel
|
3475
3670
|
# @param ApplicationToken: 应用token
|
@@ -6154,6 +6349,158 @@ module TencentCloud
|
|
6154
6349
|
end
|
6155
6350
|
end
|
6156
6351
|
|
6352
|
+
# 设备自定义值修改信息入参
|
6353
|
+
class ModifyDeviceFieldInfo < TencentCloud::Common::AbstractModel
|
6354
|
+
# @param WID: 设备id
|
6355
|
+
# @type WID: String
|
6356
|
+
# @param Key: 自定义字段key
|
6357
|
+
# @type Key: String
|
6358
|
+
# @param Val: 自定义字段值
|
6359
|
+
# @type Val: String
|
6360
|
+
|
6361
|
+
attr_accessor :WID, :Key, :Val
|
6362
|
+
|
6363
|
+
def initialize(wid=nil, key=nil, val=nil)
|
6364
|
+
@WID = wid
|
6365
|
+
@Key = key
|
6366
|
+
@Val = val
|
6367
|
+
end
|
6368
|
+
|
6369
|
+
def deserialize(params)
|
6370
|
+
@WID = params['WID']
|
6371
|
+
@Key = params['Key']
|
6372
|
+
@Val = params['Val']
|
6373
|
+
end
|
6374
|
+
end
|
6375
|
+
|
6376
|
+
# ModifyDeviceField请求参数结构体
|
6377
|
+
class ModifyDeviceFieldRequest < TencentCloud::Common::AbstractModel
|
6378
|
+
# @param WorkspaceId: 工作空间id
|
6379
|
+
# @type WorkspaceId: Integer
|
6380
|
+
# @param Set: 设备自定义字段修改信息集合
|
6381
|
+
# @type Set: Array
|
6382
|
+
# @param ApplicationToken: 应用token
|
6383
|
+
# @type ApplicationToken: String
|
6384
|
+
|
6385
|
+
attr_accessor :WorkspaceId, :Set, :ApplicationToken
|
6386
|
+
|
6387
|
+
def initialize(workspaceid=nil, set=nil, applicationtoken=nil)
|
6388
|
+
@WorkspaceId = workspaceid
|
6389
|
+
@Set = set
|
6390
|
+
@ApplicationToken = applicationtoken
|
6391
|
+
end
|
6392
|
+
|
6393
|
+
def deserialize(params)
|
6394
|
+
@WorkspaceId = params['WorkspaceId']
|
6395
|
+
unless params['Set'].nil?
|
6396
|
+
@Set = []
|
6397
|
+
params['Set'].each do |i|
|
6398
|
+
modifydevicefieldinfo_tmp = ModifyDeviceFieldInfo.new
|
6399
|
+
modifydevicefieldinfo_tmp.deserialize(i)
|
6400
|
+
@Set << modifydevicefieldinfo_tmp
|
6401
|
+
end
|
6402
|
+
end
|
6403
|
+
@ApplicationToken = params['ApplicationToken']
|
6404
|
+
end
|
6405
|
+
end
|
6406
|
+
|
6407
|
+
# ModifyDeviceField返回参数结构体
|
6408
|
+
class ModifyDeviceFieldResponse < TencentCloud::Common::AbstractModel
|
6409
|
+
# @param Result: 返回请求结果
|
6410
|
+
# @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.EmptyRes`
|
6411
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6412
|
+
# @type RequestId: String
|
6413
|
+
|
6414
|
+
attr_accessor :Result, :RequestId
|
6415
|
+
|
6416
|
+
def initialize(result=nil, requestid=nil)
|
6417
|
+
@Result = result
|
6418
|
+
@RequestId = requestid
|
6419
|
+
end
|
6420
|
+
|
6421
|
+
def deserialize(params)
|
6422
|
+
unless params['Result'].nil?
|
6423
|
+
@Result = EmptyRes.new
|
6424
|
+
@Result.deserialize(params['Result'])
|
6425
|
+
end
|
6426
|
+
@RequestId = params['RequestId']
|
6427
|
+
end
|
6428
|
+
end
|
6429
|
+
|
6430
|
+
# 设备组修改信息入参
|
6431
|
+
class ModifyDeviceGroupInfo < TencentCloud::Common::AbstractModel
|
6432
|
+
# @param WID: 设备id
|
6433
|
+
# @type WID: String
|
6434
|
+
# @param GroupId: 设备分组id
|
6435
|
+
# @type GroupId: Integer
|
6436
|
+
|
6437
|
+
attr_accessor :WID, :GroupId
|
6438
|
+
|
6439
|
+
def initialize(wid=nil, groupid=nil)
|
6440
|
+
@WID = wid
|
6441
|
+
@GroupId = groupid
|
6442
|
+
end
|
6443
|
+
|
6444
|
+
def deserialize(params)
|
6445
|
+
@WID = params['WID']
|
6446
|
+
@GroupId = params['GroupId']
|
6447
|
+
end
|
6448
|
+
end
|
6449
|
+
|
6450
|
+
# ModifyDeviceGroup请求参数结构体
|
6451
|
+
class ModifyDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
6452
|
+
# @param WorkspaceId: 工作空间id
|
6453
|
+
# @type WorkspaceId: Integer
|
6454
|
+
# @param Set: 设备组修改信息集合
|
6455
|
+
# @type Set: Array
|
6456
|
+
# @param ApplicationToken: 应用token
|
6457
|
+
# @type ApplicationToken: String
|
6458
|
+
|
6459
|
+
attr_accessor :WorkspaceId, :Set, :ApplicationToken
|
6460
|
+
|
6461
|
+
def initialize(workspaceid=nil, set=nil, applicationtoken=nil)
|
6462
|
+
@WorkspaceId = workspaceid
|
6463
|
+
@Set = set
|
6464
|
+
@ApplicationToken = applicationtoken
|
6465
|
+
end
|
6466
|
+
|
6467
|
+
def deserialize(params)
|
6468
|
+
@WorkspaceId = params['WorkspaceId']
|
6469
|
+
unless params['Set'].nil?
|
6470
|
+
@Set = []
|
6471
|
+
params['Set'].each do |i|
|
6472
|
+
modifydevicegroupinfo_tmp = ModifyDeviceGroupInfo.new
|
6473
|
+
modifydevicegroupinfo_tmp.deserialize(i)
|
6474
|
+
@Set << modifydevicegroupinfo_tmp
|
6475
|
+
end
|
6476
|
+
end
|
6477
|
+
@ApplicationToken = params['ApplicationToken']
|
6478
|
+
end
|
6479
|
+
end
|
6480
|
+
|
6481
|
+
# ModifyDeviceGroup返回参数结构体
|
6482
|
+
class ModifyDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
6483
|
+
# @param Result: 返回请求结果
|
6484
|
+
# @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.EmptyRes`
|
6485
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6486
|
+
# @type RequestId: String
|
6487
|
+
|
6488
|
+
attr_accessor :Result, :RequestId
|
6489
|
+
|
6490
|
+
def initialize(result=nil, requestid=nil)
|
6491
|
+
@Result = result
|
6492
|
+
@RequestId = requestid
|
6493
|
+
end
|
6494
|
+
|
6495
|
+
def deserialize(params)
|
6496
|
+
unless params['Result'].nil?
|
6497
|
+
@Result = EmptyRes.new
|
6498
|
+
@Result.deserialize(params['Result'])
|
6499
|
+
end
|
6500
|
+
@RequestId = params['RequestId']
|
6501
|
+
end
|
6502
|
+
end
|
6503
|
+
|
6157
6504
|
# ModifyDeviceName请求参数结构体
|
6158
6505
|
class ModifyDeviceNameRequest < TencentCloud::Common::AbstractModel
|
6159
6506
|
# @param WorkspaceId: 工作空间id
|
@@ -6208,6 +6555,80 @@ module TencentCloud
|
|
6208
6555
|
end
|
6209
6556
|
end
|
6210
6557
|
|
6558
|
+
# 设备标签修改信息入参
|
6559
|
+
class ModifyDeviceTagInfo < TencentCloud::Common::AbstractModel
|
6560
|
+
# @param WID: 设备id
|
6561
|
+
# @type WID: String
|
6562
|
+
# @param NameSet: 设备标签名称集合
|
6563
|
+
# @type NameSet: Array
|
6564
|
+
|
6565
|
+
attr_accessor :WID, :NameSet
|
6566
|
+
|
6567
|
+
def initialize(wid=nil, nameset=nil)
|
6568
|
+
@WID = wid
|
6569
|
+
@NameSet = nameset
|
6570
|
+
end
|
6571
|
+
|
6572
|
+
def deserialize(params)
|
6573
|
+
@WID = params['WID']
|
6574
|
+
@NameSet = params['NameSet']
|
6575
|
+
end
|
6576
|
+
end
|
6577
|
+
|
6578
|
+
# ModifyDeviceTag请求参数结构体
|
6579
|
+
class ModifyDeviceTagRequest < TencentCloud::Common::AbstractModel
|
6580
|
+
# @param WorkspaceId: 工作空间id
|
6581
|
+
# @type WorkspaceId: Integer
|
6582
|
+
# @param Set: 设备标签修改信息集合
|
6583
|
+
# @type Set: Array
|
6584
|
+
# @param ApplicationToken: 应用token
|
6585
|
+
# @type ApplicationToken: String
|
6586
|
+
|
6587
|
+
attr_accessor :WorkspaceId, :Set, :ApplicationToken
|
6588
|
+
|
6589
|
+
def initialize(workspaceid=nil, set=nil, applicationtoken=nil)
|
6590
|
+
@WorkspaceId = workspaceid
|
6591
|
+
@Set = set
|
6592
|
+
@ApplicationToken = applicationtoken
|
6593
|
+
end
|
6594
|
+
|
6595
|
+
def deserialize(params)
|
6596
|
+
@WorkspaceId = params['WorkspaceId']
|
6597
|
+
unless params['Set'].nil?
|
6598
|
+
@Set = []
|
6599
|
+
params['Set'].each do |i|
|
6600
|
+
modifydevicetaginfo_tmp = ModifyDeviceTagInfo.new
|
6601
|
+
modifydevicetaginfo_tmp.deserialize(i)
|
6602
|
+
@Set << modifydevicetaginfo_tmp
|
6603
|
+
end
|
6604
|
+
end
|
6605
|
+
@ApplicationToken = params['ApplicationToken']
|
6606
|
+
end
|
6607
|
+
end
|
6608
|
+
|
6609
|
+
# ModifyDeviceTag返回参数结构体
|
6610
|
+
class ModifyDeviceTagResponse < TencentCloud::Common::AbstractModel
|
6611
|
+
# @param Result: 返回请求结果
|
6612
|
+
# @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.EmptyRes`
|
6613
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6614
|
+
# @type RequestId: String
|
6615
|
+
|
6616
|
+
attr_accessor :Result, :RequestId
|
6617
|
+
|
6618
|
+
def initialize(result=nil, requestid=nil)
|
6619
|
+
@Result = result
|
6620
|
+
@RequestId = requestid
|
6621
|
+
end
|
6622
|
+
|
6623
|
+
def deserialize(params)
|
6624
|
+
unless params['Result'].nil?
|
6625
|
+
@Result = EmptyRes.new
|
6626
|
+
@Result.deserialize(params['Result'])
|
6627
|
+
end
|
6628
|
+
@RequestId = params['RequestId']
|
6629
|
+
end
|
6630
|
+
end
|
6631
|
+
|
6211
6632
|
# 处理记录项
|
6212
6633
|
class ProcessRecordInfo < TencentCloud::Common::AbstractModel
|
6213
6634
|
# @param Id: 告警的id
|
@@ -6710,6 +7131,82 @@ module TencentCloud
|
|
6710
7131
|
end
|
6711
7132
|
end
|
6712
7133
|
|
7134
|
+
# SaveDeviceGroup请求参数结构体
|
7135
|
+
class SaveDeviceGroupRequest < TencentCloud::Common::AbstractModel
|
7136
|
+
# @param Name: 分组名称
|
7137
|
+
# @type Name: String
|
7138
|
+
# @param Description: 分组描述
|
7139
|
+
# @type Description: String
|
7140
|
+
# @param WorkspaceId: 空间id
|
7141
|
+
# @type WorkspaceId: Integer
|
7142
|
+
# @param ApplicationToken: 应用token
|
7143
|
+
# @type ApplicationToken: String
|
7144
|
+
# @param Id: 分组id, 携带则为修改, 不携带则为新增
|
7145
|
+
# @type Id: Integer
|
7146
|
+
# @param ParentId: 分组父级id
|
7147
|
+
# @type ParentId: Integer
|
7148
|
+
|
7149
|
+
attr_accessor :Name, :Description, :WorkspaceId, :ApplicationToken, :Id, :ParentId
|
7150
|
+
|
7151
|
+
def initialize(name=nil, description=nil, workspaceid=nil, applicationtoken=nil, id=nil, parentid=nil)
|
7152
|
+
@Name = name
|
7153
|
+
@Description = description
|
7154
|
+
@WorkspaceId = workspaceid
|
7155
|
+
@ApplicationToken = applicationtoken
|
7156
|
+
@Id = id
|
7157
|
+
@ParentId = parentid
|
7158
|
+
end
|
7159
|
+
|
7160
|
+
def deserialize(params)
|
7161
|
+
@Name = params['Name']
|
7162
|
+
@Description = params['Description']
|
7163
|
+
@WorkspaceId = params['WorkspaceId']
|
7164
|
+
@ApplicationToken = params['ApplicationToken']
|
7165
|
+
@Id = params['Id']
|
7166
|
+
@ParentId = params['ParentId']
|
7167
|
+
end
|
7168
|
+
end
|
7169
|
+
|
7170
|
+
# 保存or修改设备分组回包
|
7171
|
+
class SaveDeviceGroupRes < TencentCloud::Common::AbstractModel
|
7172
|
+
# @param Id: 保存or修改设备分组回包信息
|
7173
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7174
|
+
# @type Id: Integer
|
7175
|
+
|
7176
|
+
attr_accessor :Id
|
7177
|
+
|
7178
|
+
def initialize(id=nil)
|
7179
|
+
@Id = id
|
7180
|
+
end
|
7181
|
+
|
7182
|
+
def deserialize(params)
|
7183
|
+
@Id = params['Id']
|
7184
|
+
end
|
7185
|
+
end
|
7186
|
+
|
7187
|
+
# SaveDeviceGroup返回参数结构体
|
7188
|
+
class SaveDeviceGroupResponse < TencentCloud::Common::AbstractModel
|
7189
|
+
# @param Result: 新增/修改的设备分组记录的id
|
7190
|
+
# @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.SaveDeviceGroupRes`
|
7191
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7192
|
+
# @type RequestId: String
|
7193
|
+
|
7194
|
+
attr_accessor :Result, :RequestId
|
7195
|
+
|
7196
|
+
def initialize(result=nil, requestid=nil)
|
7197
|
+
@Result = result
|
7198
|
+
@RequestId = requestid
|
7199
|
+
end
|
7200
|
+
|
7201
|
+
def deserialize(params)
|
7202
|
+
unless params['Result'].nil?
|
7203
|
+
@Result = SaveDeviceGroupRes.new
|
7204
|
+
@Result.deserialize(params['Result'])
|
7205
|
+
end
|
7206
|
+
@RequestId = params['RequestId']
|
7207
|
+
end
|
7208
|
+
end
|
7209
|
+
|
6713
7210
|
# 场景信息
|
6714
7211
|
class SceneInfo < TencentCloud::Common::AbstractModel
|
6715
7212
|
# @param SceneId: 场景id
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-weilingwith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.797
|
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-04-
|
11
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|