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(扩图).
-
#Format ⇒ Object
支持该参数 ScheduleId: 30010(扩图).
-
#ImageHeight ⇒ Object
支持该参数 ScheduleId: 30010(扩图).
-
#ImageSize ⇒ Object
支持该参数 ScheduleId: 30010(扩图).
-
#ImageWidth ⇒ Object
支持该参数 ScheduleId: 30010(扩图).
-
#Quality ⇒ Object
支持该参数 ScheduleId: 30010(扩图).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(aspectratio = nil, imageheight = nil, imagewidth = nil, imagesize = nil, format = nil, quality = nil) ⇒ ImageProcessOutputConfig
constructor
A new instance of ImageProcessOutputConfig.
Constructor Details
#initialize(aspectratio = nil, imageheight = nil, imagewidth = nil, imagesize = nil, format = nil, quality = nil) ⇒ ImageProcessOutputConfig
Returns a new instance of ImageProcessOutputConfig.
17871 17872 17873 17874 17875 17876 17877 17878 |
# File 'lib/v20190612/models.rb', line 17871 def initialize(aspectratio=nil, imageheight=nil, imagewidth=nil, imagesize=nil, format=nil, quality=nil) @AspectRatio = aspectratio @ImageHeight = imageheight @ImageWidth = imagewidth @ImageSize = imagesize @Format = format @Quality = quality end |
Instance Attribute Details
#AspectRatio ⇒ Object
支持该参数 ScheduleId: 30010(扩图)
17869 17870 17871 |
# File 'lib/v20190612/models.rb', line 17869 def AspectRatio @AspectRatio end |
#Format ⇒ Object
支持该参数 ScheduleId: 30010(扩图)
17869 17870 17871 |
# File 'lib/v20190612/models.rb', line 17869 def Format @Format end |
#ImageHeight ⇒ Object
支持该参数 ScheduleId: 30010(扩图)
17869 17870 17871 |
# File 'lib/v20190612/models.rb', line 17869 def ImageHeight @ImageHeight end |
#ImageSize ⇒ Object
支持该参数 ScheduleId: 30010(扩图)
17869 17870 17871 |
# File 'lib/v20190612/models.rb', line 17869 def ImageSize @ImageSize end |
#ImageWidth ⇒ Object
支持该参数 ScheduleId: 30010(扩图)
17869 17870 17871 |
# File 'lib/v20190612/models.rb', line 17869 def ImageWidth @ImageWidth end |
#Quality ⇒ Object
支持该参数 ScheduleId: 30010(扩图)
17869 17870 17871 |
# File 'lib/v20190612/models.rb', line 17869 def Quality @Quality end |
Instance Method Details
#deserialize(params) ⇒ Object
17880 17881 17882 17883 17884 17885 17886 17887 |
# File 'lib/v20190612/models.rb', line 17880 def deserialize(params) @AspectRatio = params['AspectRatio'] @ImageHeight = params['ImageHeight'] @ImageWidth = params['ImageWidth'] @ImageSize = params['ImageSize'] @Format = params['Format'] @Quality = params['Quality'] end |