tencentcloud-sdk-iotexplorer 3.0.790 → 3.0.792

Sign up to get free protection for your applications and to get access to all the features.
@@ -101,6 +101,46 @@ module TencentCloud
101
101
  end
102
102
  end
103
103
 
104
+ # BindCloudStorageUser请求参数结构体
105
+ class BindCloudStorageUserRequest < TencentCloud::Common::AbstractModel
106
+ # @param ProductId: 产品ID
107
+ # @type ProductId: String
108
+ # @param DeviceName: 设备名称
109
+ # @type DeviceName: String
110
+ # @param UserId: 用户ID
111
+ # @type UserId: String
112
+
113
+ attr_accessor :ProductId, :DeviceName, :UserId
114
+
115
+ def initialize(productid=nil, devicename=nil, userid=nil)
116
+ @ProductId = productid
117
+ @DeviceName = devicename
118
+ @UserId = userid
119
+ end
120
+
121
+ def deserialize(params)
122
+ @ProductId = params['ProductId']
123
+ @DeviceName = params['DeviceName']
124
+ @UserId = params['UserId']
125
+ end
126
+ end
127
+
128
+ # BindCloudStorageUser返回参数结构体
129
+ class BindCloudStorageUserResponse < TencentCloud::Common::AbstractModel
130
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
131
+ # @type RequestId: String
132
+
133
+ attr_accessor :RequestId
134
+
135
+ def initialize(requestid=nil)
136
+ @RequestId = requestid
137
+ end
138
+
139
+ def deserialize(params)
140
+ @RequestId = params['RequestId']
141
+ end
142
+ end
143
+
104
144
  # BindDeviceInfo
105
145
  class BindDeviceInfo < TencentCloud::Common::AbstractModel
106
146
  # @param ProductId: 产品ID。
@@ -365,6 +405,98 @@ module TencentCloud
365
405
  end
366
406
  end
367
407
 
408
+ # 云存事件
409
+ class CloudStorageEvent < TencentCloud::Common::AbstractModel
410
+ # @param StartTime: 事件起始时间(Unix 时间戳,秒级
411
+ # @type StartTime: Integer
412
+ # @param EndTime: 事件结束时间(Unix 时间戳,秒级
413
+ # @type EndTime: Integer
414
+ # @param Thumbnail: 事件缩略图
415
+ # @type Thumbnail: String
416
+ # @param EventId: 事件ID
417
+ # @type EventId: String
418
+
419
+ attr_accessor :StartTime, :EndTime, :Thumbnail, :EventId
420
+
421
+ def initialize(starttime=nil, endtime=nil, thumbnail=nil, eventid=nil)
422
+ @StartTime = starttime
423
+ @EndTime = endtime
424
+ @Thumbnail = thumbnail
425
+ @EventId = eventid
426
+ end
427
+
428
+ def deserialize(params)
429
+ @StartTime = params['StartTime']
430
+ @EndTime = params['EndTime']
431
+ @Thumbnail = params['Thumbnail']
432
+ @EventId = params['EventId']
433
+ end
434
+ end
435
+
436
+ # 云存时间轴接口返回数据
437
+ class CloudStorageTimeData < TencentCloud::Common::AbstractModel
438
+ # @param TimeList: 云存时间轴信息列表
439
+ # @type TimeList: Array
440
+ # @param VideoURL: 播放地址
441
+ # 注意:此字段可能返回 null,表示取不到有效值。
442
+ # @type VideoURL: String
443
+
444
+ attr_accessor :TimeList, :VideoURL
445
+
446
+ def initialize(timelist=nil, videourl=nil)
447
+ @TimeList = timelist
448
+ @VideoURL = videourl
449
+ end
450
+
451
+ def deserialize(params)
452
+ unless params['TimeList'].nil?
453
+ @TimeList = []
454
+ params['TimeList'].each do |i|
455
+ cloudstoragetimeinfo_tmp = CloudStorageTimeInfo.new
456
+ cloudstoragetimeinfo_tmp.deserialize(i)
457
+ @TimeList << cloudstoragetimeinfo_tmp
458
+ end
459
+ end
460
+ @VideoURL = params['VideoURL']
461
+ end
462
+ end
463
+
464
+ # 云存时间轴信息
465
+ class CloudStorageTimeInfo < TencentCloud::Common::AbstractModel
466
+ # @param StartTime: 开始时间
467
+ # @type StartTime: Integer
468
+ # @param EndTime: 结束时间
469
+ # @type EndTime: Integer
470
+
471
+ attr_accessor :StartTime, :EndTime
472
+
473
+ def initialize(starttime=nil, endtime=nil)
474
+ @StartTime = starttime
475
+ @EndTime = endtime
476
+ end
477
+
478
+ def deserialize(params)
479
+ @StartTime = params['StartTime']
480
+ @EndTime = params['EndTime']
481
+ end
482
+ end
483
+
484
+ # 云存用户信息
485
+ class CloudStorageUserInfo < TencentCloud::Common::AbstractModel
486
+ # @param UserId: 用户ID
487
+ # @type UserId: String
488
+
489
+ attr_accessor :UserId
490
+
491
+ def initialize(userid=nil)
492
+ @UserId = userid
493
+ end
494
+
495
+ def deserialize(params)
496
+ @UserId = params['UserId']
497
+ end
498
+ end
499
+
368
500
  # ControlDeviceData请求参数结构体
369
501
  class ControlDeviceDataRequest < TencentCloud::Common::AbstractModel
370
502
  # @param ProductId: 产品ID
@@ -606,6 +738,86 @@ module TencentCloud
606
738
  end
607
739
  end
608
740
 
741
+ # CreateIotVideoCloudStorage请求参数结构体
742
+ class CreateIotVideoCloudStorageRequest < TencentCloud::Common::AbstractModel
743
+ # @param ProductId: 产品ID
744
+ # @type ProductId: String
745
+ # @param DeviceName: 设备名称
746
+ # @type DeviceName: String
747
+ # @param PackageId: 云存套餐ID:
748
+ # yc1m3d : 全时3天存储月套餐。
749
+ # yc1m7d : 全时7天存储月套餐。
750
+ # yc1m30d :全时30天存储月套餐。
751
+ # yc1y3d :全时3天存储年套餐。
752
+ # yc1y7d :全时7天存储年套餐。
753
+ # yc1y30d :全时30天存储年套餐。
754
+ # ye1m3d :事件3天存储月套餐。
755
+ # ye1m7d :事件7天存储月套餐。
756
+ # ye1m30d :事件30天存储月套餐 。
757
+ # ye1y3d :事件3天存储年套餐。
758
+ # ye1y7d :事件7天存储年套餐。
759
+ # ye1y30d :事件30天存储年套餐。
760
+ # yc1w7d : 全时7天存储周套餐。
761
+ # ye1w7d : 事件7天存储周套餐。
762
+ # lye1m3d:低功耗事件3天月套餐。
763
+ # lye1m7d:低功耗事件7天月套餐。
764
+ # lye1m30d:低功耗事件30天月套餐。
765
+ # lye1y3d:低功耗事件3天年套餐。
766
+ # lye1y7d:低功耗事件7天年套餐。
767
+ # lye1y30d:低功耗事件30天年套餐。
768
+ # @type PackageId: String
769
+ # @param Override: 如果当前设备已开启云存套餐,Override=1会使用新套餐覆盖原有套餐。不传此参数则默认为0。
770
+ # @type Override: Integer
771
+ # @param PackageQueue: 套餐列表顺序:PackageQueue=front会立即使用新购买的套餐,新购套餐结束后,列表中下一个未过期的套餐继续生效;PackageQueue=end会等设备当前所有已购买套餐过期后才会生效新购套餐。与Override参数不能同时使用。
772
+ # @type PackageQueue: String
773
+ # @param OrderId: 订单id
774
+ # @type OrderId: String
775
+ # @param ChannelId: 通道ID
776
+ # @type ChannelId: Integer
777
+ # @param StorageRegion: 云存视频存储区域,国内默认为ap-guangzhou。海外默认为东南亚ap-singapore,可选美东na-ashburn、欧洲eu-frankfurt。
778
+ # @type StorageRegion: String
779
+
780
+ attr_accessor :ProductId, :DeviceName, :PackageId, :Override, :PackageQueue, :OrderId, :ChannelId, :StorageRegion
781
+
782
+ def initialize(productid=nil, devicename=nil, packageid=nil, override=nil, packagequeue=nil, orderid=nil, channelid=nil, storageregion=nil)
783
+ @ProductId = productid
784
+ @DeviceName = devicename
785
+ @PackageId = packageid
786
+ @Override = override
787
+ @PackageQueue = packagequeue
788
+ @OrderId = orderid
789
+ @ChannelId = channelid
790
+ @StorageRegion = storageregion
791
+ end
792
+
793
+ def deserialize(params)
794
+ @ProductId = params['ProductId']
795
+ @DeviceName = params['DeviceName']
796
+ @PackageId = params['PackageId']
797
+ @Override = params['Override']
798
+ @PackageQueue = params['PackageQueue']
799
+ @OrderId = params['OrderId']
800
+ @ChannelId = params['ChannelId']
801
+ @StorageRegion = params['StorageRegion']
802
+ end
803
+ end
804
+
805
+ # CreateIotVideoCloudStorage返回参数结构体
806
+ class CreateIotVideoCloudStorageResponse < TencentCloud::Common::AbstractModel
807
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
808
+ # @type RequestId: String
809
+
810
+ attr_accessor :RequestId
811
+
812
+ def initialize(requestid=nil)
813
+ @RequestId = requestid
814
+ end
815
+
816
+ def deserialize(params)
817
+ @RequestId = params['RequestId']
818
+ end
819
+ end
820
+
609
821
  # CreateLoRaFrequency请求参数结构体
610
822
  class CreateLoRaFrequencyRequest < TencentCloud::Common::AbstractModel
611
823
  # @param FreqName: 频点配置名称
@@ -1037,6 +1249,62 @@ module TencentCloud
1037
1249
  end
