Class: TencentCloud::Mps::V20190612::BeautyEffectItemConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::BeautyEffectItemConfig
- Defined in:
- lib/v20190612/models.rb
Overview
美颜效果配置项
Instance Attribute Summary collapse
-
#Switch ⇒ Object
<li>ON:开启;</li> <li>OFF:关闭。</li> 默认值:ON。.
-
#Type ⇒ Object
<li>ON:开启;</li> <li>OFF:关闭。</li> 默认值:ON。.
-
#Value ⇒ Object
<li>ON:开启;</li> <li>OFF:关闭。</li> 默认值:ON。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, switch = nil, value = nil) ⇒ BeautyEffectItemConfig
constructor
A new instance of BeautyEffectItemConfig.
Constructor Details
#initialize(type = nil, switch = nil, value = nil) ⇒ BeautyEffectItemConfig
Returns a new instance of BeautyEffectItemConfig.
5425 5426 5427 5428 5429 |
# File 'lib/v20190612/models.rb', line 5425 def initialize(type=nil, switch=nil, value=nil) @Type = type @Switch = switch @Value = value end |
Instance Attribute Details
#Switch ⇒ Object
<li>ON:开启;</li> <li>OFF:关闭。</li> 默认值:ON。
5423 5424 5425 |
# File 'lib/v20190612/models.rb', line 5423 def Switch @Switch end |
#Type ⇒ Object
<li>ON:开启;</li> <li>OFF:关闭。</li> 默认值:ON。
5423 5424 5425 |
# File 'lib/v20190612/models.rb', line 5423 def Type @Type end |
#Value ⇒ Object
<li>ON:开启;</li> <li>OFF:关闭。</li> 默认值:ON。
5423 5424 5425 |
# File 'lib/v20190612/models.rb', line 5423 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5431 5432 5433 5434 5435 |
# File 'lib/v20190612/models.rb', line 5431 def deserialize(params) @Type = params['Type'] @Switch = params['Switch'] @Value = params['Value'] end |