tencentcloud-sdk-lcic 3.0.950 → 3.0.951

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: 5c702242ed111e825590049dd47c55c4fa50c0f6
4
- data.tar.gz: 315fc5690ac8d113511fe196d6fbd6b8359c7e41
3
+ metadata.gz: d0434b860504331388e802046a9fa096c44ef67f
4
+ data.tar.gz: c619fbf3aaa505bc39bbe93471b48eb9acb36ed7
5
5
  SHA512:
6
- metadata.gz: 0123c519413b9febc072226606ccfd9d7dba8ce9a9cadb788c4eb4848cc5b150c52e4d7d3600abc0e535fb9ef59e5edc1c8133e29aaba79105394c7f689bde6e
7
- data.tar.gz: d4369518a265a7e1ed8f60b4c8486c5ca4e39e2f04bc084e152988654c37087079b1342ae59633665e1922ccc0d2aa9ee35bf5b3cc18bf22302a4672d18f6b8a
6
+ metadata.gz: c3db964990fd9d597b9fc5e39b2a6623c212998e1615694337fdc99724ade6646ed234f45bcc848785f243e44922e1e8a6cba1067a7385400635a43417543b57
7
+ data.tar.gz: 2ad3efd11a935446a40800e794645123d27c67a366c269ff7edb31518645d5fc9c89d54f550efb2215ff333cf0630f9c1a8d5bf441c5e2c49021c09210b4c5b7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.950
1
+ 3.0.951
@@ -799,6 +799,30 @@ module TencentCloud
799
799
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
800
800
  end
801
801
 
