public class CreateSmartEraseTemplateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateSmartEraseTemplateRequest() |
CreateSmartEraseTemplateRequest(CreateSmartEraseTemplateRequest 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.
|
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 |
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 CreateSmartEraseTemplateRequest()
public CreateSmartEraseTemplateRequest(CreateSmartEraseTemplateRequest source)
public String getName()
public void setName(String Name)
Name
- Length limit for the smart erasing template name: 64 characters.public String getEraseType()
public void setEraseType(String EraseType)
EraseType
- Erasing type.
-subtitle: subtitle removal.
-watermark: watermark removal.
-privacy: privacy protection.public String getComment()
public void setComment(String Comment)
Comment
- Length limit for the description information of the smart erasing template: 256 characters.public SmartEraseSubtitleConfig getEraseSubtitleConfig()
public void setEraseSubtitleConfig(SmartEraseSubtitleConfig EraseSubtitleConfig)
EraseSubtitleConfig
- Subtitle erasing configuration. This parameter is required and valid only when the value of EraseType is set to subtitle.public SmartEraseWatermarkConfig getEraseWatermarkConfig()
public void setEraseWatermarkConfig(SmartEraseWatermarkConfig EraseWatermarkConfig)
EraseWatermarkConfig
- Watermark erasing configuration. This parameter is required and valid only when the value of EraseType is set to watermark.public SmartErasePrivacyConfig getErasePrivacyConfig()
public void setErasePrivacyConfig(SmartErasePrivacyConfig ErasePrivacyConfig)
ErasePrivacyConfig
- Privacy protection configuration. This parameter is required and valid only when the value of EraseType is set to privacy.Copyright © 2025. All rights reserved.