Class: TencentCloud::Mps::V20190612::ImageDenoiseConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ImageDenoiseConfig
- Defined in:
- lib/v20190612/models.rb
Overview
图片降噪配置
Instance Attribute Summary collapse
-
#Switch ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。- weak
- strong
默认值:weak。 注意:此字段可能返回 null,表示取不到有效值。. -
#Type ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。- weak
- strong
默认值:weak。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, type = nil) ⇒ ImageDenoiseConfig
constructor
A new instance of ImageDenoiseConfig.
Constructor Details
#initialize(switch = nil, type = nil) ⇒ ImageDenoiseConfig
Returns a new instance of ImageDenoiseConfig.
17677 17678 17679 17680 |
# File 'lib/v20190612/models.rb', line 17677 def initialize(switch=nil, type=nil) @Switch = switch @Type = type end |
Instance Attribute Details
#Switch ⇒ Object
17675 17676 17677 |
# File 'lib/v20190612/models.rb', line 17675 def Switch @Switch end |
#Type ⇒ Object
17675 17676 17677 |
# File 'lib/v20190612/models.rb', line 17675 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
17682 17683 17684 17685 |
# File 'lib/v20190612/models.rb', line 17682 def deserialize(params) @Switch = params['Switch'] @Type = params['Type'] end |