Class: TencentCloud::Mps::V20190612::ImageProcessOutputConfig

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

Overview

图片处理编排输出配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aspectratio = nil, imageheight = nil, imagewidth = nil) ⇒ ImageProcessOutputConfig

Returns a new instance of ImageProcessOutputConfig.



17785
17786
17787
17788
17789
# File 'lib/v20190612/models.rb', line 17785

def initialize(aspectratio=nil, imageheight=nil, imagewidth=nil)
  @AspectRatio = aspectratio
  @ImageHeight = imageheight
  @ImageWidth = imagewidth
end

Instance Attribute Details

#AspectRatioObject

支持该参数 ScheduleId: 30010(扩图)

Parameters:

  • ImageHeight:

    图片输出高度,单位:像素。

  • ImageWidth:

    图片输出宽度,单位:像素。



17783
17784
17785
# File 'lib/v20190612/models.rb', line 17783

def AspectRatio
  @AspectRatio
end

#ImageHeightObject

支持该参数 ScheduleId: 30010(扩图)

Parameters:

  • ImageHeight:

    图片输出高度,单位:像素。

  • ImageWidth:

    图片输出宽度,单位:像素。



17783
17784
17785
# File 'lib/v20190612/models.rb', line 17783

def ImageHeight
  @ImageHeight
end

#ImageWidthObject

支持该参数 ScheduleId: 30010(扩图)

Parameters:

  • ImageHeight:

    图片输出高度,单位:像素。

  • ImageWidth:

    图片输出宽度,单位:像素。



17783
17784
17785
# File 'lib/v20190612/models.rb', line 17783

def ImageWidth
  @ImageWidth
end

Instance Method Details

#deserialize(params) ⇒ Object



17791
17792
17793
17794
17795
# File 'lib/v20190612/models.rb', line 17791

def deserialize(params)
  @AspectRatio = params['AspectRatio']
  @ImageHeight = params['ImageHeight']
  @ImageWidth = params['ImageWidth']
end