Class: TencentCloud::Vod::V20180717::ComplexAdaptiveDynamicStreamingTaskSubtitleInput

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180717/models.rb

Overview

自适应码流任务多语言字幕的输入参数。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, default = nil) ⇒ ComplexAdaptiveDynamicStreamingTaskSubtitleInput

Returns a new instance of ComplexAdaptiveDynamicStreamingTaskSubtitleInput.



6381
6382
6383
6384
# File 'lib/v20180717/models.rb', line 6381

def initialize(id=nil, default=nil)
  @Id = id
  @Default = default
end

Instance Attribute Details

#DefaultObject

<li>YES:设置为默认字幕;</li> <li>NO:不设置为默认字幕(默认值)。</li>

Parameters:

  • Id:

    字幕 ID。该字幕必须归属于自适应码流任务的输入主媒体。

  • Default:

    是否设置为自适应码流的默认字幕。取值:



6379
6380
6381
# File 'lib/v20180717/models.rb', line 6379

def Default
  @Default
end

#IdObject

<li>YES:设置为默认字幕;</li> <li>NO:不设置为默认字幕(默认值)。</li>

Parameters:

  • Id:

    字幕 ID。该字幕必须归属于自适应码流任务的输入主媒体。

  • Default:

    是否设置为自适应码流的默认字幕。取值:



6379
6380
6381
# File 'lib/v20180717/models.rb', line 6379

def Id
  @Id
end

Instance Method Details

#deserialize(params) ⇒ Object



6386
6387
6388
6389
# File 'lib/v20180717/models.rb', line 6386

def deserialize(params)
  @Id = params['Id']
  @Default = params['Default']
end