tencentcloud-sdk-weilingwith 3.0.700 → 3.0.701

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20230427/models.rb +303 -17
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 242acc3cf772fcee962d112a39c789a42db30b8e
4
- data.tar.gz: d740ef0f22ec72bbb45813ba230a628682861b24
3
+ metadata.gz: c52fe220a15510cc6baa89118121d8932bdfd5d7
4
+ data.tar.gz: a34c4bee74af6531fa0e41ded7413f933312a915
5
5
  SHA512:
6
- metadata.gz: 38a3ee5b9112c0f4e5c901bbdbc78403b80edf4cb91120f481deb214d3152620dbe98851e0cdf52c26315afe76d98cd2d5e0195a44ddfe51a812475c0eaf4709
7
- data.tar.gz: 11afd31c4505cef1c22a0e3a13e0811665be800410ecfd83731e476e2337e7a58ca811d37d8ccf43e50b62e04b0f0d6a4bb5202de3d5f66ac1aa39d4bfcbf6e3
6
+ metadata.gz: b972390aef10b9f314157860ba0bda88127c46d9845b630ef3a70ae16f3b5198334cbf9c0b032b3028251b4b5025d67f35016163784e7954e3846c837c2e1345
7
+ data.tar.gz: f8cfdd4568dfad9a8b4534e7a437a7223086d8eab3f323e04ce86f9c5c6f3aa263c5fd0c0e2199992d5f8949519699fdf2fc9cb3aede687930acf292576d9601
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.700
1
+ 3.0.701
@@ -44,6 +44,107 @@ module TencentCloud
44
44
  end
45
45
  end
46
46
 
47
+ # 应用描述
48
+ class ApplicationInfo < TencentCloud::Common::AbstractModel
49
+ # @param ApplicationId: 应用分配的appId
50
+ # 注意:此字段可能返回 null,表示取不到有效值。
51
+ # @type ApplicationId: String
52
+ # @param Name: 应用中文名
53
+ # 注意:此字段可能返回 null,表示取不到有效值。
54
+ # @type Name: String
55
+ # @param Address: 应用地址
56
+ # 注意:此字段可能返回 null,表示取不到有效值。
57
+ # @type Address: String
58
+ # @param ApplicationLogo: 应用logo
59
+ # 注意:此字段可能返回 null,表示取不到有效值。
60
+ # @type ApplicationLogo: :class:`Tencentcloud::Weilingwith.v20230427.models.ApplicationLogo`
61
+ # @param Type: 应用类型,0:saas应用 1:平台应用
62
+ # 注意:此字段可能返回 null,表示取不到有效值。
63
+ # @type Type: Integer
64
+ # @param EnglishName: engine
65
+ # 注意:此字段可能返回 null,表示取不到有效值。
66
+ # @type EnglishName: String
67
+ # @param Description: 能源管理应用
68
+ # 注意:此字段可能返回 null,表示取不到有效值。
69
+ # @type Description: String
70
+
71
+ attr_accessor :ApplicationId, :Name, :Address, :ApplicationLogo, :Type, :EnglishName, :Description
72
+
73
+ def initialize(applicationid=nil, name=nil, address=nil, applicationlogo=nil, type=nil, englishname=nil, description=nil)
74
+ @ApplicationId = applicationid
75
+ @Name = name
76
+ @Address = address
77
+ @ApplicationLogo = applicationlogo
78
+ @Type = type
79
+ @EnglishName = englishname
80
+ @Description = description
81
+ end
82
+
83
+ def deserialize(params)
84
+ @ApplicationId = params['ApplicationId']
85
+ @Name = params['Name']
86
+ @Address = params['Address']
87
+ unless params['ApplicationLogo'].nil?
88
+ @ApplicationLogo = ApplicationLogo.new
89
+ @ApplicationLogo.deserialize(params['ApplicationLogo'])
90
+ end
91
+ @Type = params['Type']
92
+ @EnglishName = params['EnglishName']
93
+ @Description = params['Description']
94
+ end
95
+ end
96
+
97
+ # 应用列表
98
+ class ApplicationList < TencentCloud::Common::AbstractModel
99
+ # @param ApplicationInfoList: 应用列表
100
+ # 注意:此字段可能返回 null,表示取不到有效值。
101
+ # @type ApplicationInfoList: Array
102
+ # @param TotalCount: 当前查询条件命中的数据总条数
103
+ # 注意:此字段可能返回 null,表示取不到有效值。
104
+ # @type TotalCount: String
105
+
106
+ attr_accessor :ApplicationInfoList, :TotalCount
107
+
108
+ def initialize(applicationinfolist=nil, totalcount=nil)
109
+ @ApplicationInfoList = applicationinfolist
110
+ @TotalCount = totalcount
111
+ end
112
+
113
+ def deserialize(params)
114
+ unless params['ApplicationInfoList'].nil?
115
+ @ApplicationInfoList = []
116
+ params['ApplicationInfoList'].each do |i|
117
+ applicationinfo_tmp = ApplicationInfo.new
118
+ applicationinfo_tmp.deserialize(i)
119
+ @ApplicationInfoList << applicationinfo_tmp
120
+ end
121
+ end
122
+ @TotalCount = params['TotalCount']
123
+ end
124
+ end
125
+
126
+ # 应用logo
127
+ class ApplicationLogo < TencentCloud::Common::AbstractModel
128
+ # @param FileId: logo图片对应的fileId
129
+ # 注意:此字段可能返回 null,表示取不到有效值。
130
+ # @type FileId: String
131
+ # @param Url: logo图片地址
132
+ # 注意:此字段可能返回 null,表示取不到有效值。
133
+ # @type Url: String
134
+
135
+ attr_accessor :FileId, :Url
136
+
137
+ def initialize(fileid=nil, url=nil)
138
+ @FileId = fileid
139
+ @Url = url
140
+ end
141
+
142
+ def deserialize(params)
143
+ @FileId = params['FileId']
144
+ @Url = params['Url']
145
+ end
146
+ end
147
+
47
148
  # BatchCreateDevice请求参数结构体
