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