Class: TencentCloud::Ie::V20200304::TargetVideoInfo

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

Overview

目标视频信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(width = nil, height = nil, framerate = nil) ⇒ TargetVideoInfo

Returns a new instance of TargetVideoInfo.



3351
3352
3353
3354
3355
# File 'lib/v20200304/models.rb', line 3351

def initialize(width=nil, height=nil, framerate=nil)
  @Width = width
  @Height = height
  @FrameRate = framerate
end

Instance Attribute Details

#FrameRateObject

Parameters:

  • Width:

    视频宽度,单位像素,一般要求是偶数,否则会向下对齐。

  • Height:

    视频高度,单位像素,一般要求是偶数,否则会向下对齐。

  • FrameRate:

    视频帧率,范围在1到120之间



3349
3350
3351
# File 'lib/v20200304/models.rb', line 3349

def FrameRate
  @FrameRate
end

#HeightObject

Parameters:

  • Width:

    视频宽度,单位像素,一般要求是偶数,否则会向下对齐。

  • Height:

    视频高度,单位像素,一般要求是偶数,否则会向下对齐。

  • FrameRate:

    视频帧率,范围在1到120之间



3349
3350
3351
# File 'lib/v20200304/models.rb', line 3349

def Height
  @Height
end

#WidthObject

Parameters:

  • Width:

    视频宽度,单位像素,一般要求是偶数,否则会向下对齐。

  • Height:

    视频高度,单位像素,一般要求是偶数,否则会向下对齐。

  • FrameRate:

    视频帧率,范围在1到120之间



3349
3350
3351
# File 'lib/v20200304/models.rb', line 3349

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



3357
3358
3359
3360
3361
# File 'lib/v20200304/models.rb', line 3357

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