48
149
  class BatchCreateDeviceRequest < TencentCloud::Common::AbstractModel
49
150
 
@@ -397,27 +498,55 @@ module TencentCloud
397
498
 
398
499
  # DescribeApplicationList请求参数结构体
399
500
  class DescribeApplicationListRequest < TencentCloud::Common::AbstractModel
501
+ # @param WorkspaceId: 项目空间id,本次查询返回的应用均关联至该空间
502
+ # @type WorkspaceId: Integer
503
+ # @param ApplicationToken: 应用token
504
+ # @type ApplicationToken: String
505
+ # @param ApplicationId: 应用id数组,可选,填了则表示根据id批量查询
506
+ # @type ApplicationId: Array
507
+ # @param PageNumber: 请求页号
508
+ # @type PageNumber: Integer
509
+ # @param PageSize: 页容量,默认为10
510
+ # @type PageSize: Integer
400
511
 
512
+ attr_accessor :WorkspaceId, :ApplicationToken, :ApplicationId, :PageNumber, :PageSize
401
513
 
402
- def initialize()
514
+ def initialize(workspaceid=nil, applicationtoken=nil, applicationid=nil, pagenumber=nil, pagesize=nil)
515
+ @WorkspaceId = workspaceid
516
+ @ApplicationToken = applicationtoken
517
+ @ApplicationId = applicationid
518
+ @PageNumber = pagenumber
519
+ @PageSize = pagesize
403
520
  end
404
521
 
405
522
  def deserialize(params)
523
+ @WorkspaceId = params['WorkspaceId']
524
+ @ApplicationToken = params['ApplicationToken']
525
+ @ApplicationId = params['ApplicationId']
526
+ @PageNumber = params['PageNumber']
527
+ @PageSize = params['PageSize']
406
528
  end
407
529
  end
408
530
 
409
531
  # DescribeApplicationList返回参数结构体
410
532
  class DescribeApplicationListResponse < TencentCloud::Common::AbstractModel
533
+ # @param Result: 应用列表
534
+ # @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.ApplicationList`
411
535
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
412
536
  # @type RequestId: String
413
537
 
414
- attr_accessor :RequestId
538
+ attr_accessor :Result, :RequestId
415
539
 
416
- def initialize(requestid=nil)
540
+ def initialize(result=nil, requestid=nil)
541
+ @Result = result
417
542
  @RequestId = requestid
418
543
  end
419
544
 
420
545
  def deserialize(params)
546
+ unless params['Result'].nil?
547
+ @Result = ApplicationList.new
548
+ @Result.deserialize(params['Result'])
549
+ end
421
550
  @RequestId = params['RequestId']
422
551
  end
423
552
  end
@@ -586,27 +715,71 @@ module TencentCloud
586
715
 
