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