1038
1250
  end
1039
1251
 
1252
+ # DeleteCloudStorageEvent请求参数结构体
1253
+ class DeleteCloudStorageEventRequest < TencentCloud::Common::AbstractModel
1254
+ # @param ProductId: 产品ID
1255
+ # @type ProductId: String
1256
+ # @param DeviceName: 设备名称
1257
+ # @type DeviceName: String
1258
+ # @param EventId: 事件id
1259
+ # @type EventId: String
1260
+ # @param StartTime: 开始时间,unix时间
1261
+ # @type StartTime: Integer
1262
+ # @param EndTime: 结束时间,unix时间
1263
+ # @type EndTime: Integer
1264
+ # @param UserId: 用户ID
1265
+ # @type UserId: String
1266
+ # @param ChannelId: 通道ID
1267
+ # @type ChannelId: Integer
1268
+
1269
+ attr_accessor :ProductId, :DeviceName, :EventId, :StartTime, :EndTime, :UserId, :ChannelId
1270
+
1271
+ def initialize(productid=nil, devicename=nil, eventid=nil, starttime=nil, endtime=nil, userid=nil, channelid=nil)
1272
+ @ProductId = productid
1273
+ @DeviceName = devicename
1274
+ @EventId = eventid
1275
+ @StartTime = starttime
1276
+ @EndTime = endtime
1277
+ @UserId = userid
1278
+ @ChannelId = channelid
1279
+ end
1280
+
1281
+ def deserialize(params)
1282
+ @ProductId = params['ProductId']
1283
+ @DeviceName = params['DeviceName']
1284
+ @EventId = params['EventId']
1285
+ @StartTime = params['StartTime']
1286
+ @EndTime = params['EndTime']
1287
+ @UserId = params['UserId']
1288
+ @ChannelId = params['ChannelId']
1289
+ end
1290
+ end
1291
+
1292
+ # DeleteCloudStorageEvent返回参数结构体
1293
+ class DeleteCloudStorageEventResponse < TencentCloud::Common::AbstractModel
1294
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1295
+ # @type RequestId: String
1296
+
1297
+ attr_accessor :RequestId
1298
+
1299
+ def initialize(requestid=nil)
1300
+ @RequestId = requestid
1301
+ end
1302
+
1303
+ def deserialize(params)
1304
+ @RequestId = params['RequestId']
1305
+ end
1306
+ end
1307
+
1040
1308
  # DeleteDevice请求参数结构体
1041
1309
  class DeleteDeviceRequest < TencentCloud::Common::AbstractModel
1042
1310
  # @param ProductId: 产品ID。
@@ -1562,120 +1830,785 @@ module TencentCloud
1562
1830
  end
1563
1831
  end
1564
1832
 
1565
- # DescribeDeviceBindGateway请求参数结构体
1566
- class DescribeDeviceBindGatewayRequest < TencentCloud::Common::AbstractModel
1567
- # @param ProductId: 产品Id
1833
+ # DescribeCloudStorageDate请求参数结构体
1834
+ class DescribeCloudStorageDateRequest < TencentCloud::Common::AbstractModel
1835
+ # @param ProductId: 产品ID
1568
1836
  # @type ProductId: String
1569
- # @param DeviceName: 设备名
1837
+ # @param DeviceName: 设备名称
1570
1838
  # @type DeviceName: String
1839
+ # @param UserId: 用户ID
1840
+ # @type UserId: String
1841
+ # @param ChannelId: 通道ID
1842
+ # @type ChannelId: Integer
1571
1843
 
1572
- attr_accessor :ProductId, :DeviceName
1844
+ attr_accessor :ProductId, :DeviceName, :UserId, :ChannelId
1573
1845
 
1574
- def initialize(productid=nil, devicename=nil)
1846
+ def initialize(productid=nil, devicename=nil, userid=nil, channelid=nil)
1575
1847
  @ProductId = productid
1576
1848
  @DeviceName = devicename
1849
+ @UserId = userid
1850
+ @ChannelId = channelid
1577
1851
  end
1578
1852
 
1579
1853
  def deserialize(params)
1580
1854
  @ProductId = params['ProductId']
1581
1855
  @DeviceName = params['DeviceName']
1856
+ @UserId = params['UserId']
1857
+ @ChannelId = params['ChannelId']
1582
1858
  end
1583
1859
  end
1584
1860
 
1585
- # DescribeDeviceBindGateway返回参数结构体
1586
- class DescribeDeviceBindGatewayResponse < TencentCloud::Common::AbstractModel
1587
- # @param GatewayProductId: 网关产品ID
1588
- # 注意:此字段可能返回 null,表示取不到有效值。
1589
- # @type GatewayProductId: String
1590
- # @param GatewayDeviceName: 网关设备名
1591
- # 注意:此字段可能返回 null,表示取不到有效值。
1592
- # @type GatewayDeviceName: String
1593
- # @param GatewayName: 网关产品名称
1594
- # 注意:此字段可能返回 null,表示取不到有效值。
1595
- # @type GatewayName: String
1596
- # @param GatewayProductOwnerName: 设备对应产品所属的主账号名称
1597
- # 注意:此字段可能返回 null,表示取不到有效值。
1598
- # @type GatewayProductOwnerName: String
1599
- # @param GatewayProductOwnerUin: 设备对应产品所属的主账号 UIN
1600
- # 注意:此字段可能返回 null,表示取不到有效值。
1601
- # @type GatewayProductOwnerUin: String
1861
+ # DescribeCloudStorageDate返回参数结构体
1862
+ class DescribeCloudStorageDateResponse < TencentCloud::Common::AbstractModel
1863
+ # @param Data: 云存日期数组,["2021-01-05","2021-01-06"]
1864
+ # @type Data: Array
1602
1865
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1603
1866
  # @type RequestId: String
1604
1867
 
1605
- attr_accessor :GatewayProductId, :GatewayDeviceName, :GatewayName, :GatewayProductOwnerName, :GatewayProductOwnerUin, :RequestId
1868
+ attr_accessor :Data, :RequestId
1606
1869
 
1607
- def initialize(gatewayproductid=nil, gatewaydevicename=nil, gatewayname=nil, gatewayproductownername=nil, gatewayproductowneruin=nil, requestid=nil)
1608
- @GatewayProductId = gatewayproductid
1609
- @GatewayDeviceName = gatewaydevicename
1610
- @GatewayName = gatewayname
1611
- @GatewayProductOwnerName = gatewayproductownername
1612
- @GatewayProductOwnerUin = gatewayproductowneruin
1870
+ def initialize(data=nil, requestid=nil)
1871
+ @Data = data
1613
1872
  @RequestId = requestid
1614
1873
  end
1615
1874
 
1616
1875
  def deserialize(params)
1617
- @GatewayProductId = params['GatewayProductId']
1618
- @GatewayDeviceName = params['GatewayDeviceName']
1619
- @GatewayName = params['GatewayName']
1620
- @GatewayProductOwnerName = params['GatewayProductOwnerName']
1621
- @GatewayProductOwnerUin = params['GatewayProductOwnerUin']
1876
+ @Data = params['Data']
1622
1877
  @RequestId = params['RequestId']
1623
1878
  end
1624
1879
  end
1625
1880
 
1626
- # DescribeDeviceDataHistory请求参数结构体
1627
- class DescribeDeviceDataHistoryRequest < TencentCloud::Common::AbstractModel
1628
- # @param MinTime: 区间开始时间(Unix 时间戳,毫秒级)
1629
- # @type MinTime: Integer
1630
- # @param MaxTime: 区间结束时间(Unix 时间戳,毫秒级)
1631
- # @type MaxTime: Integer
1881
+ # DescribeCloudStorageEvents请求参数结构体
1882
+ class DescribeCloudStorageEventsRequest < TencentCloud::Common::AbstractModel
1632
1883
  # @param ProductId: 产品ID
1633
1884
  # @type ProductId: String
1634
1885
  # @param DeviceName: 设备名称
1635
1886
  # @type DeviceName: String
1636
- # @param FieldName: 属性字段名称,对应数据模板中功能属性的标识符
1637
- # @type FieldName: String
1638
- # @param Limit: 返回条数
1639
- # @type Limit: Integer
1640
- # @param Context: 检索上下文
1887
+ # @param StartTime: 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
1888
+ # @type StartTime: Integer
1889
+ # @param EndTime: 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
1890
+ # @type EndTime: Integer
1891
+ # @param Context: 请求上下文, 用作查询游标
1641
1892
  # @type Context: String
1893
+ # @param Size: 查询数据项目的最大数量, 默认为10。假设传Size=10,返回的实际事件数量为N,则 5 <= N <= 10。
1894
+ # @type Size: Integer
1895
+ # @param EventId: 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
1896
+ # @type EventId: String
1897
+ # @param UserId: 用户ID
1898
+ # @type UserId: String
1899
+ # @param ChannelId: 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
1900
+ # @type ChannelId: Integer
1642
1901
 
1643
- attr_accessor :MinTime, :MaxTime, :ProductId, :DeviceName, :FieldName, :Limit, :Context
1902
+ attr_accessor :ProductId, :DeviceName, :StartTime, :EndTime, :Context, :Size, :EventId, :UserId, :ChannelId
1644
1903
 
1645
- def initialize(mintime=nil, maxtime=nil, productid=nil, devicename=nil, fieldname=nil, limit=nil, context=nil)
1646
- @MinTime = mintime
1647
- @MaxTime = maxtime
1904
+ def initialize(productid=nil, devicename=nil, starttime=nil, endtime=nil, context=nil, size=nil, eventid=nil, userid=nil, channelid=nil)
1648
1905
  @ProductId = productid
1649
1906
  @DeviceName = devicename
1650
- @FieldName = fieldname
1651
- @Limit = limit
1907
+ @StartTime = starttime
1908
+ @EndTime = endtime
1652
1909
  @Context = context
1910
+ @Size = size
1911
+ @EventId = eventid
1912
+ @UserId = userid
1913
+ @ChannelId = channelid
1653
1914
  end