587
716
  # DescribeDeviceShadowList请求参数结构体
588
717
  class DescribeDeviceShadowListRequest < TencentCloud::Common::AbstractModel
589
-
590
-
591
- def initialize()
718
+ # @param WorkspaceId: 工作空间id
719
+ # @type WorkspaceId: Integer
720
+ # @param WIDSet: WID
721
+ # @type WIDSet: Array
722
+ # @param PageNumber: 分页查询,第几页
723
+ # @type PageNumber: Integer
724
+ # @param PageSize: 每页条数
725
+ # @type PageSize: Integer
726
+ # @param ApplicationToken: 应用token
727
+ # @type ApplicationToken: String
728
+ # @param DeviceTypeSet: 设备类型code
729
+ # @type DeviceTypeSet: Array
730
+ # @param ProductIdSet: 产品 pid
731
+ # @type ProductIdSet: Array
732
+ # @param SpaceCodeSet: 空间层级,(支持空间多层,比如具体建筑、具体楼层)
733
+ # @type SpaceCodeSet: Array
734
+ # @param DeviceTagSet: 设备标签名
735
+ # @type DeviceTagSet: Array
736
+
737
+ attr_accessor :WorkspaceId, :WIDSet, :PageNumber, :PageSize, :ApplicationToken, :DeviceTypeSet, :ProductIdSet, :SpaceCodeSet, :DeviceTagSet
738
+
739
+ def initialize(workspaceid=nil, widset=nil, pagenumber=nil, pagesize=nil, applicationtoken=nil, devicetypeset=nil, productidset=nil, spacecodeset=nil, devicetagset=nil)
740
+ @WorkspaceId = workspaceid
741
+ @WIDSet = widset
742
+ @PageNumber = pagenumber
743
+ @PageSize = pagesize
744
+ @ApplicationToken = applicationtoken
745
+ @DeviceTypeSet = devicetypeset
746
+ @ProductIdSet = productidset
747
+ @SpaceCodeSet = spacecodeset
748
+ @DeviceTagSet = devicetagset
592
749
  end
593
750
 
594
751
  def deserialize(params)
752
+ @WorkspaceId = params['WorkspaceId']
753
+ @WIDSet = params['WIDSet']
754
+ @PageNumber = params['PageNumber']
755
+ @PageSize = params['PageSize']
756
+ @ApplicationToken = params['ApplicationToken']
757
+ @DeviceTypeSet = params['DeviceTypeSet']
758
+ @ProductIdSet = params['ProductIdSet']
759
+ @SpaceCodeSet = params['SpaceCodeSet']
760
+ @DeviceTagSet = params['DeviceTagSet']
595
761
  end
596
762
  end
597
763
 
598
764
  # DescribeDeviceShadowList返回参数结构体
599
765
  class DescribeDeviceShadowListResponse < TencentCloud::Common::AbstractModel
766
+ # @param Result: 获取设备影子结果
767
+ # @type Result: :class:`Tencentcloud::Weilingwith.v20230427.models.DeviceShadowRes`
600
768
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
601
769
  # @type RequestId: String
602
770
 
603
- attr_accessor :RequestId
771
+ attr_accessor :Result, :RequestId
604
772
 
605
- def initialize(requestid=nil)
773
+ def initialize(result=nil, requestid=nil)
774
+ @Result = result
606
775
  @RequestId = requestid
607
776
  end
608
777
 
609
778
  def deserialize(params)
779
+ unless params['Result'].nil?
780
+ @Result = DeviceShadowRes.new
781
+ @Result.deserialize(params['Result'])
782
+ end
610
783
  @RequestId = params['RequestId']
611
784
  end
612
785
  end
@@ -1430,12 +1603,54 @@ module TencentCloud
1430
1603
 
1431
1604
  # DescribeVideoRecordStream请求参数结构体
1432
1605
  class DescribeVideoRecordStreamRequest < TencentCloud::Common::AbstractModel
