Class: AILabTools::Generated::Params::PortraitAISkinEnhancementAdvancedParams
- Inherits:
-
Params
- Object
- Params
- AILabTools::Generated::Params::PortraitAISkinEnhancementAdvancedParams
- Defined in:
- lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb
Instance Attribute Summary collapse
-
#acne_removal ⇒ Object
readonly
Returns the value of attribute acne_removal.
-
#image ⇒ Object
readonly
Returns the value of attribute image.
-
#pore_control ⇒ Object
readonly
Returns the value of attribute pore_control.
-
#scar_reduction ⇒ Object
readonly
Returns the value of attribute scar_reduction.
-
#skin_brightening ⇒ Object
readonly
Returns the value of attribute skin_brightening.
-
#skin_smoothing ⇒ Object
readonly
Returns the value of attribute skin_smoothing.
-
#smart_skin ⇒ Object
readonly
Returns the value of attribute smart_skin.
-
#spot_correction ⇒ Object
readonly
Returns the value of attribute spot_correction.
-
#under_eye_correction ⇒ Object
readonly
Returns the value of attribute under_eye_correction.
-
#wrinkle_reduction ⇒ Object
readonly
Returns the value of attribute wrinkle_reduction.
Instance Method Summary collapse
- #body_fields ⇒ Object
-
#initialize(image:, smart_skin: nil, acne_removal: nil, spot_correction: nil, skin_brightening: nil, skin_smoothing: nil, pore_control: nil, wrinkle_reduction: nil, under_eye_correction: nil, scar_reduction: nil) ⇒ PortraitAISkinEnhancementAdvancedParams
constructor
A new instance of PortraitAISkinEnhancementAdvancedParams.
- #query_fields ⇒ Object
Constructor Details
#initialize(image:, smart_skin: nil, acne_removal: nil, spot_correction: nil, skin_brightening: nil, skin_smoothing: nil, pore_control: nil, wrinkle_reduction: nil, under_eye_correction: nil, scar_reduction: nil) ⇒ PortraitAISkinEnhancementAdvancedParams
Returns a new instance of PortraitAISkinEnhancementAdvancedParams.
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 8 def initialize(image:, smart_skin: nil, acne_removal: nil, spot_correction: nil, skin_brightening: nil, skin_smoothing: nil, pore_control: nil, wrinkle_reduction: nil, under_eye_correction: nil, scar_reduction: nil) @image = image @smart_skin = smart_skin @acne_removal = acne_removal @spot_correction = spot_correction @skin_brightening = skin_brightening @skin_smoothing = skin_smoothing @pore_control = pore_control @wrinkle_reduction = wrinkle_reduction @under_eye_correction = under_eye_correction @scar_reduction = scar_reduction end |
Instance Attribute Details
#acne_removal ⇒ Object (readonly)
Returns the value of attribute acne_removal.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def acne_removal @acne_removal end |
#image ⇒ Object (readonly)
Returns the value of attribute image.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def image @image end |
#pore_control ⇒ Object (readonly)
Returns the value of attribute pore_control.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def pore_control @pore_control end |
#scar_reduction ⇒ Object (readonly)
Returns the value of attribute scar_reduction.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def scar_reduction @scar_reduction end |
#skin_brightening ⇒ Object (readonly)
Returns the value of attribute skin_brightening.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def skin_brightening @skin_brightening end |
#skin_smoothing ⇒ Object (readonly)
Returns the value of attribute skin_smoothing.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def skin_smoothing @skin_smoothing end |
#smart_skin ⇒ Object (readonly)
Returns the value of attribute smart_skin.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def smart_skin @smart_skin end |
#spot_correction ⇒ Object (readonly)
Returns the value of attribute spot_correction.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def spot_correction @spot_correction end |
#under_eye_correction ⇒ Object (readonly)
Returns the value of attribute under_eye_correction.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def under_eye_correction @under_eye_correction end |
#wrinkle_reduction ⇒ Object (readonly)
Returns the value of attribute wrinkle_reduction.
7 8 9 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 7 def wrinkle_reduction @wrinkle_reduction end |
Instance Method Details
#body_fields ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 25 def body_fields compact_hash({ "image" => @image, "smart_skin" => @smart_skin, "acne_removal" => @acne_removal, "spot_correction" => @spot_correction, "skin_brightening" => @skin_brightening, "skin_smoothing" => @skin_smoothing, "pore_control" => @pore_control, "wrinkle_reduction" => @wrinkle_reduction, "under_eye_correction" => @under_eye_correction, "scar_reduction" => @scar_reduction, }) end |
#query_fields ⇒ Object
21 22 23 |
# File 'lib/ailabtools/generated/params/portrait_ai_skin_enhancement_advanced_params.rb', line 21 def query_fields {} end |