802
+ # 查询跑马灯配置
803
+
804
+ # @param request: Request instance for DescribeMarquee.
805
+ # @type request: :class:`Tencentcloud::lcic::V20220817::DescribeMarqueeRequest`
806
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeMarqueeResponse`
807
+ def DescribeMarquee(request)
808
+ body = send_request('DescribeMarquee', request.serialize)
809
+ response = JSON.parse(body)
810
+ if response['Response'].key?('Error') == false
811
+ model = DescribeMarqueeResponse.new
812
+ model.deserialize(response['Response'])
813
+ model
814
+ else
815
+ code = response['Response']['Error']['Code']
816
+ message = response['Response']['Error']['Message']
817
+ reqid = response['Response']['RequestId']
818
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
819
+ end
820
+ rescue TencentCloud::Common::TencentCloudSDKException => e
821
+ raise e
822
+ rescue StandardError => e
823
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
824
+ end
825
+
802
826
  # 获取房间提问列表
803
827
 
804
828
  # @param request: Request instance for DescribeQuestionList.
@@ -1449,6 +1473,30 @@ module TencentCloud
1449
1473
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1450
1474
  end
1451
1475
 
1476
+ # 设置跑马灯参数设置
1477
+
1478
+ # @param request: Request instance for SetMarquee.
1479
+ # @type request: :class:`Tencentcloud::lcic::V20220817::SetMarqueeRequest`
1480
+ # @rtype: :class:`Tencentcloud::lcic::V20220817::SetMarqueeResponse`
1481
+ def SetMarquee(request)
1482
+ body = send_request('SetMarquee', request.serialize)
1483
+ response = JSON.parse(body)
1484
+ if response['Response'].key?('Error') == false
1485
+ model = SetMarqueeResponse.new
1486
+ model.deserialize(response['Response'])
1487
+ model
1488
+ else
1489
+ code = response['Response']['Error']['Code']
1490
+ message = response['Response']['Error']['Message']
1491
+ reqid = response['Response']['RequestId']
1492
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1493
+ end
1494
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1495
+ raise e
1496
+ rescue StandardError => e
1497
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1498
+ end
1499
+
1452
1500
  # 设置水印
1453
1501
 
1454
1502
  # @param request: Request instance for SetWatermark.
@@ -2052,6 +2052,86 @@ module TencentCloud
2052
2052
  end
2053
2053
  end
2054
2054
 
2055
+ # DescribeMarquee请求参数结构体
2056
+ class DescribeMarqueeRequest < TencentCloud::Common::AbstractModel
2057
+ # @param SdkAppId: 学校ID
2058
+ # @type SdkAppId: Integer
2059
+ # @param RoomId: 房间号
2060
+ # @type RoomId: Integer
2061
+
2062
+ attr_accessor :SdkAppId, :RoomId
2063
+
2064
+ def initialize(sdkappid=nil, roomid=nil)
2065
+ @SdkAppId = sdkappid
2066
+ @RoomId = roomid
2067
+ end
2068
+
2069
+ def deserialize(params)
2070
+ @SdkAppId = params['SdkAppId']
2071
+ @RoomId = params['RoomId']
2072
+ end
2073
+ end
2074
+
2075
+ # DescribeMarquee返回参数结构体
2076
+ class DescribeMarqueeResponse < TencentCloud::Common::AbstractModel
2077
+ # @param MarqueeType: 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
2078
+ # @type MarqueeType: Integer
2079
+ # @param Content: 固定值内容(当MarqueeType=1或5,则展示固定值内容)
2080
+ # @type Content: String
2081
+ # @param FontSize: 字体大小(数字,像素单位,范围:10到24)
2082
+ # @type FontSize: Integer
2083
+ # @param FontWeight: 字体粗细:1为粗体,0为细体
2084
+ # @type FontWeight: Integer
2085
+ # @param FontColor: 字体颜色(十六进制颜色值)
2086
+ # @type FontColor: String
2087
+ # @param FontOpacity: 字体透明度(数字,范围 0.0 到 1.0)
2088
+ # @type FontOpacity: Float
2089
+ # @param BackgroundColor: 背景颜色(十六进制颜色值)
2090
+ # @type BackgroundColor: String
2091
+ # @param BackgroundOpacity: 背景透明度(数字,范围 0.0 到 1.0)
2092
+ # @type BackgroundOpacity: Float
2093
+ # @param DisplayMode: 显示方式:1为滚动,2为闪烁
2094
+ # @type DisplayMode: Integer
2095
+ # @param Duration: 停留时长(秒,整数,范围 1~10)
2096
+ # @type Duration: Integer
2097
+ # @param MarqueeCount: 跑马灯个数:目前仅支持1或2, 对应显示单排或双排
2098
+ # @type MarqueeCount: Integer
2099
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2100
+ # @type RequestId: String
2101
+
2102
+ attr_accessor :MarqueeType, :Content, :FontSize, :FontWeight, :FontColor, :FontOpacity, :BackgroundColor, :BackgroundOpacity, :DisplayMode, :Duration, :MarqueeCount, :RequestId
2103
+
2104
+ def initialize(marqueetype=nil, content=nil, fontsize=nil, fontweight=nil, fontcolor=nil, fontopacity=nil, backgroundcolor=nil, backgroundopacity=nil, displaymode=nil, duration=nil, marqueecount=nil, requestid=nil)
2105
+ @MarqueeType = marqueetype
2106
+ @Content = content
2107
+ @FontSize = fontsize
2108
+ @FontWeight = fontweight
2109
+ @FontColor = fontcolor
2110
+ @FontOpacity = fontopacity
2111
+ @BackgroundColor = backgroundcolor
2112
+ @BackgroundOpacity = backgroundopacity
2113
+ @DisplayMode = displaymode
2114
+ @Duration = duration
2115
+ @MarqueeCount = marqueecount
2116
+ @RequestId = requestid
2117
+ end
2118
+
2119
+ def deserialize(params)
2120
+ @MarqueeType = params['MarqueeType']
2121
+ @Content = params['Content']
2122
+ @FontSize = params['FontSize']
2123
+ @FontWeight = params['FontWeight']
2124
+ @FontColor = params['FontColor']
2125
+ @FontOpacity = params['FontOpacity']
2126
+ @BackgroundColor = params['BackgroundColor']
2127
+ @BackgroundOpacity = params['BackgroundOpacity']
2128
+ @DisplayMode = params['DisplayMode']
2129
+ @Duration = params['Duration']
2130
+ @MarqueeCount = params['MarqueeCount']
2131
+ @RequestId = params['RequestId']
2132
+ end
2133
+ end
2134
+
2055
2135
  # DescribeQuestionList请求参数结构体
2056
2136
  class DescribeQuestionListRequest < TencentCloud::Common::AbstractModel
2057
2137
  # @param RoomId: 房间ID
@@ -2704,9 +2784,9 @@ module TencentCloud
2704
2784
 
2705
2785
  # DescribeUser请求参数结构体
2706
2786
  class DescribeUserRequest < TencentCloud::Common::AbstractModel
2707
- # @param UserId: 用户Id。
2787
+ # @param UserId: 用户id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询。
2708
2788
  # @type UserId: String
2709
- # @param OriginId: 客户端用户 id,如果未指定则为用户 id。
2789
+ # @param OriginId: 用户在客户系统的Id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询(UserId不为空时,OriginId不生效)。
2710
2790
  # @type OriginId: String
2711
2791
 
2712
2792
  attr_accessor :UserId, :OriginId
@@ -4648,6 +4728,86 @@ module TencentCloud
4648
4728
  end
4649
4729
  end
4650
4730
 
4731
+ # SetMarquee请求参数结构体
4732
+ class SetMarqueeRequest < TencentCloud::Common::AbstractModel
4733
+ # @param SdkAppId: 学校ID
4734
+ # @type SdkAppId: Integer
4735
+ # @param RoomId: 房间号
4736
+ # @type RoomId: Integer
4737
+ # @param MarqueeType: 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)
4738
+ # @type MarqueeType: Integer
4739
+ # @param DisplayMode: 显示方式:1为滚动,2为闪烁
4740
+ # @type DisplayMode: Integer
4741
+ # @param Content: 固定值内容(当MarqueeType=1或5,则展示固定值内容)
4742
+ # @type Content: String
4743
+ # @param FontSize: 字体大小(数字,像素单位,范围:10到24)。
4744
+ # @type FontSize: Integer
4745
+ # @param FontWeight: 字体粗细:1为粗体,0为细体
4746
+ # @type FontWeight: Integer
4747
+ # @param FontColor: 字体颜色(十六进制颜色值,例如:#00FF00(绿色))
4748
+ # @type FontColor: String
4749
+ # @param FontOpacity: 字体透明度(数字,范围 0.0 到 1.0)
4750
+ # @type FontOpacity: Float
4751
+ # @param BackgroundColor: 背景颜色(十六进制颜色值,例如:#FFFF00(黄色))
4752
+ # @type BackgroundColor: String
4753
+ # @param BackgroundOpacity: 背景透明度(数字,范围 0.0 到 1.0)
4754
+ # @type BackgroundOpacity: Float
4755
+ # @param Duration: 跑马灯文字移动/闪烁指定像素所需时间,范围:1-10;数值越小,跑马灯滚动/闪烁速度越快
4756
+ # @type Duration: Integer
4757
+ # @param MarqueeCount: 跑马灯个数:目前仅支持1或2, 对应显示单排或双排
4758
+ # @type MarqueeCount: Integer
4759
+
4760
+ attr_accessor :SdkAppId, :RoomId, :MarqueeType, :DisplayMode, :Content, :FontSize, :FontWeight, :FontColor, :FontOpacity, :BackgroundColor, :BackgroundOpacity, :Duration, :MarqueeCount
4761
+
4762
+ def initialize(sdkappid=nil, roomid=nil, marqueetype=nil, displaymode=nil, content=nil, fontsize=nil, fontweight=nil, fontcolor=nil, fontopacity=nil, backgroundcolor=nil, backgroundopacity=nil, duration=nil, marqueecount=nil)
4763
+ @SdkAppId = sdkappid
4764
+ @RoomId = roomid
4765
+ @MarqueeType = marqueetype
4766
+ @DisplayMode = displaymode
4767
+ @Content = content
4768
+ @FontSize = fontsize
4769
+ @FontWeight = fontweight
4770
+ @FontColor = fontcolor
4771
+ @FontOpacity = fontopacity
4772
+ @BackgroundColor = backgroundcolor
4773
+ @BackgroundOpacity = backgroundopacity
4774
+ @Duration = duration
4775
+ @MarqueeCount = marqueecount
4776
+ end
4777
+
4778
+ def deserialize(params)
4779
+ @SdkAppId = params['SdkAppId']
4780
+ @RoomId = params['RoomId']
4781
+ @MarqueeType = params['MarqueeType']
4782
+ @DisplayMode = params['DisplayMode']
4783
+ @Content = params['Content']
4784
+ @FontSize = params['FontSize']
4785
+ @FontWeight = params['FontWeight']
4786
+ @FontColor = params['FontColor']
4787
+ @FontOpacity = params['FontOpacity']
4788
+ @BackgroundColor = params['BackgroundColor']
4789
+ @BackgroundOpacity = params['BackgroundOpacity']
4790
+ @Duration = params['Duration']
4791
+ @MarqueeCount = params['MarqueeCount']
4792
+ end
4793
+ end
4794
+
4795
+ # SetMarquee返回参数结构体
4796
+ class SetMarqueeResponse < TencentCloud::Common::AbstractModel
4797
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4798
+ # @type RequestId: String
4799
+
4800
+ attr_accessor :RequestId
4801
+
4802
+ def initialize(requestid=nil)
4803
+ @RequestId = requestid
4804
+ end
4805
+
4806
+ def deserialize(params)
4807
+ @RequestId = params['RequestId']
4808
+ end
4809
+ end
4810
+
4651
4811
  # SetWatermark请求参数结构体
4652
4812
  class SetWatermarkRequest < TencentCloud::Common::AbstractModel
4653
4813
  # @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.950
4
+ version: 3.0.951
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-11-27 00:00:00.000000000 Z
11
+ date: 2024-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common