class TencentCloud::Ticm::V20181127::VodMetaData

媒体文件元信息。

def deserialize(params)

def deserialize(params)
  @Size = params['Size']
  @Container = params['Container']
  @Bitrate = params['Bitrate']
  @Height = params['Height']
  @Width = params['Width']
  @Duration = params['Duration']
  @Rotate = params['Rotate']
  unless params['VideoStreamSet'].nil?
    @VideoStreamSet = []
    params['VideoStreamSet'].each do |i|
      vodvideostreamitem_tmp = VodVideoStreamItem.new
      vodvideostreamitem_tmp.deserialize(i)
      @VideoStreamSet << vodvideostreamitem_tmp
    end
  end
  unless params['AudioStreamSet'].nil?
    @AudioStreamSet = []
    params['AudioStreamSet'].each do |i|
      vodaudiostreamitem_tmp = VodAudioStreamItem.new
      vodaudiostreamitem_tmp.deserialize(i)
      @AudioStreamSet << vodaudiostreamitem_tmp
    end
  end
  @VideoDuration = params['VideoDuration']
  @AudioDuration = params['AudioDuration']
end

def initialize(size=nil, container=nil, bitrate=nil, height=nil, width=nil, duration=nil, rotate=nil, videostreamset=nil, audiostreamset=nil, videoduration=nil, audioduration=nil)

def initialize(size=nil, container=nil, bitrate=nil, height=nil, width=nil, duration=nil, rotate=nil, videostreamset=nil, audiostreamset=nil, videoduration=nil, audioduration=nil)
  @Size = size
  @Container = container
  @Bitrate = bitrate
  @Height = height
  @Width = width
  @Duration = duration
  @Rotate = rotate
  @VideoStreamSet = videostreamset
  @AudioStreamSet = audiostreamset
  @VideoDuration = videoduration
  @AudioDuration = audioduration
end