Class: TencentCloud::Vod::V20180717::TranscodePlayInfo2017

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

Overview

视频转码播放信息(2017 版)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url = nil, definition = nil, bitrate = nil, height = nil, width = nil) ⇒ TranscodePlayInfo2017



28311
28312
28313
28314
28315
28316
28317
# File 'lib/v20180717/models.rb', line 28311

def initialize(url=nil, definition=nil, bitrate=nil, height=nil, width=nil)
  @Url = url
  @Definition = definition
  @Bitrate = bitrate
  @Height = height
  @Width = width
end

Instance Attribute Details

#BitrateObject



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Bitrate
  @Bitrate
end

#DefinitionObject



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Definition
  @Definition
end

#HeightObject



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Height
  @Height
end

#UrlObject



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Url
  @Url
end

#WidthObject



28309
28310
28311
# File 'lib/v20180717/models.rb', line 28309

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



28319
28320
28321
28322
28323
28324
28325
# File 'lib/v20180717/models.rb', line 28319

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