Class: TencentCloud::Vod::V20180717::VideoConfigureInfoForUpdate

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

Overview

即时转码视频模板更新配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(width = nil, height = nil, resolutionadaptive = nil, bitrate = nil) ⇒ VideoConfigureInfoForUpdate

Returns a new instance of VideoConfigureInfoForUpdate.



29092
29093
29094
29095
29096
29097
# File 'lib/v20180717/models.rb', line 29092

def initialize(width=nil, height=nil, resolutionadaptive=nil, bitrate=nil)
  @Width = width
  @Height = height
  @ResolutionAdaptive = resolutionadaptive
  @Bitrate = bitrate
end

Instance Attribute Details

#BitrateObject

默认值:open。当取值为 0,表示由云点播自动设置码率。

Parameters:

  • Bitrate:

    视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。



29090
29091
29092
# File 'lib/v20180717/models.rb', line 29090

def Bitrate
  @Bitrate
end

#HeightObject

默认值:open。当取值为 0,表示由云点播自动设置码率。

Parameters:

  • Bitrate:

    视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。



29090
29091
29092
# File 'lib/v20180717/models.rb', line 29090

def Height
  @Height
end

#ResolutionAdaptiveObject

默认值:open。当取值为 0,表示由云点播自动设置码率。

Parameters:

  • Bitrate:

    视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。



29090
29091
29092
# File 'lib/v20180717/models.rb', line 29090

def ResolutionAdaptive
  @ResolutionAdaptive
end

#WidthObject

默认值:open。当取值为 0,表示由云点播自动设置码率。

Parameters:

  • Bitrate:

    视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。



29090
29091
29092
# File 'lib/v20180717/models.rb', line 29090

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



29099
29100
29101
29102
29103
29104
# File 'lib/v20180717/models.rb', line 29099

def deserialize(params)
  @Width = params['Width']
  @Height = params['Height']
  @ResolutionAdaptive = params['ResolutionAdaptive']
  @Bitrate = params['Bitrate']
end