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