tencentcloud-sdk-vod 3.0.904 → 3.0.905
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: 37101dd0fe9693a0d762662aeda7b166846314e6
|
4
|
+
data.tar.gz: 2ba680f198e3106aab71c3fef00e5931003d545d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d79925be3a7d9a480085eec8b16d66f26b841f3454e24931adbcdbfa60047234c134d62dace6d501349955e873d29abb3fb229e63a9ad908aa22b5f05064506d
|
7
|
+
data.tar.gz: e0468cec05f7ba62d2ff41844b60c4756ff5196e609f695b6efff723f823e580cb37a8e130c0918a023360e18a87169a45751018772b996132fa2170b650cdd1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.905
|
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.905
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|