1654
1915
 
1655
1916
  def deserialize(params)
1656
- @MinTime = params['MinTime']
1657
- @MaxTime = params['MaxTime']
1658
1917
  @ProductId = params['ProductId']
1659
1918
  @DeviceName = params['DeviceName']
1660
- @FieldName = params['FieldName']
1661
- @Limit = params['Limit']
1919
+ @StartTime = params['StartTime']
1920
+ @EndTime = params['EndTime']
1662
1921
  @Context = params['Context']
1922
+ @Size = params['Size']
1923
+ @EventId = params['EventId']
1924
+ @UserId = params['UserId']
1925
+ @ChannelId = params['ChannelId']
1663
1926
  end
1664
1927
  end
1665
1928
 
1666
- # DescribeDeviceDataHistory返回参数结构体
1667
- class DescribeDeviceDataHistoryResponse < TencentCloud::Common::AbstractModel
1668
- # @param FieldName: 属性字段名称,对应数据模板中功能属性的标识符
1669
- # 注意:此字段可能返回 null,表示取不到有效值。
1670
- # @type FieldName: String
1671
- # @param Listover: 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
1672
- # 注意:此字段可能返回 null,表示取不到有效值。
1673
- # @type Listover: Boolean
1674
- # @param Context: 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
1675
- # 注意:此字段可能返回 null,表示取不到有效值。
1929
+ # DescribeCloudStorageEvents返回参数结构体
1930
+ class DescribeCloudStorageEventsResponse < TencentCloud::Common::AbstractModel
1931
+ # @param Events: 云存事件列表
1932
+ # @type Events: Array
1933
+ # @param Context: 请求上下文, 用作查询游标
1676
1934
  # @type Context: String
