Class: TencentCloud::Ie::V20200304::ScratchRepair

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

Overview

去划痕参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, ratio = nil) ⇒ ScratchRepair

Returns a new instance of ScratchRepair.



2721
2722
2723
2724
# File 'lib/v20200304/models.rb', line 2721

def initialize(type=nil, ratio=nil)
  @Type = type
  @Ratio = ratio
end

Instance Attribute Details

#RatioObject

Parameters:

  • Type:

    去划痕方式,取值:normal。

  • Ratio:

    去划痕强度, 可选项:0.0-1.0。小于0.0的默认为0.0,大于1.0的默认为1.0。



2719
2720
2721
# File 'lib/v20200304/models.rb', line 2719

def Ratio
  @Ratio
end

#TypeObject

Parameters:

  • Type:

    去划痕方式,取值:normal。

  • Ratio:

    去划痕强度, 可选项:0.0-1.0。小于0.0的默认为0.0,大于1.0的默认为1.0。



2719
2720
2721
# File 'lib/v20200304/models.rb', line 2719

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



2726
2727
2728
2729
# File 'lib/v20200304/models.rb', line 2726

def deserialize(params)
  @Type = params['Type']
  @Ratio = params['Ratio']
end