Class: TencentCloud::Mps::V20190612::ImageProcessOutputConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ImageProcessOutputConfig
- Defined in:
- lib/v20190612/models.rb
Overview
图片处理编排输出配置。
Instance Attribute Summary collapse
-
#AspectRatio ⇒ Object
支持该参数 ScheduleId: 30010(扩图).
-
#ImageHeight ⇒ Object
支持该参数 ScheduleId: 30010(扩图).
-
#ImageWidth ⇒ Object
支持该参数 ScheduleId: 30010(扩图).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(aspectratio = nil, imageheight = nil, imagewidth = nil) ⇒ ImageProcessOutputConfig
constructor
A new instance of ImageProcessOutputConfig.
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
#AspectRatio ⇒ Object
支持该参数 ScheduleId: 30010(扩图)
17783 17784 17785 |
# File 'lib/v20190612/models.rb', line 17783 def AspectRatio @AspectRatio end |
#ImageHeight ⇒ Object
支持该参数 ScheduleId: 30010(扩图)
17783 17784 17785 |
# File 'lib/v20190612/models.rb', line 17783 def ImageHeight @ImageHeight end |
#ImageWidth ⇒ Object
支持该参数 ScheduleId: 30010(扩图)
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 |