1433
-
1434
-
1435
- def initialize()
1606
+ # @param WID: 设备唯一标识
1607
+ # @type WID: String
1608
+ # @param Protocol: 枚举如下:
1609
+ # flvsh
1610
+ # rtmp
1611
+ # hls
1612
+ # webrtc
1613
+ # raw (视频原始帧)
1614
+ # @type Protocol: String
1615
+ # @param StartTime: 开始时间(精确到毫秒)
1616
+ # @type StartTime: Integer
1617
+ # @param EndTime: 结束时间(精确到毫秒)
1618
+ # @type EndTime: Integer
1619
+ # @param PlayBackRate: 倍速 0.5、1、2、4
1620
+ # @type PlayBackRate: Float
1621
+ # @param WorkspaceId: 工作空间id
1622
+ # @type WorkspaceId: Integer
1623
+ # @param ApplicationToken: 应用token
1624
+ # @type ApplicationToken: String
1625
+ # @param Stream: 流的唯一标识,播放链接尾缀
1626
+ # @type Stream: String
1627
+ # @param Env: 公有云私有化项目传0或者不传;混合云项目一般传空间id
1628
+ # @type Env: String
1629
+
1630
+ attr_accessor :WID, :Protocol, :StartTime, :EndTime, :PlayBackRate, :WorkspaceId, :ApplicationToken, :Stream, :Env
1631
+
1632
+ def initialize(wid=nil, protocol=nil, starttime=nil, endtime=nil, playbackrate=nil, workspaceid=nil, applicationtoken=nil, stream=nil, env=nil)
1633
+ @WID = wid
1634
+ @Protocol = protocol
1635
+ @StartTime = starttime
1636
+ @EndTime = endtime
1637
+ @PlayBackRate = playbackrate
1638
+ @WorkspaceId = workspaceid
1639
+ @ApplicationToken = applicationtoken
1640
+ @Stream = stream
1641
+ @Env = env
1436
1642
  end
1437
1643
 
1438
1644
  def deserialize(params)
1645
+ @WID = params['WID']
1646
+ @Protocol = params['Protocol']
1647
+ @StartTime = params['StartTime']
1648
+ @EndTime = params['EndTime']
1649
+ @PlayBackRate = params['PlayBackRate']
1650
+ @WorkspaceId = params['WorkspaceId']
1651
+ @ApplicationToken = params['ApplicationToken']
1652
+ @Stream = params['Stream']
1653
+ @Env = params['Env']
1439
1654
  end
1440
1655
  end
1441
1656
 
@@ -1568,6 +1783,77 @@ module TencentCloud
1568
1783
  end
1569
1784
  end
1570
1785
 
1786
+ # 设备影子信息
1787
+ class DeviceShadowInfo < TencentCloud::Common::AbstractModel
1788
+ # @param WID: 设备ID
1789
+ # 注意:此字段可能返回 null,表示取不到有效值。
1790
+ # @type WID: String
1791
+ # @param DeviceShadow: 设备影子数据,返回有效数据为"x-json:"后字段
1792
+ # 注意:此字段可能返回 null,表示取不到有效值。
1793
+ # @type DeviceShadow: String
1794
+ # @param DeviceShadowUpdateTime: 设备影子更新时间
1795
+ # 注意:此字段可能返回 null,表示取不到有效值。
1796
+ # @type DeviceShadowUpdateTime: String
1797
+
1798
+ attr_accessor :WID, :DeviceShadow, :DeviceShadowUpdateTime
1799
+
1800
+ def initialize(wid=nil, deviceshadow=nil, deviceshadowupdatetime=nil)
1801
+ @WID = wid
1802
+ @DeviceShadow = deviceshadow
1803
+ @DeviceShadowUpdateTime = deviceshadowupdatetime
1804
+ end
1805
+
1806
+ def deserialize(params)
1807
+ @WID = params['WID']
1808
+ @DeviceShadow = params['DeviceShadow']
1809
+ @DeviceShadowUpdateTime = params['DeviceShadowUpdateTime']
1810
+ end
1811
+ end
1812
+
1813
+ # 设备影子查询列表
1814
+ class DeviceShadowRes < TencentCloud::Common::AbstractModel
1815
+ # @param PageNumber: 第几页
1816
+ # 注意:此字段可能返回 null,表示取不到有效值。
1817
+ # @type PageNumber: Integer
1818
+ # @param PageSize: 每页条数
1819
+ # 注意:此字段可能返回 null,表示取不到有效值。
1820
+ # @type PageSize: Integer
1821
+ # @param TotalPage: 总页数
1822
+ # 注意:此字段可能返回 null,表示取不到有效值。
1823
+ # @type TotalPage: Integer
1824
+ # @param TotalRow: 总条数
1825
+ # 注意:此字段可能返回 null,表示取不到有效值。
1826
+ # @type TotalRow: Integer
1827
+ # @param Set: 设备影子列表
1828
+ # 注意:此字段可能返回 null,表示取不到有效值。
1829
+ # @type Set: Array
1830
+
1831
+ attr_accessor :PageNumber, :PageSize, :TotalPage, :TotalRow, :Set
1832
+
1833
+ def initialize(pagenumber=nil, pagesize=nil, totalpage=nil, totalrow=nil, set=nil)
1834
+ @PageNumber = pagenumber
1835
+ @PageSize = pagesize
1836
+ @TotalPage = totalpage
1837
+ @TotalRow = totalrow
1838
+ @Set = set
1839
+ end
1840
+
1841
+ def deserialize(params)
1842
+ @PageNumber = params['PageNumber']
1843
+ @PageSize = params['PageSize']
1844
+ @TotalPage = params['TotalPage']
1845
+ @TotalRow = params['TotalRow']
1846
+ unless params['Set'].nil?
1847
+ @Set = []
1848
+ params['Set'].each do |i|
1849
+ deviceshadowinfo_tmp = DeviceShadowInfo.new
1850
+ deviceshadowinfo_tmp.deserialize(i)
1851
+ @Set << deviceshadowinfo_tmp
1852
+ end
1853
+ end
1854
+ end
1855
+ end
1856
+
1571
1857
  # ModifyDeviceName请求参数结构体
