public class ModifySmartEraseTemplateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifySmartEraseTemplateRequest() |
ModifySmartEraseTemplateRequest(ModifySmartEraseTemplateRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get Length limit for the description information of the smart erasing template: 256 characters.
|
Long |
getDefinition()
Get Unique identifier of the smart erasing template.
|
SmartErasePrivacyConfig |
getErasePrivacyConfig()
Get Privacy protection configuration.
|
SmartEraseSubtitleConfig |
getEraseSubtitleConfig()
Get Subtitle erasing configuration.
|
String |
getEraseType()
Get Erasing type.
|
SmartEraseWatermarkConfig |
getEraseWatermarkConfig()
Get Watermark erasing configuration.
|
String |
getName()
Get Length limit for the smart erasing template name: 64 characters.
|
void |
setComment(String Comment)
Set Length limit for the description information of the smart erasing template: 256 characters.
|
void |
setDefinition(Long Definition)
Set Unique identifier of the smart erasing template.
|
void |
setErasePrivacyConfig(SmartErasePrivacyConfig ErasePrivacyConfig)
Set Privacy protection configuration.
|
void |
setEraseSubtitleConfig(SmartEraseSubtitleConfig EraseSubtitleConfig)
Set Subtitle erasing configuration.
|
void |
setEraseType(String EraseType)
Set Erasing type.
|
void |
setEraseWatermarkConfig(SmartEraseWatermarkConfig EraseWatermarkConfig)
Set Watermark erasing configuration.
|
void |
setName(String Name)
Set Length limit for the smart erasing template name: 64 characters.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifySmartEraseTemplateRequest()
public ModifySmartEraseTemplateRequest(ModifySmartEraseTemplateRequest source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Unique identifier of the smart erasing template.public String getName()
public void setName(String Name)
Name
- Length limit for the smart erasing template name: 64 characters.public String getComment()
public void setComment(String Comment)
Comment
- Length limit for the description information of the smart erasing template: 256 characters.public String getEraseType()
public void setEraseType(String EraseType)
EraseType
- Erasing type.
-subtitle: subtitle removal.
-watermark: watermark removal.
-privacy: privacy protection.public SmartEraseSubtitleConfig getEraseSubtitleConfig()
public void setEraseSubtitleConfig(SmartEraseSubtitleConfig EraseSubtitleConfig)
EraseSubtitleConfig
- Subtitle erasing configuration. It takes effect when the value of EraseType is set to subtitle, or when the value of EraseType is left unspecified but the original EraseType value of the modified template is subtitle.public SmartEraseWatermarkConfig getEraseWatermarkConfig()
public void setEraseWatermarkConfig(SmartEraseWatermarkConfig EraseWatermarkConfig)
EraseWatermarkConfig
- Watermark erasing configuration. The value of EraseType can be set to watermark or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to watermark.public SmartErasePrivacyConfig getErasePrivacyConfig()
public void setErasePrivacyConfig(SmartErasePrivacyConfig ErasePrivacyConfig)
ErasePrivacyConfig
- Privacy protection configuration. The value of EraseType can be set to privacy or left unspecified. This parameter is valid only when the value of EraseType of the corresponding template is set to privacy.Copyright © 2025. All rights reserved.