Class: TencentCloud::Mps::V20190612::ImageQualityEnhanceConfig

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

Overview

综合增强配置

Instance Attribute Summary collapse

  • #Type ⇒ Object
  • ON:开启;
  • OFF:关闭。
  • 默认值:ON。
  • weak
  • normal
  • strong
  • 默认值:weak。 注意:此字段可能返回 null,表示取不到有效值。.

    Instance Method Summary collapse

    Constructor Details

    #initialize(switch = nil, type = nil) ⇒ ImageQualityEnhanceConfig

    Returns a new instance of ImageQualityEnhanceConfig.

    
    
    17995
    17996
    17997
    17998
    # File 'lib/v20190612/models.rb', line 17995
    
    def initialize(switch=nil, type=nil)
      @Switch = switch
      @Type = type
    end
    

    Instance Attribute Details

    #SwitchObject

  • ON:开启;
  • OFF:关闭。
  • 默认值:ON。
  • weak
  • normal
  • strong
  • 默认值:weak。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Switch:

      能力配置开关,可选值:

    • Type:

      类型,可选值:

    
    
    17993
    17994
    17995
    # File 'lib/v20190612/models.rb', line 17993
    
    def Switch
      @Switch
    end
    

    #TypeObject

  • ON:开启;
  • OFF:关闭。
  • 默认值:ON。
  • weak
  • normal
  • strong
  • 默认值:weak。 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • Switch:

      能力配置开关,可选值:

    • Type:

      类型,可选值:

    
    
    17993
    17994
    17995
    # File 'lib/v20190612/models.rb', line 17993
    
    def Type
      @Type
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    18000
    18001
    18002
    18003
    # File 'lib/v20190612/models.rb', line 18000
    
    def deserialize(params)
      @Switch = params['Switch']
      @Type = params['Type']
    end