tencentcloud-sdk-lcic 3.0.674 → 3.0.675
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220817/client.rb +24 -0
- data/lib/v20220817/models.rb +93 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86f82c27820bac78fb11cad505bb364fba33e162
|
4
|
+
data.tar.gz: 4f36a6867cb3b971e766e7da8692b6059aa8b3e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b9de27f104433618c71f635fdf6d047765fc48f7e50fdb932f3e83aaaae0b3d5f03b7a9ad52d357c4c3d92b8cd33deaeb011869140d9d3223cd163452701ea0
|
7
|
+
data.tar.gz: 069158dd3b406b8563b32bffd8d458af4b5cd818ba95f45a7891ce61b4e87f3116f45d626a01f434c98f22b5350080372e369e99a9da665e0ac3c12ddb312f6a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.675
|
data/lib/v20220817/client.rb
CHANGED
@@ -871,6 +871,30 @@ module TencentCloud
|
|
871
871
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
872
872
|
end
|
873
873
|
|
874
|
+
# 获取课堂评分列表
|
875
|
+
|
876
|
+
# @param request: Request instance for DescribeScoreList.
|
877
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeScoreListRequest`
|
878
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeScoreListResponse`
|
879
|
+
def DescribeScoreList(request)
|
880
|
+
body = send_request('DescribeScoreList', request.serialize)
|
881
|
+
response = JSON.parse(body)
|
882
|
+
if response['Response'].key?('Error') == false
|
883
|
+
model = DescribeScoreListResponse.new
|
884
|
+
model.deserialize(response['Response'])
|
885
|
+
model
|
886
|
+
else
|
887
|
+
code = response['Response']['Error']['Code']
|
888
|
+
message = response['Response']['Error']['Message']
|
889
|
+
reqid = response['Response']['RequestId']
|
890
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
891
|
+
end
|
892
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
893
|
+
raise e
|
894
|
+
rescue StandardError => e
|
895
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
896
|
+
end
|
897
|
+
|
874
898
|
# 此接口用于获取指定应用ID下用户列表
|
875
899
|
|
876
900
|
# @param request: Request instance for DescribeSdkAppIdUsers.
|
data/lib/v20220817/models.rb
CHANGED
@@ -605,6 +605,43 @@ module TencentCloud
|
|
605
605
|
end
|
606
606
|
end
|
607
607
|
|
608
|
+
# 课堂评分字段
|
609
|
+
class ClassScoreItem < TencentCloud::Common::AbstractModel
|
610
|
+
# @param RoomId: 课堂iD
|
611
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
612
|
+
# @type RoomId: Integer
|
613
|
+
# @param UserId: 用户ID
|
614
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
615
|
+
# @type UserId: String
|
616
|
+
# @param CreateTime: 评分时间
|
617
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
618
|
+
# @type CreateTime: Integer
|
619
|
+
# @param Score: 课堂评分
|
620
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
621
|
+
# @type Score: Integer
|
622
|
+
# @param ScoreMsg: 课堂评价
|
623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
624
|
+
# @type ScoreMsg: String
|
625
|
+
|
626
|
+
attr_accessor :RoomId, :UserId, :CreateTime, :Score, :ScoreMsg
|
627
|
+
|
628
|
+
def initialize(roomid=nil, userid=nil, createtime=nil, score=nil, scoremsg=nil)
|
629
|
+
@RoomId = roomid
|
630
|
+
@UserId = userid
|
631
|
+
@CreateTime = createtime
|
632
|
+
@Score = score
|
633
|
+
@ScoreMsg = scoremsg
|
634
|
+
end
|
635
|
+
|
636
|
+
def deserialize(params)
|
637
|
+
@RoomId = params['RoomId']
|
638
|
+
@UserId = params['UserId']
|
639
|
+
@CreateTime = params['CreateTime']
|
640
|
+
@Score = params['Score']
|
641
|
+
@ScoreMsg = params['ScoreMsg']
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
608
645
|
# CreateDocument请求参数结构体
|
609
646
|
class CreateDocumentRequest < TencentCloud::Common::AbstractModel
|
610
647
|
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
@@ -2134,6 +2171,62 @@ module TencentCloud
|
|
2134
2171
|
end
|
2135
2172
|
end
|
2136
2173
|
|
2174
|
+
# DescribeScoreList请求参数结构体
|
2175
|
+
class DescribeScoreListRequest < TencentCloud::Common::AbstractModel
|
2176
|
+
# @param RoomId: 课堂ID
|
2177
|
+
# @type RoomId: Integer
|
2178
|
+
# @param Page: 分页查询当前页数,从1开始递增
|
2179
|
+
# @type Page: Integer
|
2180
|
+
# @param Limit: 默认是10条
|
2181
|
+
# @type Limit: Integer
|
2182
|
+
|
2183
|
+
attr_accessor :RoomId, :Page, :Limit
|
2184
|
+
|
2185
|
+
def initialize(roomid=nil, page=nil, limit=nil)
|
2186
|
+
@RoomId = roomid
|
2187
|
+
@Page = page
|
2188
|
+
@Limit = limit
|
2189
|
+
end
|
2190
|
+
|
2191
|
+
def deserialize(params)
|
2192
|
+
@RoomId = params['RoomId']
|
2193
|
+
@Page = params['Page']
|
2194
|
+
@Limit = params['Limit']
|
2195
|
+
end
|
2196
|
+
end
|
2197
|
+
|
2198
|
+
# DescribeScoreList返回参数结构体
|
2199
|
+
class DescribeScoreListResponse < TencentCloud::Common::AbstractModel
|
2200
|
+
# @param Total: 总数
|
2201
|
+
# @type Total: Integer
|
2202
|
+
# @param Scores: 课堂评分列表
|
2203
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2204
|
+
# @type Scores: Array
|
2205
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2206
|
+
# @type RequestId: String
|
2207
|
+
|
2208
|
+
attr_accessor :Total, :Scores, :RequestId
|
2209
|
+
|
2210
|
+
def initialize(total=nil, scores=nil, requestid=nil)
|
2211
|
+
@Total = total
|
2212
|
+
@Scores = scores
|
2213
|
+
@RequestId = requestid
|
2214
|
+
end
|
2215
|
+
|
2216
|
+
def deserialize(params)
|
2217
|
+
@Total = params['Total']
|
2218
|
+
unless params['Scores'].nil?
|
2219
|
+
@Scores = []
|
2220
|
+
params['Scores'].each do |i|
|
2221
|
+
classscoreitem_tmp = ClassScoreItem.new
|
2222
|
+
classscoreitem_tmp.deserialize(i)
|
2223
|
+
@Scores << classscoreitem_tmp
|
2224
|
+
end
|
2225
|
+
end
|
2226
|
+
@RequestId = params['RequestId']
|
2227
|
+
end
|
2228
|
+
end
|
2229
|
+
|
2137
2230
|
# DescribeSdkAppIdUsers请求参数结构体
|
2138
2231
|
class DescribeSdkAppIdUsersRequest < TencentCloud::Common::AbstractModel
|
2139
2232
|
# @param SdkAppId: 应用ID
|
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.
|
4
|
+
version: 3.0.675
|
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-10-
|
11
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,8 +34,8 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-lcic.rb
|
37
|
-
- lib/v20220817/models.rb
|
38
37
|
- lib/v20220817/client.rb
|
38
|
+
- lib/v20220817/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|