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