tencentcloud-sdk-vod 3.0.904 → 3.0.906
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/v20180717/models.rb +23 -4
- 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: d837afbf4ea6fb9720af38bd2ab63a34804e1c57
|
4
|
+
data.tar.gz: 0e8de01341a1f2adc30d7bd82318c7677988b518
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebee686cbcb29bcf631142cc8f0aea2e4b1ccf2f1b5e39676154ac997130d69010de3238079e88baf8c580b8584bd6561011908819b60f7b620395556ea88a24
|
7
|
+
data.tar.gz: a53da2a90fd42880596e27854a40e9b7774e0fda757b1b457f667b1ee687ca71caa5ac17dab0632227eb1ace7bf9218d4ff9f0819fd76ef2fc959dfc27de165f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.906
|
data/lib/v20180717/models.rb
CHANGED
@@ -278,10 +278,14 @@ module TencentCloud
|
|
278
278
|
# @type SubStreamSet: Array
|
279
279
|
# @param CopyRightWatermarkText: 版权信息。
|
280
280
|
# @type CopyRightWatermarkText: String
|
281
|
+
# @param SubtitleSet: 字幕信息列表。
|
282
|
+
# @type SubtitleSet: Array
|
283
|
+
# @param DefaultSubtitleId: 默认字幕的唯一标识。
|
284
|
+
# @type DefaultSubtitleId: String
|
281
285
|
|
282
|
-
attr_accessor :Definition, :Package, :DrmType, :Url, :Size, :DigitalWatermarkType, :SubStreamSet, :CopyRightWatermarkText
|
286
|
+
attr_accessor :Definition, :Package, :DrmType, :Url, :Size, :DigitalWatermarkType, :SubStreamSet, :CopyRightWatermarkText, :SubtitleSet, :DefaultSubtitleId
|
283
287
|
|
284
|
-
def initialize(definition=nil, package=nil, drmtype=nil, url=nil, size=nil, digitalwatermarktype=nil, substreamset=nil, copyrightwatermarktext=nil)
|
288
|
+
def initialize(definition=nil, package=nil, drmtype=nil, url=nil, size=nil, digitalwatermarktype=nil, substreamset=nil, copyrightwatermarktext=nil, subtitleset=nil, defaultsubtitleid=nil)
|
285
289
|
@Definition = definition
|
286
290
|
@Package = package
|
287
291
|
@DrmType = drmtype
|
@@ -290,6 +294,8 @@ module TencentCloud
|
|
290
294
|
@DigitalWatermarkType = digitalwatermarktype
|
291
295
|
@SubStreamSet = substreamset
|
292
296
|
@CopyRightWatermarkText = copyrightwatermarktext
|
297
|
+
@SubtitleSet = subtitleset
|
298
|
+
@DefaultSubtitleId = defaultsubtitleid
|
293
299
|
end
|
294
300
|
|
295
301
|
def deserialize(params)
|
@@ -308,6 +314,15 @@ module TencentCloud
|
|
308
314
|
end
|
309
315
|
end
|
310
316
|
@CopyRightWatermarkText = params['CopyRightWatermarkText']
|
317
|
+
unless params['SubtitleSet'].nil?
|
318
|
+
@SubtitleSet = []
|
319
|
+
params['SubtitleSet'].each do |i|
|
320
|
+
mediasubtitleitem_tmp = MediaSubtitleItem.new
|
321
|
+
mediasubtitleitem_tmp.deserialize(i)
|
322
|
+
@SubtitleSet << mediasubtitleitem_tmp
|
323
|
+
end
|
324
|
+
end
|
325
|
+
@DefaultSubtitleId = params['DefaultSubtitleId']
|
311
326
|
end
|
312
327
|
end
|
313
328
|
|
@@ -4252,16 +4267,19 @@ module TencentCloud
|
|
4252
4267
|
# @type AdaptiveDynamicStreamingDefinition: Integer
|
4253
4268
|
# @param SubtitleIds: 字幕的唯一标识。
|
4254
4269
|
# @type SubtitleIds: Array
|
4270
|
+
# @param DefaultSubtitleId: 默认字幕的唯一标识。不填则不设置默认字幕。
|
4271
|
+
# @type DefaultSubtitleId: String
|
4255
4272
|
# @param SubAppId: <b>点播[应用](/document/product/266/14574) ID。从2023年12月25日起开通点播的客户,如访问点播应用中的资源(无论是默认应用还是新创建的应用),必须将该字段填写为应用 ID。</b>
|
4256
4273
|
# @type SubAppId: Integer
|
4257
4274
|
|
4258
|
-
attr_accessor :FileId, :Operation, :AdaptiveDynamicStreamingDefinition, :SubtitleIds, :SubAppId
|
4275
|
+
attr_accessor :FileId, :Operation, :AdaptiveDynamicStreamingDefinition, :SubtitleIds, :DefaultSubtitleId, :SubAppId
|
4259
4276
|
|
4260
|
-
def initialize(fileid=nil, operation=nil, adaptivedynamicstreamingdefinition=nil, subtitleids=nil, subappid=nil)
|
4277
|
+
def initialize(fileid=nil, operation=nil, adaptivedynamicstreamingdefinition=nil, subtitleids=nil, defaultsubtitleid=nil, subappid=nil)
|
4261
4278
|
@FileId = fileid
|
4262
4279
|
@Operation = operation
|
4263
4280
|
@AdaptiveDynamicStreamingDefinition = adaptivedynamicstreamingdefinition
|
4264
4281
|
@SubtitleIds = subtitleids
|
4282
|
+
@DefaultSubtitleId = defaultsubtitleid
|
4265
4283
|
@SubAppId = subappid
|
4266
4284
|
end
|
4267
4285
|
|
@@ -4270,6 +4288,7 @@ module TencentCloud
|
|
4270
4288
|
@Operation = params['Operation']
|
4271
4289
|
@AdaptiveDynamicStreamingDefinition = params['AdaptiveDynamicStreamingDefinition']
|
4272
4290
|
@SubtitleIds = params['SubtitleIds']
|
4291
|
+
@DefaultSubtitleId = params['DefaultSubtitleId']
|
4273
4292
|
@SubAppId = params['SubAppId']
|
4274
4293
|
end
|
4275
4294
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.906
|
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-09-
|
11
|
+
date: 2024-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|