Class: TencentCloud::Mps::V20190612::ArtifactRepairConfig

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

Overview

去伪影(毛刺)配置

Instance Attribute Summary collapse

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

    Instance Method Summary collapse

    Constructor Details

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

    Returns a new instance of ArtifactRepairConfig.

    
    
    5218
    5219
    5220
    5221
    # File 'lib/v20190612/models.rb', line 5218
    
    def initialize(switch=nil, type=nil)
      @Switch = switch
      @Type = type
    end
    

    Instance Attribute Details

    #SwitchObject

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

    Parameters:

    • Switch:

      能力配置开关,可选值:

    • Type:

      类型,可选值:

    
    
    5216
    5217
    5218
    # File 'lib/v20190612/models.rb', line 5216
    
    def Switch
      @Switch
    end
    

    #TypeObject

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

    Parameters:

    • Switch:

      能力配置开关,可选值:

    • Type:

      类型,可选值:

    
    
    5216
    5217
    5218
    # File 'lib/v20190612/models.rb', line 5216
    
    def Type
      @Type
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    5223
    5224
    5225
    5226
    # File 'lib/v20190612/models.rb', line 5223
    
    def deserialize(params)
      @Switch = params['Switch']
      @Type = params['Type']
    end