Class: TencentCloud::Mps::V20190612::ImageEraseLogoConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ImageEraseLogoConfig
- Defined in:
- lib/v20190612/models.rb
Overview
图标擦除配置
Instance Attribute Summary collapse
-
#DetectTypes ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。- logo:图标;
- text:文字;
- watermark:水印;
注意:此字段可能返回 null,表示取不到有效值。. -
#ImageAreaBoxes ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。- logo:图标;
- text:文字;
- watermark:水印;
注意:此字段可能返回 null,表示取不到有效值。. -
#Switch ⇒ Object
- ON:开启;
- OFF:关闭。
默认值:ON。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。- logo:图标;
- text:文字;
- watermark:水印;
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, imageareaboxes = nil, detecttypes = nil) ⇒ ImageEraseLogoConfig
constructor
A new instance of ImageEraseLogoConfig.
Constructor Details
#initialize(switch = nil, imageareaboxes = nil, detecttypes = nil) ⇒ ImageEraseLogoConfig
Returns a new instance of ImageEraseLogoConfig.
17826 17827 17828 17829 17830 |
# File 'lib/v20190612/models.rb', line 17826 def initialize(switch=nil, imageareaboxes=nil, detecttypes=nil) @Switch = switch @ImageAreaBoxes = imageareaboxes @DetectTypes = detecttypes end |
Instance Attribute Details
#DetectTypes ⇒ Object
17824 17825 17826 |
# File 'lib/v20190612/models.rb', line 17824 def DetectTypes @DetectTypes end |
#ImageAreaBoxes ⇒ Object
17824 17825 17826 |
# File 'lib/v20190612/models.rb', line 17824 def ImageAreaBoxes @ImageAreaBoxes end |
#Switch ⇒ Object
17824 17825 17826 |
# File 'lib/v20190612/models.rb', line 17824 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 |
# File 'lib/v20190612/models.rb', line 17832 def deserialize(params) @Switch = params['Switch'] unless params['ImageAreaBoxes'].nil? @ImageAreaBoxes = [] params['ImageAreaBoxes'].each do |i| imageareaboxinfo_tmp = ImageAreaBoxInfo.new imageareaboxinfo_tmp.deserialize(i) @ImageAreaBoxes << imageareaboxinfo_tmp end end @DetectTypes = params['DetectTypes'] end |