1572
1858
  class ModifyDeviceNameRequest < TencentCloud::Common::AbstractModel
1573
1859
 
@@ -1686,7 +1972,7 @@ module TencentCloud
1686
1972
  # @param RealName: 用户名称
1687
1973
  # 注意:此字段可能返回 null,表示取不到有效值。
1688
1974
  # @type RealName: String
1689
- # @param UserType: 用户类型
1975
+ # @param UserType: 用户类型,1-超级管理员;2-1号管理员;3-普通管理员;99-普通用户
1690
1976
  # 注意:此字段可能返回 null,表示取不到有效值。
1691
1977
  # @type UserType: String
1692
1978
  # @param TenantId: 所属租户ID
@@ -1785,7 +2071,7 @@ module TencentCloud
1785
2071
  # @param RealName: 用户名称
1786
2072
  # 注意:此字段可能返回 null,表示取不到有效值。
1787
2073
  # @type RealName: String
1788
- # @param UserType: 用户类型
2074
+ # @param UserType: 用户类型,1-超级管理员;2-1号管理员;3-普通管理员;99-普通用户
1789
2075
  # 注意:此字段可能返回 null,表示取不到有效值。
1790
2076
  # @type UserType: String
1791
2077
  # @param TenantId: 所属租户ID
@@ -1800,7 +2086,7 @@ module TencentCloud
1800
2086
  # @param Phone: 电话
1801
2087
  # 注意:此字段可能返回 null,表示取不到有效值。
1802
2088
  # @type Phone: String
1803
- # @param Status: 用户状态
2089
+ # @param Status: 用户状态,0待审核,1正常启用,2禁用
1804
2090
  # 注意:此字段可能返回 null,表示取不到有效值。
1805
2091
  # @type Status: Integer
1806
2092
  # @param CreateAt: 创建时间
@@ -1809,13 +2095,13 @@ module TencentCloud
1809
2095
  # @param UpdateAt: 更新时间
1810
2096
  # 注意:此字段可能返回 null,表示取不到有效值。
1811
2097
  # @type UpdateAt: Integer
1812
- # @param BelongTeam: 是否属于团队
2098
+ # @param BelongTeam: 是否属于团队,0不可用,1属于,2不属
1813
2099
  # 注意:此字段可能返回 null,表示取不到有效值。
1814
2100
  # @type BelongTeam: Integer
1815
- # @param DepartmentId: ID
2101
+ # @param DepartmentId: 部门ID
1816
2102
  # 注意:此字段可能返回 null,表示取不到有效值。
1817
2103
  # @type DepartmentId: String
1818
- # @param DepartmentName: 名称
2104
+ # @param DepartmentName: 部门名称
1819
2105
  # 注意:此字段可能返回 null,表示取不到有效值。
1820
2106
  # @type DepartmentName: String
1821
2107
  # @param DepartmentUserId: 子账户ID
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-weilingwith
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.700
4
+ version: 3.0.701
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-weilingwith.rb
37
36
  - lib/v20230427/client.rb
38
37
  - lib/v20230427/models.rb
38
+ - lib/tencentcloud-sdk-weilingwith.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: