tencentcloud-sdk-lcic 3.0.532 → 3.0.533

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cf5d7eed21efdff12faae18e9da52e57a48627b
4
- data.tar.gz: 48d7dd8493a467ec44744aebcfe43a0db76d998f
3
+ metadata.gz: ac65221f057472d75828046bedfc4d58883a1be2
4
+ data.tar.gz: 8bc9aae0344800a8119f5438536d2f7651901746
5
5
  SHA512:
6
- metadata.gz: 50abc31c2cd8d78237d54dea6d68b15a5fd3cb21049a67b668badf7884b05e564db78dd4cf5e6e6216dad6b9f2133d0f2cbf19dfd991c2a47cd2c9603dbd44c0
7
- data.tar.gz: 1e216ce88546e720cb3560e4467cb0b3c2ff8f10eac1739e4c632eac1a64c5db83e24ae3f1ddde90ab623b00e8f384778cfb8aeadb286a528782f1ade51f9e8a
6
+ metadata.gz: e4eda1df45731cd5d1032570164850fcf116d41f2b7d896bb4679c02adad1d96ddf308895d98ca9392e585a19b7748a2012170b5ee5f7f30a08d64204964e3e6
7
+ data.tar.gz: aa290f9762d81be6d7e701984a365473a545d24e3dca5b7e2d1190c324f721bdc5d0c1b3e296cfeff06e6f3683f61e87e726c0a6e96255fcec7293a087af7e7f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.532
1
+ 3.0.533
@@ -749,6 +749,30 @@ module TencentCloud
749
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
750
  end
751
751
 
752
+ # 获取房间事件,仅在课堂结束1小时内有效。
753
+
754
+ # @param request: Request instance for GetRoomEvent.
755
+ # @type request: :class:`Tencentcloud::lcic::V20220817::GetRoomEventRequest`
756
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::GetRoomEventResponse`
757
+ def GetRoomEvent(request)
758
+ body = send_request('GetRoomEvent', request.serialize)
759
+ response = JSON.parse(body)
760
+ if response['Response'].key?('Error') == false
761
+ model = GetRoomEventResponse.new
762
+ model.deserialize(response['Response'])
763
+ model
764
+ else
765
+ code = response['Response']['Error']['Code']
766
+ message = response['Response']['Error']['Message']
767
+ reqid = response['Response']['RequestId']
768
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
+ end
770
+ rescue TencentCloud::Common::TencentCloudSDKException => e
771
+ raise e
772
+ rescue StandardError => e
773
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
+ end
775
+
752
776
  # 获取房间历史消息(房间历史消息保存7天)
753
777
 
754
778
  # @param request: Request instance for GetRoomMessage.
@@ -1829,6 +1829,126 @@ module TencentCloud
1829
1829
  end
1830
1830
  end
1831
1831
 
1832
+ # 房间事件对应的信息。
1833
+ class EventDataInfo < TencentCloud::Common::AbstractModel
1834
+ # @param RoomId: 事件发生的房间号。
1835
+ # 注意:此字段可能返回 null,表示取不到有效值。
1836
+ # @type RoomId: Integer
1837
+ # @param UserId: 事件发生的用户。
1838
+ # 注意:此字段可能返回 null,表示取不到有效值。
1839
+ # @type UserId: String
1840
+
1841
+ attr_accessor :RoomId, :UserId
1842
+
1843
+ def initialize(roomid=nil, userid=nil)
1844
+ @RoomId = roomid
1845
+ @UserId = userid
1846
+ end
1847
+
1848
+ def deserialize(params)
1849
+ @RoomId = params['RoomId']
1850
+ @UserId = params['UserId']
1851
+ end
1852
+ end
1853
+
1854
+ # 房间事件信息。
1855
+ class EventInfo < TencentCloud::Common::AbstractModel
1856
+ # @param Timestamp: 事件发生的秒级unix时间戳。
1857
+ # @type Timestamp: Integer
1858
+ # @param EventType: 事件类型,有以下值:
1859
+ # RoomStart:房间开始 RoomEnd:房间结束 MemberJoin:成员加入 MemberQuit:成员退出 RecordFinish:录制结束
1860
+ # @type EventType: String
1861
+ # @param EventData: 事件详细内容,包含房间号,成员类型事件包含用户Id。
1862
+ # 注意:此字段可能返回 null,表示取不到有效值。
1863
+ # @type EventData: :class:`Tencentcloud::Lcic.v20220817.models.EventDataInfo`
1864
+
1865
+ attr_accessor :Timestamp, :EventType, :EventData
1866
+
1867
+ def initialize(timestamp=nil, eventtype=nil, eventdata=nil)
1868
+ @Timestamp = timestamp
1869
+ @EventType = eventtype
1870
+ @EventData = eventdata
1871
+ end
1872
+
1873
+ def deserialize(params)
1874
+ @Timestamp = params['Timestamp']
1875
+ @EventType = params['EventType']
1876
+ unless params['EventData'].nil?
1877
+ @EventData = EventDataInfo.new
1878
+ @EventData.deserialize(params['EventData'])
1879
+ end
1880
+ end
1881
+ end
1882
+
1883
+ # GetRoomEvent请求参数结构体
1884
+ class GetRoomEventRequest < TencentCloud::Common::AbstractModel
1885
+ # @param RoomId: 房间Id。
1886
+ # @type RoomId: Integer
1887
+ # @param SdkAppId: 应用Id。
1888
+ # @type SdkAppId: Integer
1889
+ # @param Page: 起始页,1开始。keyword为空时有效。
1890
+ # @type Page: Integer
1891
+ # @param Limit: 每页个数。keyword为空时有效。一次性最多200条。
1892
+ # @type Limit: Integer
1893
+ # @param Keyword: 搜索事件类型。有以下事件类型:
1894
+ # RoomStart:房间开始
1895
+ # RoomEnd:房间结束
1896
+ # MemberJoin:成员加入
1897
+ # MemberQuit:成员退出
1898
+ # RecordFinish:录制结束
1899
+ # @type Keyword: String
1900
+
1901
+ attr_accessor :RoomId, :SdkAppId, :Page, :Limit, :Keyword
1902
+
1903
+ def initialize(roomid=nil, sdkappid=nil, page=nil, limit=nil, keyword=nil)
1904
+ @RoomId = roomid
1905
+ @SdkAppId = sdkappid
1906
+ @Page = page
1907
+ @Limit = limit
1908
+ @Keyword = keyword
1909
+ end
1910
+
1911
+ def deserialize(params)
1912
+ @RoomId = params['RoomId']
1913
+ @SdkAppId = params['SdkAppId']
1914
+ @Page = params['Page']
1915
+ @Limit = params['Limit']
1916
+ @Keyword = params['Keyword']
1917
+ end
1918
+ end
1919
+
1920
+ # GetRoomEvent返回参数结构体
1921
+ class GetRoomEventResponse < TencentCloud::Common::AbstractModel
1922
+ # @param Total: 该房间的事件总数,keyword搜索不影响该值。
1923
+ # @type Total: Integer
1924
+ # @param Events: 详细事件内容。包含相应的类型、发生的时间戳。
1925
+ # 注意:此字段可能返回 null,表示取不到有效值。
1926
+ # @type Events: Array
1927
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1928
+ # @type RequestId: String
1929
+
1930
+ attr_accessor :Total, :Events, :RequestId
1931
+
1932
+ def initialize(total=nil, events=nil, requestid=nil)
1933
+ @Total = total
1934
+ @Events = events
1935
+ @RequestId = requestid
1936
+ end
1937
+
1938
+ def deserialize(params)
1939
+ @Total = params['Total']
1940
+ unless params['Events'].nil?
1941
+ @Events = []
1942
+ params['Events'].each do |i|
1943
+ eventinfo_tmp = EventInfo.new
1944
+ eventinfo_tmp.deserialize(i)
1945
+ @Events << eventinfo_tmp
1946
+ end
1947
+ end
1948
+ @RequestId = params['RequestId']
1949
+ end
1950
+ end
1951
+
1832
1952
  # GetRoomMessage请求参数结构体
1833
1953
  class GetRoomMessageRequest < TencentCloud::Common::AbstractModel
1834
1954
  # @param SdkAppId: 低代码互动课堂的SdkAppId。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lcic
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.532
4
+ version: 3.0.533
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-17 00:00:00.000000000 Z
11
+ date: 2023-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common