Class: AILabTools::Generated::Params::ImageColorEnhancementParams
- Defined in:
- lib/ailabtools/generated/params/image_color_enhancement_params.rb
Instance Attribute Summary collapse
-
#image ⇒ Object
readonly
Returns the value of attribute image.
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#output_format ⇒ Object
readonly
Returns the value of attribute output_format.
Instance Method Summary collapse
- #body_fields ⇒ Object
-
#initialize(image:, output_format:, mode:) ⇒ ImageColorEnhancementParams
constructor
A new instance of ImageColorEnhancementParams.
- #query_fields ⇒ Object
Constructor Details
#initialize(image:, output_format:, mode:) ⇒ ImageColorEnhancementParams
Returns a new instance of ImageColorEnhancementParams.
8 9 10 11 12 |
# File 'lib/ailabtools/generated/params/image_color_enhancement_params.rb', line 8 def initialize(image:, output_format:, mode:) @image = image @output_format = output_format @mode = mode end |
Instance Attribute Details
#image ⇒ Object (readonly)
Returns the value of attribute image.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_color_enhancement_params.rb', line 7 def image @image end |
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_color_enhancement_params.rb', line 7 def mode @mode end |
#output_format ⇒ Object (readonly)
Returns the value of attribute output_format.
7 8 9 |
# File 'lib/ailabtools/generated/params/image_color_enhancement_params.rb', line 7 def output_format @output_format end |
Instance Method Details
#body_fields ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/ailabtools/generated/params/image_color_enhancement_params.rb', line 18 def body_fields compact_hash({ "image" => @image, "output_format" => @output_format, "mode" => @mode, }) end |
#query_fields ⇒ Object
14 15 16 |
# File 'lib/ailabtools/generated/params/image_color_enhancement_params.rb', line 14 def query_fields {} end |