Class: TencentCloud::Vod::V20180717::MediaVideoStreamItem

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

Overview

点播文件视频流信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bitrate = nil, height = nil, width = nil, codec = nil, fps = nil, codectag = nil, dynamicrangeinfo = nil) ⇒ MediaVideoStreamItem



18758
18759
18760
18761
18762
18763
18764
18765
18766
# File 'lib/v20180717/models.rb', line 18758

def initialize(bitrate=nil, height=nil, width=nil, codec=nil, fps=nil, codectag=nil, dynamicrangeinfo=nil)
  @Bitrate = bitrate
  @Height = height
  @Width = width
  @Codec = codec
  @Fps = fps
  @CodecTag = codectag
  @DynamicRangeInfo = dynamicrangeinfo
end

Instance Attribute Details

#BitrateObject

<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>



18756
18757
18758
# File 'lib/v20180717/models.rb', line 18756

def Bitrate
  @Bitrate
end

#CodecObject

<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>



18756
18757
18758
# File 'lib/v20180717/models.rb', line 18756

def Codec
  @Codec
end

#CodecTagObject

<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>



18756
18757
18758
# File 'lib/v20180717/models.rb', line 18756

def CodecTag
  @CodecTag
end

#DynamicRangeInfoObject

<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>



18756
18757
18758
# File 'lib/v20180717/models.rb', line 18756

def DynamicRangeInfo
  @DynamicRangeInfo
end

#FpsObject

<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>



18756
18757
18758
# File 'lib/v20180717/models.rb', line 18756

def Fps
  @Fps
end

#HeightObject

<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>



18756
18757
18758
# File 'lib/v20180717/models.rb', line 18756

def Height
  @Height
end

#WidthObject

<li><font color=red>注意</font>:在 2023-01-10T00:00:00Z 后处理的转码文件,此字段有效。</li>



18756
18757
18758
# File 'lib/v20180717/models.rb', line 18756

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
# File 'lib/v20180717/models.rb', line 18768

def deserialize(params)
  @Bitrate = params['Bitrate']
  @Height = params['Height']
  @Width = params['Width']
  @Codec = params['Codec']
  @Fps = params['Fps']
  @CodecTag = params['CodecTag']
  unless params['DynamicRangeInfo'].nil?
    @DynamicRangeInfo = DynamicRangeInfo.new
    @DynamicRangeInfo.deserialize(params['DynamicRangeInfo'])
  end
end