1677
- # @param Results: 历史数据结果数组,返回对应时间点及取值。
1678
- # 注意:此字段可能返回 null,表示取不到有效值。
1935
+ # @param Listover: 拉取结果是否已经结束
1936
+ # @type Listover: Boolean
1937
+ # @param Total: 内部结果数量,并不等同于事件总数。
1938
+ # @type Total: Integer
1939
+ # @param VideoURL: 视频播放URL
1940
+ # @type VideoURL: String
1941
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1942
+ # @type RequestId: String
1943
+
1944
+ attr_accessor :Events, :Context, :Listover, :Total, :VideoURL, :RequestId
1945
+
1946
+ def initialize(events=nil, context=nil, listover=nil, total=nil, videourl=nil, requestid=nil)
1947
+ @Events = events
1948
+ @Context = context
1949
+ @Listover = listover
1950
+ @Total = total
1951
+ @VideoURL = videourl
1952
+ @RequestId = requestid
1953
+ end
1954
+
1955
+ def deserialize(params)
1956
+ unless params['Events'].nil?
1957
+ @Events = []
1958
+ params['Events'].each do |i|
1959
+ cloudstorageevent_tmp = CloudStorageEvent.new
1960
+ cloudstorageevent_tmp.deserialize(i)
1961
+ @Events << cloudstorageevent_tmp
1962
+ end
1963
+ end
1964
+ @Context = params['Context']
1965
+ @Listover = params['Listover']
1966
+ @Total = params['Total']
1967
+ @VideoURL = params['VideoURL']
1968
+ @RequestId = params['RequestId']
1969
+ end
1970
+ end
1971
+
1972
+ # DescribeCloudStorageMultiThumbnail请求参数结构体
1973
+ class DescribeCloudStorageMultiThumbnailRequest < TencentCloud::Common::AbstractModel
1974
+ # @param ProductId: 产品ID
1975
+ # @type ProductId: String
1976
+ # @param DeviceName: 设备名称
1977
+ # @type DeviceName: String
1978
+ # @param MultiThumbnail: 多个缩略图文件名根据 | 分割
1979
+ # @type MultiThumbnail: String
1980
+
1981
+ attr_accessor :ProductId, :DeviceName, :MultiThumbnail
1982
+
1983
+ def initialize(productid=nil, devicename=nil, multithumbnail=nil)
1984
+ @ProductId = productid
1985
+ @DeviceName = devicename
1986
+ @MultiThumbnail = multithumbnail
1987
+ end
1988
+
1989
+ def deserialize(params)
1990
+ @ProductId = params['ProductId']
1991
+ @DeviceName = params['DeviceName']
1992
+ @MultiThumbnail = params['MultiThumbnail']
1993
+ end
1994
+ end
1995
+
1996
+ # DescribeCloudStorageMultiThumbnail返回参数结构体
1997
+ class DescribeCloudStorageMultiThumbnailResponse < TencentCloud::Common::AbstractModel
1998
+ # @param ThumbnailURLInfoList: 缩略图访问地址
1999
+ # @type ThumbnailURLInfoList: Array
2000
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2001
+ # @type RequestId: String
2002
+
2003
+ attr_accessor :ThumbnailURLInfoList, :RequestId
2004
+
2005
+ def initialize(thumbnailurlinfolist=nil, requestid=nil)
2006
+ @ThumbnailURLInfoList = thumbnailurlinfolist
2007
+ @RequestId = requestid
2008
+ end
2009
+
2010
+ def deserialize(params)
2011
+ unless params['ThumbnailURLInfoList'].nil?
2012
+ @ThumbnailURLInfoList = []
2013
+ params['ThumbnailURLInfoList'].each do |i|
2014
+ thumbnailurlinfolist_tmp = ThumbnailURLInfoList.new
2015
+ thumbnailurlinfolist_tmp.deserialize(i)
2016
+ @ThumbnailURLInfoList << thumbnailurlinfolist_tmp
2017
+ end
2018
+ end
2019
+ @RequestId = params['RequestId']
2020
+ end
2021
+ end
2022
+
2023
+ # DescribeCloudStorageOrder请求参数结构体
2024
+ class DescribeCloudStorageOrderRequest < TencentCloud::Common::AbstractModel
2025
+ # @param OrderId: 订单id
2026
+ # @type OrderId: String
2027
+
2028
+ attr_accessor :OrderId
2029
+
2030
+ def initialize(orderid=nil)
2031
+ @OrderId = orderid
2032
+ end
2033
+
2034
+ def deserialize(params)
2035
+ @OrderId = params['OrderId']
2036
+ end
2037
+ end
2038
+
2039
+ # DescribeCloudStorageOrder返回参数结构体
2040
+ class DescribeCloudStorageOrderResponse < TencentCloud::Common::AbstractModel
2041
+ # @param StartTime: 云存套餐开始时间
2042
+ # 注意:此字段可能返回 null,表示取不到有效值。
2043
+ # @type StartTime: Integer
2044
+ # @param ExpireTime: 云存套餐过期时间
2045
+ # 注意:此字段可能返回 null,表示取不到有效值。
2046
+ # @type ExpireTime: Integer
2047
+ # @param PackageId: 套餐id
2048
+ # 注意:此字段可能返回 null,表示取不到有效值。
2049
+ # @type PackageId: String
2050
+ # @param Status: 套餐状态
2051
+ # 0:等待生效
2052
+ # 1: 已过期
2053
+ # 2:生效
2054
+ # @type Status: Integer
2055
+ # @param ChannelId: 通道id
2056
+ # @type ChannelId: Integer
2057
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2058
+ # @type RequestId: String
2059
+
2060
+ attr_accessor :StartTime, :ExpireTime, :PackageId, :Status, :ChannelId, :RequestId
2061
+
2062
+ def initialize(starttime=nil, expiretime=nil, packageid=nil, status=nil, channelid=nil, requestid=nil)
2063
+ @StartTime = starttime
2064
+ @ExpireTime = expiretime
2065
+ @PackageId = packageid
2066
+ @Status = status
2067
+ @ChannelId = channelid
2068
+ @RequestId = requestid
2069
+ end
2070
+
2071
+ def deserialize(params)
2072
+ @StartTime = params['StartTime']
2073
+ @ExpireTime = params['ExpireTime']
2074
+ @PackageId = params['PackageId']
2075
+ @Status = params['Status']
2076
+ @ChannelId = params['ChannelId']
2077
+ @RequestId = params['RequestId']
2078
+ end
2079
+ end
2080
+
2081
+ # DescribeCloudStoragePackageConsumeDetails请求参数结构体
2082
+ class DescribeCloudStoragePackageConsumeDetailsRequest < TencentCloud::Common::AbstractModel
2083
+ # @param StartDate: 开始日期
2084
+ # @type StartDate: String
2085
+ # @param EndDate: 结束日期
2086
+ # @type EndDate: String
2087
+
2088
+ attr_accessor :StartDate, :EndDate
2089
+
2090
+ def initialize(startdate=nil, enddate=nil)
2091
+ @StartDate = startdate
2092
+ @EndDate = enddate
2093
+ end
2094
+
2095
+ def deserialize(params)
2096
+ @StartDate = params['StartDate']
2097
+ @EndDate = params['EndDate']
2098
+ end
2099
+ end
2100
+
2101
+ # DescribeCloudStoragePackageConsumeDetails返回参数结构体
2102
+ class DescribeCloudStoragePackageConsumeDetailsResponse < TencentCloud::Common::AbstractModel
2103
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2104
+ # @type RequestId: String
2105
+
2106
+ attr_accessor :RequestId
2107
+
2108
+ def initialize(requestid=nil)
2109
+ @RequestId = requestid
2110
+ end
2111
+
2112
+ def deserialize(params)
2113
+ @RequestId = params['RequestId']
2114
+ end
2115
+ end
2116
+
2117
+ # DescribeCloudStoragePackageConsumeStats请求参数结构体
2118
+ class DescribeCloudStoragePackageConsumeStatsRequest < TencentCloud::Common::AbstractModel
2119
+ # @param StartDate: 开始日期
2120
+ # @type StartDate: String
2121
+ # @param EndDate: 结束日期,开始与结束日期间隔不可超过一年
2122
+ # @type EndDate: String
2123
+
2124
+ attr_accessor :StartDate, :EndDate
2125
+
2126
+ def initialize(startdate=nil, enddate=nil)
2127
+ @StartDate = startdate
2128
+ @EndDate = enddate
2129
+ end
2130
+
2131
+ def deserialize(params)
2132
+ @StartDate = params['StartDate']
2133
+ @EndDate = params['EndDate']
2134
+ end
2135
+ end
2136
+
2137
+ # DescribeCloudStoragePackageConsumeStats返回参数结构体
2138
+ class DescribeCloudStoragePackageConsumeStatsResponse < TencentCloud::Common::AbstractModel
2139
+ # @param Stats: 统计列表详情
2140
+ # @type Stats: Array
2141
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2142
+ # @type RequestId: String
2143
+
2144
+ attr_accessor :Stats, :RequestId
2145
+
2146
+ def initialize(stats=nil, requestid=nil)
2147
+ @Stats = stats
2148
+ @RequestId = requestid
2149
+ end
2150
+
2151
+ def deserialize(params)
2152
+ unless params['Stats'].nil?
2153
+ @Stats = []
2154
+ params['Stats'].each do |i|
2155
+ packageconsumestat_tmp = PackageConsumeStat.new
2156
+ packageconsumestat_tmp.deserialize(i)
2157
+ @Stats << packageconsumestat_tmp
2158
+ end
2159
+ end
2160
+ @RequestId = params['RequestId']
2161
+ end
2162
+ end
2163
+
2164
+ # DescribeCloudStorage请求参数结构体
2165
+ class DescribeCloudStorageRequest < TencentCloud::Common::AbstractModel
2166
+ # @param ProductId: 产品ID
2167
+ # @type ProductId: String
2168
+ # @param DeviceName: 设备名称
2169
+ # @type DeviceName: String
2170
+ # @param UserId: 云存用户ID
2171
+ # @type UserId: String
2172
+ # @param ChannelId: 通道ID 非NVR设备不填 NVR设备必填 默认为无
2173
+ # @type ChannelId: Integer
2174
+
2175
+ attr_accessor :ProductId, :DeviceName, :UserId, :ChannelId
2176
+
2177
+ def initialize(productid=nil, devicename=nil, userid=nil, channelid=nil)
2178
+ @ProductId = productid
2179
+ @DeviceName = devicename
2180
+ @UserId = userid
2181
+ @ChannelId = channelid
2182
+ end
2183
+
2184
+ def deserialize(params)
2185
+ @ProductId = params['ProductId']
2186
+ @DeviceName = params['DeviceName']
2187
+ @UserId = params['UserId']
2188
+ @ChannelId = params['ChannelId']
2189
+ end
2190
+ end
2191
+
2192
+ # DescribeCloudStorage返回参数结构体
2193
+ class DescribeCloudStorageResponse < TencentCloud::Common::AbstractModel
2194
+ # @param Status: 云存开启状态,1为开启,0为未开启或已过期
2195
+ # @type Status: Integer
2196
+ # @param Type: 云存类型,1为全时云存,2为事件云存
2197
+ # @type Type: Integer
2198
+ # @param ExpireTime: 云存套餐过期时间
2199
+ # @type ExpireTime: Integer
2200
+ # @param ShiftDuration: 云存回看时长
2201
+ # @type ShiftDuration: Integer
2202
+ # @param UserId: 云存用户ID
2203
+ # 注意:此字段可能返回 null,表示取不到有效值。
2204
+ # @type UserId: String
2205
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2206
+ # @type RequestId: String
2207
+
2208
+ attr_accessor :Status, :Type, :ExpireTime, :ShiftDuration, :UserId, :RequestId
2209
+
2210
+ def initialize(status=nil, type=nil, expiretime=nil, shiftduration=nil, userid=nil, requestid=nil)
2211
+ @Status = status
2212
+ @Type = type
2213
+ @ExpireTime = expiretime
2214
+ @ShiftDuration = shiftduration
2215
+ @UserId = userid
2216
+ @RequestId = requestid
2217
+ end
2218
+
2219
+ def deserialize(params)
2220
+ @Status = params['Status']
2221
+ @Type = params['Type']
2222
+ @ExpireTime = params['ExpireTime']
2223
+ @ShiftDuration = params['ShiftDuration']
2224
+ @UserId = params['UserId']
2225
+ @RequestId = params['RequestId']
2226
+ end
2227
+ end
2228
+
2229
+ # DescribeCloudStorageStreamData请求参数结构体
2230
+ class DescribeCloudStorageStreamDataRequest < TencentCloud::Common::AbstractModel
2231
+ # @param ProductId: 产品ID
2232
+ # @type ProductId: String
2233
+ # @param DeviceName: 设备名称
2234
+ # @type DeviceName: String
2235
+ # @param StartTime: 图片流事件开始时间
2236
+ # @type StartTime: Integer
2237
+
2238
+ attr_accessor :ProductId, :DeviceName, :StartTime
2239
+
2240
+ def initialize(productid=nil, devicename=nil, starttime=nil)
2241
+ @ProductId = productid
2242
+ @DeviceName = devicename
2243
+ @StartTime = starttime
2244
+ end
2245
+
2246
+ def deserialize(params)
2247
+ @ProductId = params['ProductId']
2248
+ @DeviceName = params['DeviceName']
2249
+ @StartTime = params['StartTime']
2250
+ end
2251
+ end
2252
+
2253
+ # DescribeCloudStorageStreamData返回参数结构体
2254
+ class DescribeCloudStorageStreamDataResponse < TencentCloud::Common::AbstractModel
2255
+ # @param VideoStream: 图片流视频地址
2256
+ # @type VideoStream: String
2257
+ # @param AudioStream: 图片流音频地址
2258
+ # @type AudioStream: String
2259
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2260
+ # @type RequestId: String
2261
+
2262
+ attr_accessor :VideoStream, :AudioStream, :RequestId
2263
+
2264
+ def initialize(videostream=nil, audiostream=nil, requestid=nil)
2265
+ @VideoStream = videostream
2266
+ @AudioStream = audiostream
2267
+ @RequestId = requestid
2268
+ end
2269
+
2270
+ def deserialize(params)
2271
+ @VideoStream = params['VideoStream']
2272
+ @AudioStream = params['AudioStream']
2273
+ @RequestId = params['RequestId']
2274
+ end
2275
+ end
2276
+
2277
+ # DescribeCloudStorageThumbnailList请求参数结构体
2278
+ class DescribeCloudStorageThumbnailListRequest < TencentCloud::Common::AbstractModel
2279
+ # @param ProductId: 产品ID
2280
+ # @type ProductId: String
2281
+ # @param DeviceName: 设备名称
2282
+ # @type DeviceName: String
2283
+ # @param ThumbnailList: 缩略图文件名列表
2284
+ # @type ThumbnailList: Array
2285
+
2286
+ attr_accessor :ProductId, :DeviceName, :ThumbnailList
2287
+
2288
+ def initialize(productid=nil, devicename=nil, thumbnaillist=nil)
2289
+ @ProductId = productid
2290
+ @DeviceName = devicename
2291
+ @ThumbnailList = thumbnaillist
2292
+ end
2293
+
2294
+ def deserialize(params)
2295
+ @ProductId = params['ProductId']
2296
+ @DeviceName = params['DeviceName']
2297
+ @ThumbnailList = params['ThumbnailList']
2298
+ end
2299
+ end
2300
+
2301
+ # DescribeCloudStorageThumbnailList返回参数结构体
2302
+ class DescribeCloudStorageThumbnailListResponse < TencentCloud::Common::AbstractModel
2303
+ # @param ThumbnailURLInfoList: 缩略图访问地址
2304
+ # @type ThumbnailURLInfoList: Array
2305
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2306
+ # @type RequestId: String
2307
+
2308
+ attr_accessor :ThumbnailURLInfoList, :RequestId
2309
+
2310
+ def initialize(thumbnailurlinfolist=nil, requestid=nil)
2311
+ @ThumbnailURLInfoList = thumbnailurlinfolist
2312
+ @RequestId = requestid
2313
+ end
2314
+
2315
+ def deserialize(params)
2316
+ unless params['ThumbnailURLInfoList'].nil?
2317
+ @ThumbnailURLInfoList = []
2318
+ params['ThumbnailURLInfoList'].each do |i|
2319
+ thumbnailurlinfolist_tmp = ThumbnailURLInfoList.new
2320
+ thumbnailurlinfolist_tmp.deserialize(i)
2321
+ @ThumbnailURLInfoList << thumbnailurlinfolist_tmp
2322
+ end
2323
+ end
2324
+ @RequestId = params['RequestId']
2325
+ end
2326
+ end
2327
+
2328
+ # DescribeCloudStorageThumbnail请求参数结构体
2329
+ class DescribeCloudStorageThumbnailRequest < TencentCloud::Common::AbstractModel
2330
+ # @param ProductId: 产品ID
2331
+ # @type ProductId: String
2332
+ # @param DeviceName: 设备名称
2333
+ # @type DeviceName: String
2334
+ # @param Thumbnail: 缩略图文件名
2335
+ # @type Thumbnail: String
2336
+
2337
+ attr_accessor :ProductId, :DeviceName, :Thumbnail
2338
+
2339
+ def initialize(productid=nil, devicename=nil, thumbnail=nil)
2340
+ @ProductId = productid
2341
+ @DeviceName = devicename
2342
+ @Thumbnail = thumbnail
2343
+ end
2344
+
2345
+ def deserialize(params)
2346
+ @ProductId = params['ProductId']
2347
+ @DeviceName = params['DeviceName']
2348
+ @Thumbnail = params['Thumbnail']
2349
+ end
2350
+ end
2351
+
2352
+ # DescribeCloudStorageThumbnail返回参数结构体
2353
+ class DescribeCloudStorageThumbnailResponse < TencentCloud::Common::AbstractModel
2354
+ # @param ThumbnailURL: 缩略图访问地址
2355
+ # @type ThumbnailURL: String
2356
+ # @param ExpireTime: 缩略图访问地址的过期时间
2357
+ # @type ExpireTime: Integer
2358
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2359
+ # @type RequestId: String
2360
+
2361
+ attr_accessor :ThumbnailURL, :ExpireTime, :RequestId
2362
+
2363
+ def initialize(thumbnailurl=nil, expiretime=nil, requestid=nil)
2364
+ @ThumbnailURL = thumbnailurl
2365
+ @ExpireTime = expiretime
2366
+ @RequestId = requestid
2367
+ end
2368
+
2369
+ def deserialize(params)
2370
+ @ThumbnailURL = params['ThumbnailURL']
2371
+ @ExpireTime = params['ExpireTime']
2372
+ @RequestId = params['RequestId']
2373
+ end
2374
+ end
2375
+
2376
+ # DescribeCloudStorageTime请求参数结构体
2377
+ class DescribeCloudStorageTimeRequest < TencentCloud::Common::AbstractModel
2378
+ # @param ProductId: 产品ID
2379
+ # @type ProductId: String
2380
+ # @param DeviceName: 设备名称
2381
+ # @type DeviceName: String
2382
+ # @param Date: 云存日期,例如"2020-01-05"
2383
+ # @type Date: String
2384
+ # @param StartTime: 开始时间,unix时间
2385
+ # @type StartTime: Integer
2386
+ # @param EndTime: 结束时间,unix时间
2387
+ # @type EndTime: Integer
2388
+ # @param UserId: 用户ID
2389
+ # @type UserId: String
2390
+ # @param ChannelId: 通道ID
2391
+ # @type ChannelId: Integer
2392
+
2393
+ attr_accessor :ProductId, :DeviceName, :Date, :StartTime, :EndTime, :UserId, :ChannelId
2394
+
2395
+ def initialize(productid=nil, devicename=nil, date=nil, starttime=nil, endtime=nil, userid=nil, channelid=nil)
2396
+ @ProductId = productid
2397
+ @DeviceName = devicename
2398
+ @Date = date
2399
+ @StartTime = starttime
2400
+ @EndTime = endtime
2401
+ @UserId = userid
2402
+ @ChannelId = channelid
2403
+ end
2404
+
2405
+ def deserialize(params)
2406
+ @ProductId = params['ProductId']
2407
+ @DeviceName = params['DeviceName']
2408
+ @Date = params['Date']
2409
+ @StartTime = params['StartTime']
2410
+ @EndTime = params['EndTime']
2411
+ @UserId = params['UserId']
2412
+ @ChannelId = params['ChannelId']
2413
+ end
2414
+ end
2415
+
2416
+ # DescribeCloudStorageTime返回参数结构体
2417
+ class DescribeCloudStorageTimeResponse < TencentCloud::Common::AbstractModel
2418
+ # @param Data: 接口返回数据
2419
+ # @type Data: :class:`Tencentcloud::Iotexplorer.v20190423.models.CloudStorageTimeData`
2420
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2421
+ # @type RequestId: String
2422
+
2423
+ attr_accessor :Data, :RequestId
2424
+
2425
+ def initialize(data=nil, requestid=nil)
2426
+ @Data = data
2427
+ @RequestId = requestid
2428
+ end
2429
+
2430
+ def deserialize(params)
2431
+ unless params['Data'].nil?
2432
+ @Data = CloudStorageTimeData.new
2433
+ @Data.deserialize(params['Data'])
2434
+ end
2435
+ @RequestId = params['RequestId']
2436
+ end
2437
+ end
2438
+
2439
+ # DescribeCloudStorageUsers请求参数结构体
2440
+ class DescribeCloudStorageUsersRequest < TencentCloud::Common::AbstractModel
2441
+ # @param ProductId: 产品ID
2442
+ # @type ProductId: String
2443
+ # @param DeviceName: 设备名称
2444
+ # @type DeviceName: String
2445
+ # @param Limit: 分页拉取数量
2446
+ # @type Limit: Integer
2447
+ # @param Offset: 分页拉取偏移
2448
+ # @type Offset: Integer
2449
+
2450
+ attr_accessor :ProductId, :DeviceName, :Limit, :Offset
2451
+
2452
+ def initialize(productid=nil, devicename=nil, limit=nil, offset=nil)
2453
+ @ProductId = productid
2454
+ @DeviceName = devicename
2455
+ @Limit = limit
2456
+ @Offset = offset
2457
+ end
2458
+
2459
+ def deserialize(params)
2460
+ @ProductId = params['ProductId']
2461
+ @DeviceName = params['DeviceName']
2462
+ @Limit = params['Limit']
2463
+ @Offset = params['Offset']
2464
+ end
2465
+ end
2466
+
2467
+ # DescribeCloudStorageUsers返回参数结构体
2468
+ class DescribeCloudStorageUsersResponse < TencentCloud::Common::AbstractModel
2469
+ # @param TotalCount: 用户总数
2470
+ # @type TotalCount: Integer
2471
+ # @param Users: 用户信息
2472
+ # @type Users: Array
2473
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2474
+ # @type RequestId: String
2475
+
2476
+ attr_accessor :TotalCount, :Users, :RequestId
2477
+
2478
+ def initialize(totalcount=nil, users=nil, requestid=nil)
2479
+ @TotalCount = totalcount
2480
+ @Users = users
2481
+ @RequestId = requestid
2482
+ end
2483
+
2484
+ def deserialize(params)
2485
+ @TotalCount = params['TotalCount']
2486
+ unless params['Users'].nil?
2487
+ @Users = []
2488
+ params['Users'].each do |i|
2489
+ cloudstorageuserinfo_tmp = CloudStorageUserInfo.new
2490
+ cloudstorageuserinfo_tmp.deserialize(i)
2491
+ @Users << cloudstorageuserinfo_tmp
2492
+ end
2493
+ end
2494
+ @RequestId = params['RequestId']
2495
+ end
2496
+ end
2497
+
2498
+ # DescribeDeviceBindGateway请求参数结构体
2499
+ class DescribeDeviceBindGatewayRequest < TencentCloud::Common::AbstractModel
2500
+ # @param ProductId: 产品Id
2501
+ # @type ProductId: String
2502
+ # @param DeviceName: 设备名
2503
+ # @type DeviceName: String
2504
+
2505
+ attr_accessor :ProductId, :DeviceName
2506
+
2507
+ def initialize(productid=nil, devicename=nil)
2508
+ @ProductId = productid
2509
+ @DeviceName = devicename
2510
+ end
2511
+
2512
+ def deserialize(params)
2513
+ @ProductId = params['ProductId']
2514
+ @DeviceName = params['DeviceName']
2515
+ end
2516
+ end
2517
+
2518
+ # DescribeDeviceBindGateway返回参数结构体
2519
+ class DescribeDeviceBindGatewayResponse < TencentCloud::Common::AbstractModel
2520
+ # @param GatewayProductId: 网关产品ID
2521
+ # 注意:此字段可能返回 null,表示取不到有效值。
2522
+ # @type GatewayProductId: String
2523
+ # @param GatewayDeviceName: 网关设备名
2524
+ # 注意:此字段可能返回 null,表示取不到有效值。
2525
+ # @type GatewayDeviceName: String
2526
+ # @param GatewayName: 网关产品名称
2527
+ # 注意:此字段可能返回 null,表示取不到有效值。
2528
+ # @type GatewayName: String
2529
+ # @param GatewayProductOwnerName: 设备对应产品所属的主账号名称
2530
+ # 注意:此字段可能返回 null,表示取不到有效值。
2531
+ # @type GatewayProductOwnerName: String
2532
+ # @param GatewayProductOwnerUin: 设备对应产品所属的主账号 UIN
2533
+ # 注意:此字段可能返回 null,表示取不到有效值。
2534
+ # @type GatewayProductOwnerUin: String
2535
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2536
+ # @type RequestId: String
2537
+
2538
+ attr_accessor :GatewayProductId, :GatewayDeviceName, :GatewayName, :GatewayProductOwnerName, :GatewayProductOwnerUin, :RequestId
2539
+
2540
+ def initialize(gatewayproductid=nil, gatewaydevicename=nil, gatewayname=nil, gatewayproductownername=nil, gatewayproductowneruin=nil, requestid=nil)
2541
+ @GatewayProductId = gatewayproductid
2542
+ @GatewayDeviceName = gatewaydevicename
2543
+ @GatewayName = gatewayname
2544
+ @GatewayProductOwnerName = gatewayproductownername
2545
+ @GatewayProductOwnerUin = gatewayproductowneruin
2546
+ @RequestId = requestid
2547
+ end
2548
+
2549
+ def deserialize(params)
2550
+ @GatewayProductId = params['GatewayProductId']
2551
+ @GatewayDeviceName = params['GatewayDeviceName']
2552
+ @GatewayName = params['GatewayName']
2553
+ @GatewayProductOwnerName = params['GatewayProductOwnerName']
2554
+ @GatewayProductOwnerUin = params['GatewayProductOwnerUin']
2555
+ @RequestId = params['RequestId']
2556
+ end
2557
+ end
2558
+
2559
+ # DescribeDeviceDataHistory请求参数结构体
2560
+ class DescribeDeviceDataHistoryRequest < TencentCloud::Common::AbstractModel
2561
+ # @param MinTime: 区间开始时间(Unix 时间戳,毫秒级)
2562
+ # @type MinTime: Integer
2563
+ # @param MaxTime: 区间结束时间(Unix 时间戳,毫秒级)
2564
+ # @type MaxTime: Integer
2565
+ # @param ProductId: 产品ID
2566
+ # @type ProductId: String
2567
+ # @param DeviceName: 设备名称
2568
+ # @type DeviceName: String
2569
+ # @param FieldName: 属性字段名称,对应数据模板中功能属性的标识符
2570
+ # @type FieldName: String
2571
+ # @param Limit: 返回条数
2572
+ # @type Limit: Integer
2573
+ # @param Context: 检索上下文
2574
+ # @type Context: String
2575
+
2576
+ attr_accessor :MinTime, :MaxTime, :ProductId, :DeviceName, :FieldName, :Limit, :Context
2577
+
2578
+ def initialize(mintime=nil, maxtime=nil, productid=nil, devicename=nil, fieldname=nil, limit=nil, context=nil)
2579
+ @MinTime = mintime
2580
+ @MaxTime = maxtime
2581
+ @ProductId = productid
2582
+ @DeviceName = devicename
2583
+ @FieldName = fieldname
2584
+ @Limit = limit
2585
+ @Context = context
2586
+ end
2587
+
2588
+ def deserialize(params)
2589
+ @MinTime = params['MinTime']
2590
+ @MaxTime = params['MaxTime']
2591
+ @ProductId = params['ProductId']
2592
+ @DeviceName = params['DeviceName']
2593
+ @FieldName = params['FieldName']
2594
+ @Limit = params['Limit']
2595
+ @Context = params['Context']
2596
+ end
2597
+ end
2598
+
2599
+ # DescribeDeviceDataHistory返回参数结构体
2600
+ class DescribeDeviceDataHistoryResponse < TencentCloud::Common::AbstractModel
2601
+ # @param FieldName: 属性字段名称,对应数据模板中功能属性的标识符
2602
+ # 注意:此字段可能返回 null,表示取不到有效值。
2603
+ # @type FieldName: String
2604
+ # @param Listover: 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
2605
+ # 注意:此字段可能返回 null,表示取不到有效值。
2606
+ # @type Listover: Boolean
2607
+ # @param Context: 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
2608
+ # 注意:此字段可能返回 null,表示取不到有效值。
2609
+ # @type Context: String
2610
+ # @param Results: 历史数据结果数组,返回对应时间点及取值。
2611
+ # 注意:此字段可能返回 null,表示取不到有效值。
1679
2612
  # @type Results: Array
1680
2613
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1681
2614
  # @type RequestId: String
@@ -1862,6 +2795,74 @@ module TencentCloud
1862
2795
  end
1863
2796
  end
1864
2797
 
2798
+ # DescribeDevicePackages请求参数结构体
2799
+ class DescribeDevicePackagesRequest < TencentCloud::Common::AbstractModel
2800
+ # @param ProductId: 产品ID
2801
+ # @type ProductId: String
2802
+ # @param DeviceName: 设备名称
2803
+ # @type DeviceName: String
2804
+ # @param Limit: 分页拉取数量
2805
+ # @type Limit: Integer
2806
+ # @param Offset: 分页拉取偏移
2807
+ # @type Offset: Integer
2808
+ # @param CSUserId: 用户id
2809
+ # @type CSUserId: String
2810
+ # @param ChannelId: 通道id
2811
+ # @type ChannelId: Integer
2812
+
2813
+ attr_accessor :ProductId, :DeviceName, :Limit, :Offset, :CSUserId, :ChannelId
2814
+
2815
+ def initialize(productid=nil, devicename=nil, limit=nil, offset=nil, csuserid=nil, channelid=nil)
2816
+ @ProductId = productid
2817
+ @DeviceName = devicename
2818
+ @Limit = limit
2819
+ @Offset = offset
2820
+ @CSUserId = csuserid
2821
+ @ChannelId = channelid
2822
+ end
2823
+
2824
+ def deserialize(params)
2825
+ @ProductId = params['ProductId']
2826
+ @DeviceName = params['DeviceName']
2827
+ @Limit = params['Limit']
2828
+ @Offset = params['Offset']
2829
+ @CSUserId = params['CSUserId']
2830
+ @ChannelId = params['ChannelId']
2831
+ end
2832
+ end
2833
+
2834
+ # DescribeDevicePackages返回参数结构体
2835
+ class DescribeDevicePackagesResponse < TencentCloud::Common::AbstractModel
2836
+ # @param TotalCount: 有效云存套餐数量
2837
+ # @type TotalCount: Integer
2838
+ # @param Packages: 有效云存套餐列表
2839
+ # 注意:此字段可能返回 null,表示取不到有效值。
2840
+ # @type Packages: Array
2841
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2842
+ # @type RequestId: String
2843
+
2844
+ attr_accessor :TotalCount, :Packages, :RequestId
2845
+
2846
+ def initialize(totalcount=nil, packages=nil, requestid=nil)
2847
+ @TotalCount = totalcount
2848
+ @Packages = packages
2849
+ @RequestId = requestid
2850
+ end
2851
+
2852
+ def deserialize(params)
2853
+ @TotalCount = params['TotalCount']
2854
+ unless params['Packages'].nil?
2855
+ @Packages = []
2856
+ params['Packages'].each do |i|
2857
+ packageinfo_tmp = PackageInfo.new
2858
+ packageinfo_tmp.deserialize(i)
2859
+ @Packages << packageinfo_tmp
2860
+ end
2861
+ end
2862
+ @RequestId = params['RequestId']
2863
+ end
2864
+ end
2865
+
1865
2866
  # DescribeDevicePositionList请求参数结构体
1866
2867
  class DescribeDevicePositionListRequest < TencentCloud::Common::AbstractModel
1867
2868
  # @param ProductIdList: 产品标识列表
@@ -2439,68 +3440,155 @@ module TencentCloud
2439
3440
  end
2440
3441
 
2441
3442
  def deserialize(params)
2442
- @FreqId = params['FreqId']
3443
+ @FreqId = params['FreqId']
3444
+ end
3445
+ end
3446
+
3447
+ # DescribeLoRaFrequency返回参数结构体
3448
+ class DescribeLoRaFrequencyResponse < TencentCloud::Common::AbstractModel
3449
+ # @param Data: 返回详情项
3450
+ # 注意:此字段可能返回 null,表示取不到有效值。
3451
+ # @type Data: :class:`Tencentcloud::Iotexplorer.v20190423.models.LoRaFrequencyEntry`
3452
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3453
+ # @type RequestId: String
3454
+
3455
+ attr_accessor :Data, :RequestId
3456
+
3457
+ def initialize(data=nil, requestid=nil)
3458
+ @Data = data
3459
+ @RequestId = requestid
3460
+ end
3461
+
3462
+ def deserialize(params)
3463
+ unless params['Data'].nil?
3464
+ @Data = LoRaFrequencyEntry.new
3465
+ @Data.deserialize(params['Data'])
3466
+ end
3467
+ @RequestId = params['RequestId']
3468
+ end
3469
+ end
3470
+
3471
+ # DescribeModelDefinition请求参数结构体
3472
+ class DescribeModelDefinitionRequest < TencentCloud::Common::AbstractModel
3473
+ # @param ProductId: 产品ID
3474
+ # @type ProductId: String
3475
+
3476
+ attr_accessor :ProductId
3477
+
3478
+ def initialize(productid=nil)
3479
+ @ProductId = productid
3480
+ end
3481
+
3482
+ def deserialize(params)
3483
+ @ProductId = params['ProductId']
3484
+ end
3485
+ end
3486
+
3487
+ # DescribeModelDefinition返回参数结构体
3488
+ class DescribeModelDefinitionResponse < TencentCloud::Common::AbstractModel
3489
+ # @param Model: 产品数据模板
3490
+ # @type Model: :class:`Tencentcloud::Iotexplorer.v20190423.models.ProductModelDefinition`
3491
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3492
+ # @type RequestId: String
3493
+
3494
+ attr_accessor :Model, :RequestId
3495
+
3496
+ def initialize(model=nil, requestid=nil)
3497
+ @Model = model
3498
+ @RequestId = requestid
3499
+ end
3500
+
3501
+ def deserialize(params)
3502
+ unless params['Model'].nil?
3503
+ @Model = ProductModelDefinition.new
3504
+ @Model.deserialize(params['Model'])
3505
+ end
3506
+ @RequestId = params['RequestId']
3507
+ end
3508
+ end
3509
+
3510
+ # DescribePackageConsumeTask请求参数结构体
3511
+ class DescribePackageConsumeTaskRequest < TencentCloud::Common::AbstractModel
3512
+ # @param TaskId: 任务id
3513
+ # @type TaskId: Integer
3514
+
3515
+ attr_accessor :TaskId
3516
+
3517
+ def initialize(taskid=nil)
3518
+ @TaskId = taskid
3519
+ end
3520
+
3521
+ def deserialize(params)
3522
+ @TaskId = params['TaskId']
2443
3523
  end
2444
3524
  end
2445
3525
 
2446
- # DescribeLoRaFrequency返回参数结构体
2447
- class DescribeLoRaFrequencyResponse < TencentCloud::Common::AbstractModel
2448
- # @param Data: 返回详情项
2449
- # 注意:此字段可能返回 null,表示取不到有效值。
2450
- # @type Data: :class:`Tencentcloud::Iotexplorer.v20190423.models.LoRaFrequencyEntry`
3526
+ # DescribePackageConsumeTask返回参数结构体
3527
+ class DescribePackageConsumeTaskResponse < TencentCloud::Common::AbstractModel
3528
+ # @param URL: 文件下载的url,文件详情是套餐包消耗详情
3529
+ # @type URL: String
2451
3530
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2452
3531
  # @type RequestId: String
2453
3532
 
2454
- attr_accessor :Data, :RequestId
3533
+ attr_accessor :URL, :RequestId
2455
3534
 
2456
- def initialize(data=nil, requestid=nil)
2457
- @Data = data
3535
+ def initialize(url=nil, requestid=nil)
3536
+ @URL = url
2458
3537
  @RequestId = requestid
2459
3538
  end
2460
3539
 
2461
3540
  def deserialize(params)
2462
- unless params['Data'].nil?
2463
- @Data = LoRaFrequencyEntry.new
2464
- @Data.deserialize(params['Data'])
2465
- end
3541
+ @URL = params['URL']
2466
3542
  @RequestId = params['RequestId']
2467
3543
  end
2468
3544
  end
2469
3545
 
2470
- # DescribeModelDefinition请求参数结构体
2471
- class DescribeModelDefinitionRequest < TencentCloud::Common::AbstractModel
2472
- # @param ProductId: 产品ID
2473
- # @type ProductId: String
3546
+ # DescribePackageConsumeTasks请求参数结构体
3547
+ class DescribePackageConsumeTasksRequest < TencentCloud::Common::AbstractModel
3548
+ # @param Limit: 分页单页量
3549
+ # @type Limit: Integer
3550
+ # @param Offset: 分页的偏移量,第一页为0
3551
+ # @type Offset: Integer
2474
3552
 
2475
- attr_accessor :ProductId
3553
+ attr_accessor :Limit, :Offset
2476
3554
 
2477
- def initialize(productid=nil)
2478
- @ProductId = productid
3555
+ def initialize(limit=nil, offset=nil)
3556
+ @Limit = limit
3557
+ @Offset = offset
2479
3558
  end
2480
3559
 
2481
3560
  def deserialize(params)
2482
- @ProductId = params['ProductId']
3561
+ @Limit = params['Limit']
3562
+ @Offset = params['Offset']
2483
3563
  end
2484
3564
  end
2485
3565
 
2486
- # DescribeModelDefinition返回参数结构体
2487
- class DescribeModelDefinitionResponse < TencentCloud::Common::AbstractModel
2488
- # @param Model: 产品数据模板
2489
- # @type Model: :class:`Tencentcloud::Iotexplorer.v20190423.models.ProductModelDefinition`
3566
+ # DescribePackageConsumeTasks返回参数结构体
3567
+ class DescribePackageConsumeTasksResponse < TencentCloud::Common::AbstractModel
3568
+ # @param TotalCount: 总数
3569
+ # @type TotalCount: Integer
3570
+ # @param List: 任务列表
3571
+ # @type List: Array
2490
3572
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2491
3573
  # @type RequestId: String
2492
3574
 
2493
- attr_accessor :Model, :RequestId
3575
+ attr_accessor :TotalCount, :List, :RequestId
2494
3576
 
2495
- def initialize(model=nil, requestid=nil)
2496
- @Model = model
3577
+ def initialize(totalcount=nil, list=nil, requestid=nil)
3578
+ @TotalCount = totalcount
3579
+ @List = list
2497
3580
  @RequestId = requestid
2498
3581
  end
2499
3582
 
2500
3583
  def deserialize(params)
2501
- unless params['Model'].nil?
2502
- @Model = ProductModelDefinition.new
2503
- @Model.deserialize(params['Model'])
3584
+ @TotalCount = params['TotalCount']
3585
+ unless params['List'].nil?
3586
+ @List = []
3587
+ params['List'].each do |i|
3588
+ packageconsumetask_tmp = PackageConsumeTask.new
3589
+ packageconsumetask_tmp.deserialize(i)
3590
+ @List << packageconsumetask_tmp
3591
+ end
2504
3592
  end
2505
3593
  @RequestId = params['RequestId']
2506
3594
  end
@@ -3499,6 +4587,50 @@ module TencentCloud
3499
4587
  end
3500
4588
  end
3501
4589
 
4590
+ # GenerateSignedVideoURL请求参数结构体
4591
+ class GenerateSignedVideoURLRequest < TencentCloud::Common::AbstractModel
4592
+ # @param VideoURL: 视频播放原始URL地址
4593
+ # @type VideoURL: String
4594
+ # @param ExpireTime: 播放链接过期时间
4595
+ # @type ExpireTime: Integer
4596
+ # @param ChannelId: 通道ID 非NVR设备不填 NVR设备必填 默认为无
4597
+ # @type ChannelId: Integer
4598
+
4599
+ attr_accessor :VideoURL, :ExpireTime, :ChannelId
4600
+
4601
+ def initialize(videourl=nil, expiretime=nil, channelid=nil)
4602
+ @VideoURL = videourl
4603
+ @ExpireTime = expiretime
4604
+ @ChannelId = channelid
4605
+ end
4606
+
4607
+ def deserialize(params)
4608
+ @VideoURL = params['VideoURL']
4609
+ @ExpireTime = params['ExpireTime']
4610
+ @ChannelId = params['ChannelId']
4611
+ end
4612
+ end
4613
+
4614
+ # GenerateSignedVideoURL返回参数结构体
4615
+ class GenerateSignedVideoURLResponse < TencentCloud::Common::AbstractModel
4616
+ # @param SignedVideoURL: 视频防盗链播放URL
4617
+ # @type SignedVideoURL: String
4618
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4619
+ # @type RequestId: String
4620
+
4621
+ attr_accessor :SignedVideoURL, :RequestId
4622
+
4623
+ def initialize(signedvideourl=nil, requestid=nil)
4624
+ @SignedVideoURL = signedvideourl
4625
+ @RequestId = requestid
4626
+ end
4627
+
4628
+ def deserialize(params)
4629
+ @SignedVideoURL = params['SignedVideoURL']
4630
+ @RequestId = params['RequestId']
4631
+ end
4632
+ end
4633
+
3502
4634
  # GetBatchProductionsList请求参数结构体
3503
4635
  class GetBatchProductionsListRequest < TencentCloud::Common::AbstractModel
3504
4636
  # @param ProjectId: 项目ID
@@ -4196,6 +5328,50 @@ module TencentCloud
4196
5328
  end
4197
5329
  end
4198
5330
 
5331
+ # InheritCloudStorageUser请求参数结构体
5332
+ class InheritCloudStorageUserRequest < TencentCloud::Common::AbstractModel
5333
+ # @param ProductId: 产品ID
5334
+ # @type ProductId: String
5335
+ # @param DeviceName: 设备名称
5336
+ # @type DeviceName: String
5337
+ # @param UserId: 原始用户ID
5338
+ # @type UserId: String
5339
+ # @param ToUserId: 目标用户ID
5340
+ # @type ToUserId: String
5341
+
5342
+ attr_accessor :ProductId, :DeviceName, :UserId, :ToUserId
5343
+
5344
+ def initialize(productid=nil, devicename=nil, userid=nil, touserid=nil)
5345
+ @ProductId = productid
5346
+ @DeviceName = devicename
5347
+ @UserId = userid
5348
+ @ToUserId = touserid
5349
+ end
5350
+
5351
+ def deserialize(params)
5352
+ @ProductId = params['ProductId']
5353
+ @DeviceName = params['DeviceName']
5354
+ @UserId = params['UserId']
5355
+ @ToUserId = params['ToUserId']
5356
+ end
5357
+ end
5358
+
5359
+ # InheritCloudStorageUser返回参数结构体
5360
+ class InheritCloudStorageUserResponse < TencentCloud::Common::AbstractModel
5361
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5362
+ # @type RequestId: String
5363
+
5364
+ attr_accessor :RequestId
5365
+
5366
+ def initialize(requestid=nil)
5367
+ @RequestId = requestid
5368
+ end
5369
+
5370
+ def deserialize(params)
5371
+ @RequestId = params['RequestId']
5372
+ end
5373
+ end
5374
+
4199
5375
  # 实例信息
4200
5376
  # 公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效
4201
5377
  class InstanceDetail < TencentCloud::Common::AbstractModel
@@ -5176,6 +6352,120 @@ module TencentCloud
5176
6352
  end
5177
6353
  end
5178
6354
 
6355
+ # 云存套餐包消耗统计
6356
+ class PackageConsumeStat < TencentCloud::Common::AbstractModel
6357
+ # @param PackageId: 云存套餐包id
6358
+ # @type PackageId: String
6359
+ # @param PackageName: 云存套餐包名称
6360
+ # @type PackageName: String
6361
+ # @param Cnt: 消耗个数
6362
+ # @type Cnt: Integer
6363
+ # @param Price: 套餐包单价,单位分
6364
+ # @type Price: Integer
6365
+ # @param Source: 消耗来源,1预付费
6366
+ # @type Source: Integer
6367
+
6368
+ attr_accessor :PackageId, :PackageName, :Cnt, :Price, :Source
6369
+
6370
+ def initialize(packageid=nil, packagename=nil, cnt=nil, price=nil, source=nil)
6371
+ @PackageId = packageid
6372
+ @PackageName = packagename
6373
+ @Cnt = cnt
6374
+ @Price = price
6375
+ @Source = source
6376
+ end
6377
+
6378
+ def deserialize(params)
6379
+ @PackageId = params['PackageId']
6380
+ @PackageName = params['PackageName']
6381
+ @Cnt = params['Cnt']
6382
+ @Price = params['Price']
6383
+ @Source = params['Source']
6384
+ end
6385
+ end
6386
+
6387
+ # 套餐包消耗任务列表
6388
+ class PackageConsumeTask < TencentCloud::Common::AbstractModel
6389
+ # @param TaskId: 任务id
6390
+ # @type TaskId: Integer
6391
+ # @param CreateTime: 任务创始时间
6392
+ # @type CreateTime: String
6393
+ # @param State: 任务状态,1待处理,2处理中,3已完成
6394
+ # @type State: Integer
6395
+
6396
+ attr_accessor :TaskId, :CreateTime, :State
6397
+
6398
+ def initialize(taskid=nil, createtime=nil, state=nil)
6399
+ @TaskId = taskid
6400
+ @CreateTime = createtime
6401
+ @State = state
6402
+ end
6403
+
6404
+ def deserialize(params)
6405
+ @TaskId = params['TaskId']
6406
+ @CreateTime = params['CreateTime']
6407
+ @State = params['State']
6408
+ end
6409
+ end
6410
+
6411
+ # 结构体(PackageInfo)记录了设备拥有的有效套餐信息,包括云存开启状态、云存类型、云存回看时长、云存套餐过期时间
6412
+ class PackageInfo < TencentCloud::Common::AbstractModel
6413
+ # @param Status: 云存开启状态,0为未开启,2为正在生效,1为已过期
6414
+ # 注:这里只返回状态为0的数据
6415
+ # @type Status: Integer
6416
+ # @param CSType: 云存类型,1为全时云存,2为事件云存
6417
+ # @type CSType: Integer
6418
+ # @param CSShiftDuration: 云存回看时长
6419
+ # @type CSShiftDuration: Integer
6420
+ # @param CSExpiredTime: 云存套餐过期时间
6421
+ # @type CSExpiredTime: Integer
6422
+ # @param CreatedAt: 云存套餐创建时间
6423
+ # 注意:此字段可能返回 null,表示取不到有效值。
6424
+ # @type CreatedAt: Integer
6425
+ # @param UpdatedAt: 云存套餐更新时间
6426
+ # 注意:此字段可能返回 null,表示取不到有效值。
6427
+ # @type UpdatedAt: Integer
6428
+ # @param PackageId: 套餐id
6429
+ # 注意:此字段可能返回 null,表示取不到有效值。
6430
+ # @type PackageId: String
6431
+ # @param OrderId: 订单id
6432
+ # 注意:此字段可能返回 null,表示取不到有效值。
6433
+ # @type OrderId: String
6434
+ # @param ChannelId: 通道id
6435
+ # @type ChannelId: Integer
6436
+ # @param CSUserId: 用户id
6437
+ # 注意:此字段可能返回 null,表示取不到有效值。
6438
+ # @type CSUserId: String
6439
+
6440
+ attr_accessor :Status, :CSType, :CSShiftDuration, :CSExpiredTime, :CreatedAt, :UpdatedAt, :PackageId, :OrderId, :ChannelId, :CSUserId
6441
+
6442
+ def initialize(status=nil, cstype=nil, csshiftduration=nil, csexpiredtime=nil, createdat=nil, updatedat=nil, packageid=nil, orderid=nil, channelid=nil, csuserid=nil)
6443
+ @Status = status
6444
+ @CSType = cstype
6445
+ @CSShiftDuration = csshiftduration
6446
+ @CSExpiredTime = csexpiredtime
6447
+ @CreatedAt = createdat
6448
+ @UpdatedAt = updatedat
6449
+ @PackageId = packageid
6450
+ @OrderId = orderid
6451
+ @ChannelId = channelid
6452
+ @CSUserId = csuserid
6453
+ end
6454
+
6455
+ def deserialize(params)
6456
+ @Status = params['Status']
6457
+ @CSType = params['CSType']
6458
+ @CSShiftDuration = params['CSShiftDuration']
6459
+ @CSExpiredTime = params['CSExpiredTime']
6460
+ @CreatedAt = params['CreatedAt']
6461
+ @UpdatedAt = params['UpdatedAt']
6462
+ @PackageId = params['PackageId']
6463
+ @OrderId = params['OrderId']
6464
+ @ChannelId = params['ChannelId']
6465
+ @CSUserId = params['CSUserId']
6466
+ end
6467
+ end
6468
+
5179
6469
  # 围栏详细信息(包含创建时间及更新时间)
5180
6470
  class PositionFenceInfo < TencentCloud::Common::AbstractModel
5181
6471
  # @param GeoFence: 围栏信息
@@ -5767,6 +7057,94 @@ module TencentCloud
5767
7057
  end
5768
7058
  end
5769
7059
 
7060
+ # ResetCloudStorageEvent请求参数结构体
7061
+ class ResetCloudStorageEventRequest < TencentCloud::Common::AbstractModel
7062
+ # @param ProductId: 产品ID
7063
+ # @type ProductId: String
7064
+ # @param DeviceName: 设备名称
7065
+ # @type DeviceName: String
7066
+ # @param UserId: 用户ID
7067
+ # @type UserId: String
7068
+ # @param ChannelId: 通道ID
7069
+ # @type ChannelId: Integer
7070
+
7071
+ attr_accessor :ProductId, :DeviceName, :UserId, :ChannelId
7072
+
7073
+ def initialize(productid=nil, devicename=nil, userid=nil, channelid=nil)
7074
+ @ProductId = productid
7075
+ @DeviceName = devicename
7076
+ @UserId = userid
7077
+ @ChannelId = channelid
7078
+ end
7079
+
7080
+ def deserialize(params)
7081
+ @ProductId = params['ProductId']
7082
+ @DeviceName = params['DeviceName']
7083
+ @UserId = params['UserId']
7084
+ @ChannelId = params['ChannelId']
7085
+ end
7086
+ end
7087
+
7088
+ # ResetCloudStorageEvent返回参数结构体
7089
+ class ResetCloudStorageEventResponse < TencentCloud::Common::AbstractModel
7090
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7091
+ # @type RequestId: String
7092
+
7093
+ attr_accessor :RequestId
7094
+
7095
+ def initialize(requestid=nil)
7096
+ @RequestId = requestid
7097
+ end
7098
+
7099
+ def deserialize(params)
7100
+ @RequestId = params['RequestId']
7101
+ end
7102
+ end
7103
+
7104
+ # ResetCloudStorage请求参数结构体
7105
+ class ResetCloudStorageRequest < TencentCloud::Common::AbstractModel
7106
+ # @param ProductId: 产品ID
7107
+ # @type ProductId: String
7108
+ # @param DeviceName: 设备名称
7109
+ # @type DeviceName: String
7110
+ # @param ChannelId: 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
7111
+ # @type ChannelId: Integer
7112
+ # @param UserId: 云存用户Id,为空则为默认云存空间。
7113
+ # @type UserId: String
7114
+
7115
+ attr_accessor :ProductId, :DeviceName, :ChannelId, :UserId
7116
+
7117
+ def initialize(productid=nil, devicename=nil, channelid=nil, userid=nil)
7118
+ @ProductId = productid
7119
+ @DeviceName = devicename
7120
+ @ChannelId = channelid
7121
+ @UserId = userid
7122
+ end
7123
+
7124
+ def deserialize(params)
7125
+ @ProductId = params['ProductId']
7126
+ @DeviceName = params['DeviceName']
7127
+ @ChannelId = params['ChannelId']
7128
+ @UserId = params['UserId']
7129
+ end
7130
+ end
7131
+
7132
+ # ResetCloudStorage返回参数结构体
7133
+ class ResetCloudStorageResponse < TencentCloud::Common::AbstractModel
7134
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7135
+ # @type RequestId: String
7136
+
7137
+ attr_accessor :RequestId
7138
+
7139
+ def initialize(requestid=nil)
7140
+ @RequestId = requestid
7141
+ end
7142
+
7143
+ def deserialize(params)
7144
+ @RequestId = params['RequestId']
7145
+ end
7146
+ end
7147
+
5770
7148
  # 搜索关键词
5771
7149
  class SearchKeyword < TencentCloud::Common::AbstractModel
5772
7150
  # @param Key: 搜索条件的Key
@@ -5962,6 +7340,28 @@ module TencentCloud
5962
7340
  end
5963
7341
  end
5964
7342
 
7343
+ # 缩略图信息
7344
+ class ThumbnailURLInfoList < TencentCloud::Common::AbstractModel
7345
+ # @param ThumbnailURL: 缩略图访问地址
7346
+ # 注意:此字段可能返回 null,表示取不到有效值。
7347
+ # @type ThumbnailURL: String
7348
+ # @param ExpireTime: 缩略图访问地址的过期时间
7349
+ # 注意:此字段可能返回 null,表示取不到有效值。
7350
+ # @type ExpireTime: Integer
7351
+
7352
+ attr_accessor :ThumbnailURL, :ExpireTime
7353
+
7354
+ def initialize(thumbnailurl=nil, expiretime=nil)
7355
+ @ThumbnailURL = thumbnailurl
7356
+ @ExpireTime = expiretime
7357
+ end
7358
+
7359
+ def deserialize(params)
7360
+ @ThumbnailURL = params['ThumbnailURL']
7361
+ @ExpireTime = params['ExpireTime']
7362
+ end
7363
+ end
7364
+
5965
7365
  # Topic信息, 包括Topic名字和权限
5966
7366
  class TopicItem < TencentCloud::Common::AbstractModel
5967
7367
  # @param TopicName: Topic名称
@@ -6121,6 +7521,50 @@ module TencentCloud
6121
7521
  end
6122
7522
  end
6123
7523
 
7524
+ # TransferCloudStorage请求参数结构体
7525
+ class TransferCloudStorageRequest < TencentCloud::Common::AbstractModel
7526
+ # @param ProductId: 产品ID
7527
+ # @type ProductId: String
7528
+ # @param DeviceName: 已开通云存的设备名称
7529
+ # @type DeviceName: String
7530
+ # @param ToDeviceName: 未开通云存的设备名称
7531
+ # @type ToDeviceName: String
7532
+ # @param ToProductId: 未开通云存的设备产品ID
7533
+ # @type ToProductId: String
7534
+
7535
+ attr_accessor :ProductId, :DeviceName, :ToDeviceName, :ToProductId
7536
+
7537
+ def initialize(productid=nil, devicename=nil, todevicename=nil, toproductid=nil)
7538
+ @ProductId = productid
7539
+ @DeviceName = devicename
7540
+ @ToDeviceName = todevicename
7541
+ @ToProductId = toproductid
7542
+ end
7543
+
7544
+ def deserialize(params)
7545
+ @ProductId = params['ProductId']
7546
+ @DeviceName = params['DeviceName']
7547
+ @ToDeviceName = params['ToDeviceName']
7548
+ @ToProductId = params['ToProductId']
7549
+ end
7550
+ end
7551
+
7552
+ # TransferCloudStorage返回参数结构体
7553
+ class TransferCloudStorageResponse < TencentCloud::Common::AbstractModel
7554
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7555
+ # @type RequestId: String
7556
+
7557
+ attr_accessor :RequestId
7558
+
7559
+ def initialize(requestid=nil)
7560
+ @RequestId = requestid
7561
+ end
7562
+
7563
+ def deserialize(params)
7564
+ @RequestId = params['RequestId']
7565
+ end
7566
+ end
7567
+
6124
7568
  # UnbindDevices请求参数结构体
6125
7569
  class UnbindDevicesRequest < TencentCloud::Common::AbstractModel
6126
7570
  # @param GatewayProductId: 网关设备的产品ID