tencentcloud-sdk-lcic 3.0.427 → 3.0.428

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: ce62ce8d3a1bc1f238afb04479958fc575f47e48
4
- data.tar.gz: add035e5d405fbd439159daa2a3f31a9217d2ba6
3
+ metadata.gz: 1c6a5904c001ec265c8e68fd8013af54ee763d75
4
+ data.tar.gz: ef8143c50292561920672de3eb4783c54ff03f0d
5
5
  SHA512:
6
- metadata.gz: 5358f6cfb8aab3913e4470ea8584caddc5e62b8df2ec8182cc729d30bc5577225de31ec4dcc47bcaa3fec188b6fd5332f2d74c5243deafb58f3c978589f50e01
7
- data.tar.gz: 3582a0e4cdf8f38bf36074e4f6f3bd13b869ae83b244fbaaa09855be5eec0fc6bcbd6ccfac5d15247ca8a68f573ec6a5beaeec7a453967749a4284d3c8944c41
6
+ metadata.gz: 3bb6c64c399c2c714ace8f62a9e97d421b2daa7da443c54c598759b77b0412ea551cddcfe5ca2d3df74613321623af3826ab7ad5c12c02dd987cf5b18977180e
7
+ data.tar.gz: 672f16c7813e4dd3da4713efc97a56e9971f86dbc970056c325cbdd65455273a67f79ade831427c2c20f97b18bd7cbdad317f1e49d4598b729f6c6815b8bd5a5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.427
1
+ 3.0.428
@@ -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
@@ -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.427
4
+ version: 3.0.428
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-13 00:00:00.000000000 Z
11
+ date: 2022-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common