tencentcloud-sdk-lcic 3.0.541 → 3.0.542
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 +72 -0
- data/lib/v20220817/models.rb +266 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1184de91b30e8966563be5e9e63080051c17924c
|
4
|
+
data.tar.gz: 41328f2d4e175c0a589731ede1c81828a0b43c3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3748a5a4746f4804af38dc5ae4089ae731f25a2720125e69e94eb61657a0daaab77e5fa233e0c13c70149e1ad5bc0ac04eb194b20ef5f8ffca4d1067ec1a31a
|
7
|
+
data.tar.gz: af2ac997c0799ec7b9de4dc1b499bb447a374b4843895ee7fed6f67655a13e1e320d7e455456a0477564417e63a8fc7577f93051d76cd9bdd6705fd7146d669d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.542
|
data/lib/v20220817/client.rb
CHANGED
@@ -485,6 +485,30 @@ module TencentCloud
|
|
485
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
486
|
end
|
487
487
|
|
488
|
+
# 获取房间答题详情
|
489
|
+
|
490
|
+
# @param request: Request instance for DescribeAnswerList.
|
491
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeAnswerListRequest`
|
492
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeAnswerListResponse`
|
493
|
+
def DescribeAnswerList(request)
|
494
|
+
body = send_request('DescribeAnswerList', request.serialize)
|
495
|
+
response = JSON.parse(body)
|
496
|
+
if response['Response'].key?('Error') == false
|
497
|
+
model = DescribeAnswerListResponse.new
|
498
|
+
model.deserialize(response['Response'])
|
499
|
+
model
|
500
|
+
else
|
501
|
+
code = response['Response']['Error']['Code']
|
502
|
+
message = response['Response']['Error']['Message']
|
503
|
+
reqid = response['Response']['RequestId']
|
504
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
505
|
+
end
|
506
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
507
|
+
raise e
|
508
|
+
rescue StandardError => e
|
509
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
|
+
end
|
511
|
+
|
488
512
|
# 获取应用详情
|
489
513
|
|
490
514
|
# @param request: Request instance for DescribeAppDetail.
|
@@ -677,6 +701,30 @@ module TencentCloud
|
|
677
701
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
702
|
end
|
679
703
|
|
704
|
+
# 获取房间提问列表
|
705
|
+
|
706
|
+
# @param request: Request instance for DescribeQuestionList.
|
707
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeQuestionListRequest`
|
708
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeQuestionListResponse`
|
709
|
+
def DescribeQuestionList(request)
|
710
|
+
body = send_request('DescribeQuestionList', request.serialize)
|
711
|
+
response = JSON.parse(body)
|
712
|
+
if response['Response'].key?('Error') == false
|
713
|
+
model = DescribeQuestionListResponse.new
|
714
|
+
model.deserialize(response['Response'])
|
715
|
+
model
|
716
|
+
else
|
717
|
+
code = response['Response']['Error']['Code']
|
718
|
+
message = response['Response']['Error']['Message']
|
719
|
+
reqid = response['Response']['RequestId']
|
720
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
721
|
+
end
|
722
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
723
|
+
raise e
|
724
|
+
rescue StandardError => e
|
725
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
|
+
end
|
727
|
+
|
680
728
|
# 获取房间信息
|
681
729
|
|
682
730
|
# @param request: Request instance for DescribeRoom.
|
@@ -749,6 +797,30 @@ module TencentCloud
|
|
749
797
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
750
798
|
end
|
751
799
|
|
800
|
+
# 获取巡课列表
|
801
|
+
|
802
|
+
# @param request: Request instance for DescribeSupervisors.
|
803
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeSupervisorsRequest`
|
804
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeSupervisorsResponse`
|
805
|
+
def DescribeSupervisors(request)
|
806
|
+
body = send_request('DescribeSupervisors', request.serialize)
|
807
|
+
response = JSON.parse(body)
|
808
|
+
if response['Response'].key?('Error') == false
|
809
|
+
model = DescribeSupervisorsResponse.new
|
810
|
+
model.deserialize(response['Response'])
|
811
|
+
model
|
812
|
+
else
|
813
|
+
code = response['Response']['Error']['Code']
|
814
|
+
message = response['Response']['Error']['Message']
|
815
|
+
reqid = response['Response']['RequestId']
|
816
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
817
|
+
end
|
818
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
819
|
+
raise e
|
820
|
+
rescue StandardError => e
|
821
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
|
+
end
|
823
|
+
|
752
824
|
# 获取用户信息
|
753
825
|
|
754
826
|
# @param request: Request instance for DescribeUser.
|
data/lib/v20220817/models.rb
CHANGED
@@ -57,6 +57,58 @@ module TencentCloud
|
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
+
# 房间问答问题详情
|
61
|
+
class AnswerInfo < TencentCloud::Common::AbstractModel
|
62
|
+
# @param Name: 用户名
|
63
|
+
# @type Name: String
|
64
|
+
# @param Answer: 答案(按照位表示是否选择,如0x1表示选择A,0x11表示选择AB)
|
65
|
+
# @type Answer: Integer
|
66
|
+
# @param CostTime: 答题用时
|
67
|
+
# @type CostTime: Integer
|
68
|
+
# @param UserId: 用户ID
|
69
|
+
# @type UserId: String
|
70
|
+
# @param IsCorrect: 答案是否正确(1正确0错误)
|
71
|
+
# @type IsCorrect: Integer
|
72
|
+
|
73
|
+
attr_accessor :Name, :Answer, :CostTime, :UserId, :IsCorrect
|
74
|
+
|
75
|
+
def initialize(name=nil, answer=nil, costtime=nil, userid=nil, iscorrect=nil)
|
76
|
+
@Name = name
|
77
|
+
@Answer = answer
|
78
|
+
@CostTime = costtime
|
79
|
+
@UserId = userid
|
80
|
+
@IsCorrect = iscorrect
|
81
|
+
end
|
82
|
+
|
83
|
+
def deserialize(params)
|
84
|
+
@Name = params['Name']
|
85
|
+
@Answer = params['Answer']
|
86
|
+
@CostTime = params['CostTime']
|
87
|
+
@UserId = params['UserId']
|
88
|
+
@IsCorrect = params['IsCorrect']
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# 每个选项答题人数统计
|
93
|
+
class AnswerStat < TencentCloud::Common::AbstractModel
|
94
|
+
# @param Answer: 选项(按照位表示是否选择,如0x1表示选择A,0x11表示选择AB)
|
95
|
+
# @type Answer: Integer
|
96
|
+
# @param Count: 答题人数
|
97
|
+
# @type Count: Integer
|
98
|
+
|
99
|
+
attr_accessor :Answer, :Count
|
100
|
+
|
101
|
+
def initialize(answer=nil, count=nil)
|
102
|
+
@Answer = answer
|
103
|
+
@Count = count
|
104
|
+
end
|
105
|
+
|
106
|
+
def deserialize(params)
|
107
|
+
@Answer = params['Answer']
|
108
|
+
@Count = params['Count']
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
60
112
|
# 应用配置信息
|
61
113
|
class AppConfig < TencentCloud::Common::AbstractModel
|
62
114
|
|
@@ -995,6 +1047,62 @@ module TencentCloud
|
|
995
1047
|
end
|
996
1048
|
end
|
997
1049
|
|
1050
|
+
# DescribeAnswerList请求参数结构体
|
1051
|
+
class DescribeAnswerListRequest < TencentCloud::Common::AbstractModel
|
1052
|
+
# @param QuestionId: 问题ID
|
1053
|
+
# @type QuestionId: String
|
1054
|
+
# @param Page: 1
|
1055
|
+
# @type Page: Integer
|
1056
|
+
# @param Limit: 100
|
1057
|
+
# @type Limit: Integer
|
1058
|
+
|
1059
|
+
attr_accessor :QuestionId, :Page, :Limit
|
1060
|
+
|
1061
|
+
def initialize(questionid=nil, page=nil, limit=nil)
|
1062
|
+
@QuestionId = questionid
|
1063
|
+
@Page = page
|
1064
|
+
@Limit = limit
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
def deserialize(params)
|
1068
|
+
@QuestionId = params['QuestionId']
|
1069
|
+
@Page = params['Page']
|
1070
|
+
@Limit = params['Limit']
|
1071
|
+
end
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
# DescribeAnswerList返回参数结构体
|
1075
|
+
class DescribeAnswerListResponse < TencentCloud::Common::AbstractModel
|
1076
|
+
# @param Total: 符合查询条件的房间答案总数
|
1077
|
+
# @type Total: Integer
|
1078
|
+
# @param AnswerInfo: 房间提问答案列表
|
1079
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1080
|
+
# @type AnswerInfo: Array
|
1081
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1082
|
+
# @type RequestId: String
|
1083
|
+
|
1084
|
+
attr_accessor :Total, :AnswerInfo, :RequestId
|
1085
|
+
|
1086
|
+
def initialize(total=nil, answerinfo=nil, requestid=nil)
|
1087
|
+
@Total = total
|
1088
|
+
@AnswerInfo = answerinfo
|
1089
|
+
@RequestId = requestid
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
def deserialize(params)
|
1093
|
+
@Total = params['Total']
|
1094
|
+
unless params['AnswerInfo'].nil?
|
1095
|
+
@AnswerInfo = []
|
1096
|
+
params['AnswerInfo'].each do |i|
|
1097
|
+
answerinfo_tmp = AnswerInfo.new
|
1098
|
+
answerinfo_tmp.deserialize(i)
|
1099
|
+
@AnswerInfo << answerinfo_tmp
|
1100
|
+
end
|
1101
|
+
end
|
1102
|
+
@RequestId = params['RequestId']
|
1103
|
+
end
|
1104
|
+
end
|
1105
|
+
|
998
1106
|
# DescribeAppDetail请求参数结构体
|
999
1107
|
class DescribeAppDetailRequest < TencentCloud::Common::AbstractModel
|
1000
1108
|
# @param ApplicationId: 应用ID。低代码互动课堂的SdkAppId。
|
@@ -1121,16 +1229,20 @@ module TencentCloud
|
|
1121
1229
|
|
1122
1230
|
# DescribeDeveloper返回参数结构体
|
1123
1231
|
class DescribeDeveloperResponse < TencentCloud::Common::AbstractModel
|
1232
|
+
# @param DeveloperId: 服务商ID
|
1233
|
+
# @type DeveloperId: String
|
1124
1234
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1125
1235
|
# @type RequestId: String
|
1126
1236
|
|
1127
|
-
attr_accessor :RequestId
|
1237
|
+
attr_accessor :DeveloperId, :RequestId
|
1128
1238
|
|
1129
|
-
def initialize(requestid=nil)
|
1239
|
+
def initialize(developerid=nil, requestid=nil)
|
1240
|
+
@DeveloperId = developerid
|
1130
1241
|
@RequestId = requestid
|
1131
1242
|
end
|
1132
1243
|
|
1133
1244
|
def deserialize(params)
|
1245
|
+
@DeveloperId = params['DeveloperId']
|
1134
1246
|
@RequestId = params['RequestId']
|
1135
1247
|
end
|
1136
1248
|
end
|
@@ -1473,6 +1585,62 @@ module TencentCloud
|
|
1473
1585
|
end
|
1474
1586
|
end
|
1475
1587
|
|
1588
|
+
# DescribeQuestionList请求参数结构体
|
1589
|
+
class DescribeQuestionListRequest < TencentCloud::Common::AbstractModel
|
1590
|
+
# @param RoomId: 房间ID
|
1591
|
+
# @type RoomId: Integer
|
1592
|
+
# @param Page: 分页查询当前页数,从1开始递增,默认值为1
|
1593
|
+
# @type Page: Integer
|
1594
|
+
# @param Limit: 分页查询当前页数,从1开始递增,默认值为1
|
1595
|
+
# @type Limit: Integer
|
1596
|
+
|
1597
|
+
attr_accessor :RoomId, :Page, :Limit
|
1598
|
+
|
1599
|
+
def initialize(roomid=nil, page=nil, limit=nil)
|
1600
|
+
@RoomId = roomid
|
1601
|
+
@Page = page
|
1602
|
+
@Limit = limit
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
def deserialize(params)
|
1606
|
+
@RoomId = params['RoomId']
|
1607
|
+
@Page = params['Page']
|
1608
|
+
@Limit = params['Limit']
|
1609
|
+
end
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
# DescribeQuestionList返回参数结构体
|
1613
|
+
class DescribeQuestionListResponse < TencentCloud::Common::AbstractModel
|
1614
|
+
# @param Total: 符合查询条件的房间问答问题总数
|
1615
|
+
# @type Total: Integer
|
1616
|
+
# @param QuestionInfo: 房间问答问题列表
|
1617
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1618
|
+
# @type QuestionInfo: Array
|
1619
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1620
|
+
# @type RequestId: String
|
1621
|
+
|
1622
|
+
attr_accessor :Total, :QuestionInfo, :RequestId
|
1623
|
+
|
1624
|
+
def initialize(total=nil, questioninfo=nil, requestid=nil)
|
1625
|
+
@Total = total
|
1626
|
+
@QuestionInfo = questioninfo
|
1627
|
+
@RequestId = requestid
|
1628
|
+
end
|
1629
|
+
|
1630
|
+
def deserialize(params)
|
1631
|
+
@Total = params['Total']
|
1632
|
+
unless params['QuestionInfo'].nil?
|
1633
|
+
@QuestionInfo = []
|
1634
|
+
params['QuestionInfo'].each do |i|
|
1635
|
+
questioninfo_tmp = QuestionInfo.new
|
1636
|
+
questioninfo_tmp.deserialize(i)
|
1637
|
+
@QuestionInfo << questioninfo_tmp
|
1638
|
+
end
|
1639
|
+
end
|
1640
|
+
@RequestId = params['RequestId']
|
1641
|
+
end
|
1642
|
+
end
|
1643
|
+
|
1476
1644
|
# DescribeRoom请求参数结构体
|
1477
1645
|
class DescribeRoomRequest < TencentCloud::Common::AbstractModel
|
1478
1646
|
# @param RoomId: 房间Id。
|
@@ -1718,6 +1886,62 @@ module TencentCloud
|
|
1718
1886
|
end
|
1719
1887
|
end
|
1720
1888
|
|
1889
|
+
# DescribeSupervisors请求参数结构体
|
1890
|
+
class DescribeSupervisorsRequest < TencentCloud::Common::AbstractModel
|
1891
|
+
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
1892
|
+
# @type SdkAppId: Integer
|
1893
|
+
# @param Limit: 每页数据量,最大100。 不填默认20.
|
1894
|
+
# @type Limit: Integer
|
1895
|
+
# @param Page: 分页查询当前页数,从1开始递增,不填默认为1。
|
1896
|
+
# @type Page: Integer
|
1897
|
+
|
1898
|
+
attr_accessor :SdkAppId, :Limit, :Page
|
1899
|
+
|
1900
|
+
def initialize(sdkappid=nil, limit=nil, page=nil)
|
1901
|
+
@SdkAppId = sdkappid
|
1902
|
+
@Limit = limit
|
1903
|
+
@Page = page
|
1904
|
+
end
|
1905
|
+
|
1906
|
+
def deserialize(params)
|
1907
|
+
@SdkAppId = params['SdkAppId']
|
1908
|
+
@Limit = params['Limit']
|
1909
|
+
@Page = params['Page']
|
1910
|
+
end
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
# DescribeSupervisors返回参数结构体
|
1914
|
+
class DescribeSupervisorsResponse < TencentCloud::Common::AbstractModel
|
1915
|
+
# @param Total: 数据总量
|
1916
|
+
# @type Total: Integer
|
1917
|
+
# @param Page: 分页查询当前页数
|
1918
|
+
# @type Page: Integer
|
1919
|
+
# @param Limit: 当前页数据量
|
1920
|
+
# @type Limit: Integer
|
1921
|
+
# @param UserIds: 巡课列表
|
1922
|
+
# @type UserIds: Array
|
1923
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1924
|
+
# @type RequestId: String
|
1925
|
+
|
1926
|
+
attr_accessor :Total, :Page, :Limit, :UserIds, :RequestId
|
1927
|
+
|
1928
|
+
def initialize(total=nil, page=nil, limit=nil, userids=nil, requestid=nil)
|
1929
|
+
@Total = total
|
1930
|
+
@Page = page
|
1931
|
+
@Limit = limit
|
1932
|
+
@UserIds = userids
|
1933
|
+
@RequestId = requestid
|
1934
|
+
end
|
1935
|
+
|
1936
|
+
def deserialize(params)
|
1937
|
+
@Total = params['Total']
|
1938
|
+
@Page = params['Page']
|
1939
|
+
@Limit = params['Limit']
|
1940
|
+
@UserIds = params['UserIds']
|
1941
|
+
@RequestId = params['RequestId']
|
1942
|
+
end
|
1943
|
+
end
|
1944
|
+
|
1721
1945
|
# DescribeUser请求参数结构体
|
1722
1946
|
class DescribeUserRequest < TencentCloud::Common::AbstractModel
|
1723
1947
|
# @param UserId: 用户Id。
|
@@ -2598,6 +2822,46 @@ module TencentCloud
|
|
2598
2822
|
end
|
2599
2823
|
end
|
2600
2824
|
|
2825
|
+
# 房间问答答案详情
|
2826
|
+
class QuestionInfo < TencentCloud::Common::AbstractModel
|
2827
|
+
# @param QuestionId: 问题ID
|
2828
|
+
# @type QuestionId: String
|
2829
|
+
# @param QuestionContent: 问题内容
|
2830
|
+
# @type QuestionContent: String
|
2831
|
+
# @param Duration: 倒计时答题设置的秒数(0 表示不计时)
|
2832
|
+
# @type Duration: Integer
|
2833
|
+
# @param CorrectAnswer: 正确答案(按照位表示是否选择,如0x1表示选择A,0x11表示选择AB)
|
2834
|
+
# @type CorrectAnswer: Integer
|
2835
|
+
# @param AnswerStats: 每个选项答题人数统计
|
2836
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2837
|
+
# @type AnswerStats: Array
|
2838
|
+
|
2839
|
+
attr_accessor :QuestionId, :QuestionContent, :Duration, :CorrectAnswer, :AnswerStats
|
2840
|
+
|
2841
|
+
def initialize(questionid=nil, questioncontent=nil, duration=nil, correctanswer=nil, answerstats=nil)
|
2842
|
+
@QuestionId = questionid
|
2843
|
+
@QuestionContent = questioncontent
|
2844
|
+
@Duration = duration
|
2845
|
+
@CorrectAnswer = correctanswer
|
2846
|
+
@AnswerStats = answerstats
|
2847
|
+
end
|
2848
|
+
|
2849
|
+
def deserialize(params)
|
2850
|
+
@QuestionId = params['QuestionId']
|
2851
|
+
@QuestionContent = params['QuestionContent']
|
2852
|
+
@Duration = params['Duration']
|
2853
|
+
@CorrectAnswer = params['CorrectAnswer']
|
2854
|
+
unless params['AnswerStats'].nil?
|
2855
|
+
@AnswerStats = []
|
2856
|
+
params['AnswerStats'].each do |i|
|
2857
|
+
answerstat_tmp = AnswerStat.new
|
2858
|
+
answerstat_tmp.deserialize(i)
|
2859
|
+
@AnswerStats << answerstat_tmp
|
2860
|
+
end
|
2861
|
+
end
|
2862
|
+
end
|
2863
|
+
end
|
2864
|
+
|
2601
2865
|
# RegisterUser请求参数结构体
|
2602
2866
|
class RegisterUserRequest < TencentCloud::Common::AbstractModel
|
2603
2867
|
# @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.
|
4
|
+
version: 3.0.542
|
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
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|