tencentcloud-sdk-vod 3.0.502 → 3.0.504
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/client.rb +99 -0
- data/lib/v20180717/models.rb +285 -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: b14da42a8518e690e6a4cfb53c96787c6ba89805
|
4
|
+
data.tar.gz: 13c6f3317499194db4fc8beef31e92911977c748
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2c21392f5088d3f5a642c93fdbb61be6aa66d0dab43e2f45c042f0b80c6b78b4bed2328ca089a5cf1b6358bc5ca21f99c457aeb9b704ead49fcd71ce97f46b1
|
7
|
+
data.tar.gz: 32b5d995f527633e9d2b98f2fdc185785cada6960f1b8ad5573226a836cd4b575b02d6626d86a1ab4d0271a69ff09bb3706abe2a9b11dba6c9224415e0564e1c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.504
|
data/lib/v20180717/client.rb
CHANGED
@@ -457,6 +457,32 @@ module TencentCloud
|
|
457
457
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
458
458
|
end
|
459
459
|
|
460
|
+
# 该接口用于创建轮播播单,数量上限:100。
|
461
|
+
# 轮播播单的每个文件可以指定源文件,也可以指定某个转码文件。
|
462
|
+
# 指定的文件必须是hls格式,所有的播单文件最好保持相同的码率和分辨率。
|
463
|
+
|
464
|
+
# @param request: Request instance for CreateRoundPlay.
|
465
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::CreateRoundPlayRequest`
|
466
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::CreateRoundPlayResponse`
|
467
|
+
def CreateRoundPlay(request)
|
468
|
+
body = send_request('CreateRoundPlay', request.serialize)
|
469
|
+
response = JSON.parse(body)
|
470
|
+
if response['Response'].key?('Error') == false
|
471
|
+
model = CreateRoundPlayResponse.new
|
472
|
+
model.deserialize(response['Response'])
|
473
|
+
model
|
474
|
+
else
|
475
|
+
code = response['Response']['Error']['Code']
|
476
|
+
message = response['Response']['Error']['Message']
|
477
|
+
reqid = response['Response']['RequestId']
|
478
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
479
|
+
end
|
480
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
481
|
+
raise e
|
482
|
+
rescue StandardError => e
|
483
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
484
|
+
end
|
485
|
+
|
460
486
|
# 创建用户自定义采样截图模板,数量上限:16。
|
461
487
|
|
462
488
|
# @param request: Request instance for CreateSampleSnapshotTemplate.
|
@@ -996,6 +1022,30 @@ module TencentCloud
|
|
996
1022
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
997
1023
|
end
|
998
1024
|
|
1025
|
+
# 该接口用于删除轮播播单。
|
1026
|
+
|
1027
|
+
# @param request: Request instance for DeleteRoundPlay.
|
1028
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DeleteRoundPlayRequest`
|
1029
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DeleteRoundPlayResponse`
|
1030
|
+
def DeleteRoundPlay(request)
|
1031
|
+
body = send_request('DeleteRoundPlay', request.serialize)
|
1032
|
+
response = JSON.parse(body)
|
1033
|
+
if response['Response'].key?('Error') == false
|
1034
|
+
model = DeleteRoundPlayResponse.new
|
1035
|
+
model.deserialize(response['Response'])
|
1036
|
+
model
|
1037
|
+
else
|
1038
|
+
code = response['Response']['Error']['Code']
|
1039
|
+
message = response['Response']['Error']['Message']
|
1040
|
+
reqid = response['Response']['RequestId']
|
1041
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1042
|
+
end
|
1043
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1044
|
+
raise e
|
1045
|
+
rescue StandardError => e
|
1046
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1047
|
+
end
|
1048
|
+
|
999
1049
|
# 删除用户自定义采样截图模板。
|
1000
1050
|
|
1001
1051
|
# @param request: Request instance for DeleteSampleSnapshotTemplate.
|
@@ -1977,6 +2027,30 @@ module TencentCloud
|
|
1977
2027
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1978
2028
|
end
|
1979
2029
|
|
2030
|
+
# 该接口用于获取轮播播单列表。
|
2031
|
+
|
2032
|
+
# @param request: Request instance for DescribeRoundPlays.
|
2033
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::DescribeRoundPlaysRequest`
|
2034
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::DescribeRoundPlaysResponse`
|
2035
|
+
def DescribeRoundPlays(request)
|
2036
|
+
body = send_request('DescribeRoundPlays', request.serialize)
|
2037
|
+
response = JSON.parse(body)
|
2038
|
+
if response['Response'].key?('Error') == false
|
2039
|
+
model = DescribeRoundPlaysResponse.new
|
2040
|
+
model.deserialize(response['Response'])
|
2041
|
+
model
|
2042
|
+
else
|
2043
|
+
code = response['Response']['Error']['Code']
|
2044
|
+
message = response['Response']['Error']['Message']
|
2045
|
+
reqid = response['Response']['RequestId']
|
2046
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2047
|
+
end
|
2048
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2049
|
+
raise e
|
2050
|
+
rescue StandardError => e
|
2051
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2052
|
+
end
|
2053
|
+
|
1980
2054
|
# 查询采样截图模板,支持根据条件,分页查询。
|
1981
2055
|
|
1982
2056
|
# @param request: Request instance for DescribeSampleSnapshotTemplates.
|
@@ -2837,6 +2911,31 @@ module TencentCloud
|
|
2837
2911
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2838
2912
|
end
|
2839
2913
|
|
2914
|
+
# 该接口用于修改轮播播单。
|
2915
|
+
# 修改后只有新的播放请求会生效,已经在播放中的用户在七天之内还可以播放修改前的播单。
|
2916
|
+
|
2917
|
+
# @param request: Request instance for ModifyRoundPlay.
|
2918
|
+
# @type request: :class:`Tencentcloud::vod::V20180717::ModifyRoundPlayRequest`
|
2919
|
+
# @rtype: :class:`Tencentcloud::vod::V20180717::ModifyRoundPlayResponse`
|
2920
|
+
def ModifyRoundPlay(request)
|
2921
|
+
body = send_request('ModifyRoundPlay', request.serialize)
|
2922
|
+
response = JSON.parse(body)
|
2923
|
+
if response['Response'].key?('Error') == false
|
2924
|
+
model = ModifyRoundPlayResponse.new
|
2925
|
+
model.deserialize(response['Response'])
|
2926
|
+
model
|
2927
|
+
else
|
2928
|
+
code = response['Response']['Error']['Code']
|
2929
|
+
message = response['Response']['Error']['Message']
|
2930
|
+
reqid = response['Response']['RequestId']
|
2931
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2932
|
+
end
|
2933
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2934
|
+
raise e
|
2935
|
+
rescue StandardError => e
|
2936
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2937
|
+
end
|
2938
|
+
|
2840
2939
|
# 修改用户自定义采样截图模板。
|
2841
2940
|
|
2842
2941
|
# @param request: Request instance for ModifySampleSnapshotTemplate.
|
data/lib/v20180717/models.rb
CHANGED
@@ -6034,6 +6034,70 @@ module TencentCloud
|
|
6034
6034
|
end
|
6035
6035
|
end
|
6036
6036
|
|
6037
|
+
# CreateRoundPlay请求参数结构体
|
6038
|
+
class CreateRoundPlayRequest < TencentCloud::Common::AbstractModel
|
6039
|
+
# @param StartTime: 启播时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
|
6040
|
+
# @type StartTime: String
|
6041
|
+
# @param RoundPlaylist: 轮播列表。
|
6042
|
+
# <li>数组长度限制:100。</li>
|
6043
|
+
# @type RoundPlaylist: Array
|
6044
|
+
# @param SubAppId: <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
6045
|
+
# @type SubAppId: Integer
|
6046
|
+
# @param Name: 轮播播单名称,长度限制:64 个字符。
|
6047
|
+
# @type Name: String
|
6048
|
+
# @param Desc: 轮播播单描述信息,长度限制:256 个字符。
|
6049
|
+
# @type Desc: String
|
6050
|
+
|
6051
|
+
attr_accessor :StartTime, :RoundPlaylist, :SubAppId, :Name, :Desc
|
6052
|
+
|
6053
|
+
def initialize(starttime=nil, roundplaylist=nil, subappid=nil, name=nil, desc=nil)
|
6054
|
+
@StartTime = starttime
|
6055
|
+
@RoundPlaylist = roundplaylist
|
6056
|
+
@SubAppId = subappid
|
6057
|
+
@Name = name
|
6058
|
+
@Desc = desc
|
6059
|
+
end
|
6060
|
+
|
6061
|
+
def deserialize(params)
|
6062
|
+
@StartTime = params['StartTime']
|
6063
|
+
unless params['RoundPlaylist'].nil?
|
6064
|
+
@RoundPlaylist = []
|
6065
|
+
params['RoundPlaylist'].each do |i|
|
6066
|
+
roundplaylistiteminfo_tmp = RoundPlayListItemInfo.new
|
6067
|
+
roundplaylistiteminfo_tmp.deserialize(i)
|
6068
|
+
@RoundPlaylist << roundplaylistiteminfo_tmp
|
6069
|
+
end
|
6070
|
+
end
|
6071
|
+
@SubAppId = params['SubAppId']
|
6072
|
+
@Name = params['Name']
|
6073
|
+
@Desc = params['Desc']
|
6074
|
+
end
|
6075
|
+
end
|
6076
|
+
|
6077
|
+
# CreateRoundPlay返回参数结构体
|
6078
|
+
class CreateRoundPlayResponse < TencentCloud::Common::AbstractModel
|
6079
|
+
# @param RoundPlayId: 轮播播单唯一标识。
|
6080
|
+
# @type RoundPlayId: String
|
6081
|
+
# @param Url: 轮播播放地址。
|
6082
|
+
# @type Url: String
|
6083
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6084
|
+
# @type RequestId: String
|
6085
|
+
|
6086
|
+
attr_accessor :RoundPlayId, :Url, :RequestId
|
6087
|
+
|
6088
|
+
def initialize(roundplayid=nil, url=nil, requestid=nil)
|
6089
|
+
@RoundPlayId = roundplayid
|
6090
|
+
@Url = url
|
6091
|
+
@RequestId = requestid
|
6092
|
+
end
|
6093
|
+
|
6094
|
+
def deserialize(params)
|
6095
|
+
@RoundPlayId = params['RoundPlayId']
|
6096
|
+
@Url = params['Url']
|
6097
|
+
@RequestId = params['RequestId']
|
6098
|
+
end
|
6099
|
+
end
|
6100
|
+
|
6037
6101
|
# CreateSampleSnapshotTemplate请求参数结构体
|
6038
6102
|
class CreateSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
|
6039
6103
|
# @param SampleType: 采样截图类型,取值:
|
@@ -7190,6 +7254,42 @@ module TencentCloud
|
|
7190
7254
|
end
|
7191
7255
|
end
|
7192
7256
|
|
7257
|
+
# DeleteRoundPlay请求参数结构体
|
7258
|
+
class DeleteRoundPlayRequest < TencentCloud::Common::AbstractModel
|
7259
|
+
# @param RoundPlayId: 轮播播单唯一标识。
|
7260
|
+
# @type RoundPlayId: String
|
7261
|
+
# @param SubAppId: <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
7262
|
+
# @type SubAppId: Integer
|
7263
|
+
|
7264
|
+
attr_accessor :RoundPlayId, :SubAppId
|
7265
|
+
|
7266
|
+
def initialize(roundplayid=nil, subappid=nil)
|
7267
|
+
@RoundPlayId = roundplayid
|
7268
|
+
@SubAppId = subappid
|
7269
|
+
end
|
7270
|
+
|
7271
|
+
def deserialize(params)
|
7272
|
+
@RoundPlayId = params['RoundPlayId']
|
7273
|
+
@SubAppId = params['SubAppId']
|
7274
|
+
end
|
7275
|
+
end
|
7276
|
+
|
7277
|
+
# DeleteRoundPlay返回参数结构体
|
7278
|
+
class DeleteRoundPlayResponse < TencentCloud::Common::AbstractModel
|
7279
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7280
|
+
# @type RequestId: String
|
7281
|
+
|
7282
|
+
attr_accessor :RequestId
|
7283
|
+
|
7284
|
+
def initialize(requestid=nil)
|
7285
|
+
@RequestId = requestid
|
7286
|
+
end
|
7287
|
+
|
7288
|
+
def deserialize(params)
|
7289
|
+
@RequestId = params['RequestId']
|
7290
|
+
end
|
7291
|
+
end
|
7292
|
+
|
7193
7293
|
# DeleteSampleSnapshotTemplate请求参数结构体
|
7194
7294
|
class DeleteSampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
|
7195
7295
|
# @param Definition: 采样截图模板唯一标识。
|
@@ -9402,6 +9502,65 @@ module TencentCloud
|
|
9402
9502
|
end
|
9403
9503
|
end
|
9404
9504
|
|
9505
|
+
# DescribeRoundPlays请求参数结构体
|
9506
|
+
class DescribeRoundPlaysRequest < TencentCloud::Common::AbstractModel
|
9507
|
+
# @param SubAppId: <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
9508
|
+
# @type SubAppId: Integer
|
9509
|
+
# @param RoundPlayIds: 轮播播单标识过滤条件,数组长度限制:100。
|
9510
|
+
# @type RoundPlayIds: Array
|
9511
|
+
# @param Offset: 分页偏移量,默认值:0。
|
9512
|
+
# @type Offset: Integer
|
9513
|
+
# @param Limit: 返回记录条数,默认值:10,最大值:100。
|
9514
|
+
# @type Limit: Integer
|
9515
|
+
|
9516
|
+
attr_accessor :SubAppId, :RoundPlayIds, :Offset, :Limit
|
9517
|
+
|
9518
|
+
def initialize(subappid=nil, roundplayids=nil, offset=nil, limit=nil)
|
9519
|
+
@SubAppId = subappid
|
9520
|
+
@RoundPlayIds = roundplayids
|
9521
|
+
@Offset = offset
|
9522
|
+
@Limit = limit
|
9523
|
+
end
|
9524
|
+
|
9525
|
+
def deserialize(params)
|
9526
|
+
@SubAppId = params['SubAppId']
|
9527
|
+
@RoundPlayIds = params['RoundPlayIds']
|
9528
|
+
@Offset = params['Offset']
|
9529
|
+
@Limit = params['Limit']
|
9530
|
+
end
|
9531
|
+
end
|
9532
|
+
|
9533
|
+
# DescribeRoundPlays返回参数结构体
|
9534
|
+
class DescribeRoundPlaysResponse < TencentCloud::Common::AbstractModel
|
9535
|
+
# @param TotalCount: 符合过滤条件的轮播播单总数。
|
9536
|
+
# @type TotalCount: Integer
|
9537
|
+
# @param RoundPlaySet: 轮播播单详情列表。
|
9538
|
+
# @type RoundPlaySet: Array
|
9539
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9540
|
+
# @type RequestId: String
|
9541
|
+
|
9542
|
+
attr_accessor :TotalCount, :RoundPlaySet, :RequestId
|
9543
|
+
|
9544
|
+
def initialize(totalcount=nil, roundplayset=nil, requestid=nil)
|
9545
|
+
@TotalCount = totalcount
|
9546
|
+
@RoundPlaySet = roundplayset
|
9547
|
+
@RequestId = requestid
|
9548
|
+
end
|
9549
|
+
|
9550
|
+
def deserialize(params)
|
9551
|
+
@TotalCount = params['TotalCount']
|
9552
|
+
unless params['RoundPlaySet'].nil?
|
9553
|
+
@RoundPlaySet = []
|
9554
|
+
params['RoundPlaySet'].each do |i|
|
9555
|
+
roundplayinfo_tmp = RoundPlayInfo.new
|
9556
|
+
roundplayinfo_tmp.deserialize(i)
|
9557
|
+
@RoundPlaySet << roundplayinfo_tmp
|
9558
|
+
end
|
9559
|
+
end
|
9560
|
+
@RequestId = params['RequestId']
|
9561
|
+
end
|
9562
|
+
end
|
9563
|
+
|
9405
9564
|
# DescribeSampleSnapshotTemplates请求参数结构体
|
9406
9565
|
class DescribeSampleSnapshotTemplatesRequest < TencentCloud::Common::AbstractModel
|
9407
9566
|
# @param SubAppId: <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
@@ -15677,6 +15836,66 @@ module TencentCloud
|
|
15677
15836
|
end
|
15678
15837
|
end
|
15679
15838
|
|
15839
|
+
# ModifyRoundPlay请求参数结构体
|
15840
|
+
class ModifyRoundPlayRequest < TencentCloud::Common::AbstractModel
|
15841
|
+
# @param RoundPlayId: 轮播播单唯一标识。
|
15842
|
+
# @type RoundPlayId: String
|
15843
|
+
# @param SubAppId: <b>点播 [子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
15844
|
+
# @type SubAppId: Integer
|
15845
|
+
# @param StartTime: 启播时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
|
15846
|
+
# @type StartTime: String
|
15847
|
+
# @param RoundPlaylist: 轮播列表。
|
15848
|
+
# <li>数组长度限制:100。</li>
|
15849
|
+
# @type RoundPlaylist: Array
|
15850
|
+
# @param Name: 轮播播单名称,长度限制:64 个字符。
|
15851
|
+
# @type Name: String
|
15852
|
+
# @param Desc: 轮播播单描述信息,长度限制:256 个字符。
|
15853
|
+
# @type Desc: String
|
15854
|
+
|
15855
|
+
attr_accessor :RoundPlayId, :SubAppId, :StartTime, :RoundPlaylist, :Name, :Desc
|
15856
|
+
|
15857
|
+
def initialize(roundplayid=nil, subappid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil)
|
15858
|
+
@RoundPlayId = roundplayid
|
15859
|
+
@SubAppId = subappid
|
15860
|
+
@StartTime = starttime
|
15861
|
+
@RoundPlaylist = roundplaylist
|
15862
|
+
@Name = name
|
15863
|
+
@Desc = desc
|
15864
|
+
end
|
15865
|
+
|
15866
|
+
def deserialize(params)
|
15867
|
+
@RoundPlayId = params['RoundPlayId']
|
15868
|
+
@SubAppId = params['SubAppId']
|
15869
|
+
@StartTime = params['StartTime']
|
15870
|
+
unless params['RoundPlaylist'].nil?
|
15871
|
+
@RoundPlaylist = []
|
15872
|
+
params['RoundPlaylist'].each do |i|
|
15873
|
+
roundplaylistiteminfo_tmp = RoundPlayListItemInfo.new
|
15874
|
+
roundplaylistiteminfo_tmp.deserialize(i)
|
15875
|
+
@RoundPlaylist << roundplaylistiteminfo_tmp
|
15876
|
+
end
|
15877
|
+
end
|
15878
|
+
@Name = params['Name']
|
15879
|
+
@Desc = params['Desc']
|
15880
|
+
end
|
15881
|
+
end
|
15882
|
+
|
15883
|
+
# ModifyRoundPlay返回参数结构体
|
15884
|
+
class ModifyRoundPlayResponse < TencentCloud::Common::AbstractModel
|
15885
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15886
|
+
# @type RequestId: String
|
15887
|
+
|
15888
|
+
attr_accessor :RequestId
|
15889
|
+
|
15890
|
+
def initialize(requestid=nil)
|
15891
|
+
@RequestId = requestid
|
15892
|
+
end
|
15893
|
+
|
15894
|
+
def deserialize(params)
|
15895
|
+
@RequestId = params['RequestId']
|
15896
|
+
end
|
15897
|
+
end
|
15898
|
+
|
15680
15899
|
# ModifySampleSnapshotTemplate请求参数结构体
|
15681
15900
|
class ModifySampleSnapshotTemplateRequest < TencentCloud::Common::AbstractModel
|
15682
15901
|
# @param Definition: 采样截图模板唯一标识。
|
@@ -19581,6 +19800,72 @@ module TencentCloud
|
|
19581
19800
|
end
|
19582
19801
|
end
|
19583
19802
|
|
19803
|
+
# 轮播任务信息
|
19804
|
+
class RoundPlayInfo < TencentCloud::Common::AbstractModel
|
19805
|
+
# @param RoundPlayId: 轮播播单标识。
|
19806
|
+
# @type RoundPlayId: String
|
19807
|
+
# @param StartTime: 启播时间,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#52)。
|
19808
|
+
# @type StartTime: String
|
19809
|
+
# @param RoundPlaylist: 轮播列表。
|
19810
|
+
# @type RoundPlaylist: Array
|
19811
|
+
# @param Name: 轮播播单名称,长度限制:64 个字符。
|
19812
|
+
# @type Name: String
|
19813
|
+
# @param Desc: 轮播播单描述信息,长度限制:256 个字符。
|
19814
|
+
# @type Desc: String
|
19815
|
+
|
19816
|
+
attr_accessor :RoundPlayId, :StartTime, :RoundPlaylist, :Name, :Desc
|
19817
|
+
|
19818
|
+
def initialize(roundplayid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil)
|
19819
|
+
@RoundPlayId = roundplayid
|
19820
|
+
@StartTime = starttime
|
19821
|
+
@RoundPlaylist = roundplaylist
|
19822
|
+
@Name = name
|
19823
|
+
@Desc = desc
|
19824
|
+
end
|
19825
|
+
|
19826
|
+
def deserialize(params)
|
19827
|
+
@RoundPlayId = params['RoundPlayId']
|
19828
|
+
@StartTime = params['StartTime']
|
19829
|
+
unless params['RoundPlaylist'].nil?
|
19830
|
+
@RoundPlaylist = []
|
19831
|
+
params['RoundPlaylist'].each do |i|
|
19832
|
+
roundplaylistiteminfo_tmp = RoundPlayListItemInfo.new
|
19833
|
+
roundplaylistiteminfo_tmp.deserialize(i)
|
19834
|
+
@RoundPlaylist << roundplaylistiteminfo_tmp
|
19835
|
+
end
|
19836
|
+
end
|
19837
|
+
@Name = params['Name']
|
19838
|
+
@Desc = params['Desc']
|
19839
|
+
end
|
19840
|
+
end
|
19841
|
+
|
19842
|
+
# 加权轮播媒体文件信息
|
19843
|
+
class RoundPlayListItemInfo < TencentCloud::Common::AbstractModel
|
19844
|
+
# @param FileId: 媒体文件标识。
|
19845
|
+
# @type FileId: String
|
19846
|
+
# @param AudioVideoType: 播放的音视频类型,可选值:
|
19847
|
+
# <li>Transcode:转码输出;转码输出会有多个模版,必须指定 Definition 字段</li>
|
19848
|
+
# <li>Original:原始音视频。</li>
|
19849
|
+
# Type 对应的格式必须为 HLS 格式。
|
19850
|
+
# @type AudioVideoType: String
|
19851
|
+
# @param Definition: 指定播放的转码模版,当 AudioVideoType 为 Transcode 时必须指定。
|
19852
|
+
# @type Definition: Integer
|
19853
|
+
|
19854
|
+
attr_accessor :FileId, :AudioVideoType, :Definition
|
19855
|
+
|
19856
|
+
def initialize(fileid=nil, audiovideotype=nil, definition=nil)
|
19857
|
+
@FileId = fileid
|
19858
|
+
@AudioVideoType = audiovideotype
|
19859
|
+
@Definition = definition
|
19860
|
+
end
|
19861
|
+
|
19862
|
+
def deserialize(params)
|
19863
|
+
@FileId = params['FileId']
|
19864
|
+
@AudioVideoType = params['AudioVideoType']
|
19865
|
+
@Definition = params['Definition']
|
19866
|
+
end
|
19867
|
+
end
|
19868
|
+
|
19584
19869
|
# 华曦达(SDMC)相关的 DRM 密钥提供商信息。
|
19585
19870
|
class SDMCDrmKeyProviderInfo < TencentCloud::Common::AbstractModel
|
19586
19871
|
# @param Uid: 华曦达分配的用户 ID。最大长度为128个字符。
|
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.504
|
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-02-
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|