lib/v20180717/models.rb in tencentcloud-sdk-vod-3.0.576 vs lib/v20180717/models.rb in tencentcloud-sdk-vod-3.0.577

- old
+ new

@@ -6355,19 +6355,25 @@ # @type SubAppId: Integer # @param Name: 轮播播单名称,长度限制:64 个字符。 # @type Name: String # @param Desc: 轮播播单描述信息,长度限制:256 个字符。 # @type Desc: String + # @param PlayBackMode: 播放模式,可选值: + # <li>Loop:循环播放播单;</li> + # <li>Linear:单次播放,播单播放完停止播放。</li> + # 默认值:Loop。 + # @type PlayBackMode: String - attr_accessor :StartTime, :RoundPlaylist, :SubAppId, :Name, :Desc + attr_accessor :StartTime, :RoundPlaylist, :SubAppId, :Name, :Desc, :PlayBackMode - def initialize(starttime=nil, roundplaylist=nil, subappid=nil, name=nil, desc=nil) + def initialize(starttime=nil, roundplaylist=nil, subappid=nil, name=nil, desc=nil, playbackmode=nil) @StartTime = starttime @RoundPlaylist = roundplaylist @SubAppId = subappid @Name = name @Desc = desc + @PlayBackMode = playbackmode end def deserialize(params) @StartTime = params['StartTime'] unless params['RoundPlaylist'].nil? @@ -6379,10 +6385,11 @@ end end @SubAppId = params['SubAppId'] @Name = params['Name'] @Desc = params['Desc'] + @PlayBackMode = params['PlayBackMode'] end end # CreateRoundPlay返回参数结构体 class CreateRoundPlayResponse < TencentCloud::Common::AbstractModel @@ -16604,20 +16611,29 @@ # @type RoundPlaylist: Array # @param Name: 轮播播单名称,长度限制:64 个字符。 # @type Name: String # @param Desc: 轮播播单描述信息,长度限制:256 个字符。 # @type Desc: String + # @param Status: 播放状态,可选值: + # <li>Disabled:结束播放,结束后轮播任务不能再次启动。</li> + # @type Status: String + # @param PlayBackMode: 播放模式,可选值: + # <li>Loop:循环播放播单;</li> + # <li>Linear:单次播放,播单播放完停止播放。</li> + # @type PlayBackMode: String - attr_accessor :RoundPlayId, :SubAppId, :StartTime, :RoundPlaylist, :Name, :Desc + attr_accessor :RoundPlayId, :SubAppId, :StartTime, :RoundPlaylist, :Name, :Desc, :Status, :PlayBackMode - def initialize(roundplayid=nil, subappid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil) + def initialize(roundplayid=nil, subappid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil, status=nil, playbackmode=nil) @RoundPlayId = roundplayid @SubAppId = subappid @StartTime = starttime @RoundPlaylist = roundplaylist @Name = name @Desc = desc + @Status = status + @PlayBackMode = playbackmode end def deserialize(params) @RoundPlayId = params['RoundPlayId'] @SubAppId = params['SubAppId'] @@ -16630,10 +16646,12 @@ @RoundPlaylist << roundplaylistiteminfo_tmp end end @Name = params['Name'] @Desc = params['Desc'] + @Status = params['Status'] + @PlayBackMode = params['PlayBackMode'] end end # ModifyRoundPlay返回参数结构体 class ModifyRoundPlayResponse < TencentCloud::Common::AbstractModel @@ -21489,19 +21507,34 @@ # @type RoundPlaylist: Array # @param Name: 轮播播单名称,长度限制:64 个字符。 # @type Name: String # @param Desc: 轮播播单描述信息,长度限制:256 个字符。 # @type Desc: String + # @param Status: 播放状态,可选值: + # <li>Enabled:启动状态;</li> + # <li>Disabled:停止状态。</li> + # 默认值:Enabled。 + # @type Status: String + # @param PlayBackMode: 播放模式,可选值: + # <li>Loop:循环播放播单;</li> + # <li>Linear:单次播放,播单播放完停止播放。</li> + # 默认值:Loop。 + # @type PlayBackMode: String + # @param Url: 轮播播放地址。 + # @type Url: String - attr_accessor :RoundPlayId, :StartTime, :RoundPlaylist, :Name, :Desc + attr_accessor :RoundPlayId, :StartTime, :RoundPlaylist, :Name, :Desc, :Status, :PlayBackMode, :Url - def initialize(roundplayid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil) + def initialize(roundplayid=nil, starttime=nil, roundplaylist=nil, name=nil, desc=nil, status=nil, playbackmode=nil, url=nil) @RoundPlayId = roundplayid @StartTime = starttime @RoundPlaylist = roundplaylist @Name = name @Desc = desc + @Status = status + @PlayBackMode = playbackmode + @Url = url end def deserialize(params) @RoundPlayId = params['RoundPlayId'] @StartTime = params['StartTime'] @@ -21513,9 +21546,12 @@ @RoundPlaylist << roundplaylistiteminfo_tmp end end @Name = params['Name'] @Desc = params['Desc'] + @Status = params['Status'] + @PlayBackMode = params['PlayBackMode'] + @Url = params['Url'] end end # 加权轮播媒体文件信息 class RoundPlayListItemInfo < TencentCloud::Common::AbstractModel