Class: TencentCloud::Mps::V20190612::BeautyFilterItemConfig

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190612/models.rb

Overview

美颜滤镜配置项

Instance Attribute Summary collapse

  • #Type ⇒ Object
  • Dongjing:东京
  • Qingjiaopian:轻胶片
  • Meiwei:美味
  • ON:开启;
  • OFF:关闭。
  • 默认值:ON。.
  • #Value ⇒ Object
  • Dongjing:东京
  • Qingjiaopian:轻胶片
  • Meiwei:美味
  • ON:开启;
  • OFF:关闭。
  • 默认值:ON。.

    Instance Method Summary collapse

    Constructor Details

    #initialize(type = nil, switch = nil, value = nil) ⇒ BeautyFilterItemConfig

    Returns a new instance of BeautyFilterItemConfig.

    
    
    6189
    6190
    6191
    6192
    6193
    # File 'lib/v20190612/models.rb', line 6189
    
    def initialize(type=nil, switch=nil, value=nil)
      @Type = type
      @Switch = switch
      @Value = value
    end

    Instance Attribute Details

    #SwitchObject

  • Dongjing:东京
  • Qingjiaopian:轻胶片
  • Meiwei:美味
  • ON:开启;
  • OFF:关闭。
  • 默认值:ON。

    Parameters:

    • Switch:

      能力配置开关,可选值:

    • Value:

      效果强度,值范围:[-100, 100]。

    
    
    6187
    6188
    6189
    # File 'lib/v20190612/models.rb', line 6187
    
    def Switch
      @Switch
    end

    #TypeObject

  • Dongjing:东京
  • Qingjiaopian:轻胶片
  • Meiwei:美味
  • ON:开启;
  • OFF:关闭。
  • 默认值:ON。

    Parameters:

    • Switch:

      能力配置开关,可选值:

    • Value:

      效果强度,值范围:[-100, 100]。

    
    
    6187
    6188
    6189
    # File 'lib/v20190612/models.rb', line 6187
    
    def Type
      @Type
    end

    #ValueObject

  • Dongjing:东京
  • Qingjiaopian:轻胶片
  • Meiwei:美味
  • ON:开启;
  • OFF:关闭。
  • 默认值:ON。

    Parameters:

    • Switch:

      能力配置开关,可选值:

    • Value:

      效果强度,值范围:[-100, 100]。

    
    
    6187
    6188
    6189
    # File 'lib/v20190612/models.rb', line 6187
    
    def Value
      @Value
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    6195
    6196
    6197
    6198
    6199
    # File 'lib/v20190612/models.rb', line 6195
    
    def deserialize(params)
      @Type = params['Type']
      @Switch = params['Switch']
      @Value = params['Value']
    end