tencentcloud-sdk-lcic 3.0.427 → 3.0.429
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 +48 -0
- data/lib/v20220817/models.rb +145 -0
- 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: a90e05a497467528f3b99be2198cce6113f5b4bc
|
4
|
+
data.tar.gz: b3ed4bc622ca35b28729070fa2236bd74dbcfbd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abd093651caee9e327a6b6023088cbe5b840fbf16a2783ea7db9d854056b2025454f338eb8c706fb34ab6b0a045e7f21d5d8688c9adabb283f3bdd977ef2124a
|
7
|
+
data.tar.gz: 0804a2f06dc20b38ccc7d127085e1efd6638af36d7b16b322a399a68cdd16cadab7ccf4c32840cf6ef68dda63d0ca57f725bad1d5d2b2f16a635c748d450e747
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.429
|
data/lib/v20220817/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 创建房间内可以使用的文档。
|
33
|
+
|
34
|
+
# @param request: Request instance for CreateDocument.
|
35
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::CreateDocumentRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::CreateDocumentResponse`
|
37
|
+
def CreateDocument(request)
|
38
|
+
body = send_request('CreateDocument', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CreateDocumentResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 创建房间
|
33
57
|
|
34
58
|
# @param request: Request instance for CreateRoom.
|
@@ -197,6 +221,30 @@ module TencentCloud
|
|
197
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
222
|
end
|
199
223
|
|
224
|
+
# 设置应用的自定义内容,包括应用图标,自定义的代码等。如果已存在,则为更新。更新js、css内容后,要生效也需要调用该接口
|
225
|
+
|
226
|
+
# @param request: Request instance for SetAppCustomContent.
|
227
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::SetAppCustomContentRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::SetAppCustomContentResponse`
|
229
|
+
def SetAppCustomContent(request)
|
230
|
+
body = send_request('SetAppCustomContent', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = SetAppCustomContentResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
200
248
|
|
201
249
|
end
|
202
250
|
end
|
data/lib/v20220817/models.rb
CHANGED
@@ -17,6 +17,108 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Lcic
|
19
19
|
module V20220817
|
20
|
+
# 应用自定义内容
|
21
|
+
class AppCustomContent < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Scene: 场景参数,一个应用下可以设置多个不同场景。
|
23
|
+
# @type Scene: String
|
24
|
+
# @param LogoUrl: logo地址。
|
25
|
+
# @type LogoUrl: String
|
26
|
+
# @param HomeUrl: 主页地址,可设置用于跳转。
|
27
|
+
# @type HomeUrl: String
|
28
|
+
# @param JsUrl: 自定义的js。
|
29
|
+
# @type JsUrl: String
|
30
|
+
# @param CssUrl: 自定义的css。
|
31
|
+
# @type CssUrl: String
|
32
|
+
|
33
|
+
attr_accessor :Scene, :LogoUrl, :HomeUrl, :JsUrl, :CssUrl
|
34
|
+
|
35
|
+
def initialize(scene=nil, logourl=nil, homeurl=nil, jsurl=nil, cssurl=nil)
|
36
|
+
@Scene = scene
|
37
|
+
@LogoUrl = logourl
|
38
|
+
@HomeUrl = homeurl
|
39
|
+
@JsUrl = jsurl
|
40
|
+
@CssUrl = cssurl
|
41
|
+
end
|
42
|
+
|
43
|
+
def deserialize(params)
|
44
|
+
@Scene = params['Scene']
|
45
|
+
@LogoUrl = params['LogoUrl']
|
46
|
+
@HomeUrl = params['HomeUrl']
|
47
|
+
@JsUrl = params['JsUrl']
|
48
|
+
@CssUrl = params['CssUrl']
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
# CreateDocument请求参数结构体
|
53
|
+
class CreateDocumentRequest < TencentCloud::Common::AbstractModel
|
54
|
+
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
55
|
+
# @type SdkAppId: Integer
|
56
|
+
# @param DocumentUrl: 文档地址。
|
57
|
+
# @type DocumentUrl: String
|
58
|
+
# @param DocumentName: 文档名称。
|
59
|
+
# @type DocumentName: String
|
60
|
+
# @param Owner: 文档所有者的Id
|
61
|
+
# @type Owner: String
|
62
|
+
# @param TranscodeType: 转码类型,可以有如下取值:
|
63
|
+
# 0 无需转码(默认)
|
64
|
+
# 1 需要转码的文档,ppt,pptx,pdf,doc,docx
|
65
|
+
# 2 需要转码的视频,mp4,3pg,mpeg,avi,flv,wmv,rm,h264等
|
66
|
+
# 2 需要转码的音频,mp3,wav,wma,aac,flac,opus
|
67
|
+
# @type TranscodeType: Integer
|
68
|
+
# @param Permission: 权限,可以有如下取值:
|
69
|
+
# 0 私有文档(默认)
|
70
|
+
# 1 公共文档
|
71
|
+
# @type Permission: Integer
|
72
|
+
# @param DocumentType: 文档后缀名。
|
73
|
+
# @type DocumentType: String
|
74
|
+
# @param DocumentSize: 文档大小,单位 字节
|
75
|
+
# @type DocumentSize: Integer
|
76
|
+
|
77
|
+
attr_accessor :SdkAppId, :DocumentUrl, :DocumentName, :Owner, :TranscodeType, :Permission, :DocumentType, :DocumentSize
|
78
|
+
|
79
|
+
def initialize(sdkappid=nil, documenturl=nil, documentname=nil, owner=nil, transcodetype=nil, permission=nil, documenttype=nil, documentsize=nil)
|
80
|
+
@SdkAppId = sdkappid
|
81
|
+
@DocumentUrl = documenturl
|
82
|
+
@DocumentName = documentname
|
83
|
+
@Owner = owner
|
84
|
+
@TranscodeType = transcodetype
|
85
|
+
@Permission = permission
|
86
|
+
@DocumentType = documenttype
|
87
|
+
@DocumentSize = documentsize
|
88
|
+
end
|
89
|
+
|
90
|
+
def deserialize(params)
|
91
|
+
@SdkAppId = params['SdkAppId']
|
92
|
+
@DocumentUrl = params['DocumentUrl']
|
93
|
+
@DocumentName = params['DocumentName']
|
94
|
+
@Owner = params['Owner']
|
95
|
+
@TranscodeType = params['TranscodeType']
|
96
|
+
@Permission = params['Permission']
|
97
|
+
@DocumentType = params['DocumentType']
|
98
|
+
@DocumentSize = params['DocumentSize']
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
# CreateDocument返回参数结构体
|
103
|
+
class CreateDocumentResponse < TencentCloud::Common::AbstractModel
|
104
|
+
# @param DocumentId: 文档ID。
|
105
|
+
# @type DocumentId: String
|
106
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
107
|
+
# @type RequestId: String
|
108
|
+
|
109
|
+
attr_accessor :DocumentId, :RequestId
|
110
|
+
|
111
|
+
def initialize(documentid=nil, requestid=nil)
|
112
|
+
@DocumentId = documentid
|
113
|
+
@RequestId = requestid
|
114
|
+
end
|
115
|
+
|
116
|
+
def deserialize(params)
|
117
|
+
@DocumentId = params['DocumentId']
|
118
|
+
@RequestId = params['RequestId']
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
20
122
|
# CreateRoom请求参数结构体
|
21
123
|
class CreateRoomRequest < TencentCloud::Common::AbstractModel
|
22
124
|
# @param Name: 房间名称。
|
@@ -417,6 +519,49 @@ module TencentCloud
|
|
417
519
|
end
|
418
520
|
end
|
419
521
|
|
522
|
+
# SetAppCustomContent请求参数结构体
|
523
|
+
class SetAppCustomContentRequest < TencentCloud::Common::AbstractModel
|
524
|
+
# @param CustomContent: 自定义内容。
|
525
|
+
# @type CustomContent: Array
|
526
|
+
# @param SdkAppId: 应用ID。
|
527
|
+
# @type SdkAppId: Integer
|
528
|
+
|
529
|
+
attr_accessor :CustomContent, :SdkAppId
|
530
|
+
|
531
|
+
def initialize(customcontent=nil, sdkappid=nil)
|
532
|
+
@CustomContent = customcontent
|
533
|
+
@SdkAppId = sdkappid
|
534
|
+
end
|
535
|
+
|
536
|
+
def deserialize(params)
|
537
|
+
unless params['CustomContent'].nil?
|
538
|
+
@CustomContent = []
|
539
|
+
params['CustomContent'].each do |i|
|
540
|
+
appcustomcontent_tmp = AppCustomContent.new
|
541
|
+
appcustomcontent_tmp.deserialize(i)
|
542
|
+
@CustomContent << appcustomcontent_tmp
|
543
|
+
end
|
544
|
+
end
|
545
|
+
@SdkAppId = params['SdkAppId']
|
546
|
+
end
|
547
|
+
end
|
548
|
+
|
549
|
+
# SetAppCustomContent返回参数结构体
|
550
|
+
class SetAppCustomContentResponse < TencentCloud::Common::AbstractModel
|
551
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
552
|
+
# @type RequestId: String
|
553
|
+
|
554
|
+
attr_accessor :RequestId
|
555
|
+
|
556
|
+
def initialize(requestid=nil)
|
557
|
+
@RequestId = requestid
|
558
|
+
end
|
559
|
+
|
560
|
+
def deserialize(params)
|
561
|
+
@RequestId = params['RequestId']
|
562
|
+
end
|
563
|
+
end
|
564
|
+
|
420
565
|
end
|
421
566
|
end
|
422
567
|
end
|
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.429
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|