public class ReviewTemplate extends AbstractModel
header, skipSign
Constructor and Description |
---|
ReviewTemplate() |
ReviewTemplate(ReviewTemplate 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 The template description.
|
String |
getCreateTime()
Get The template creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
Long |
getDefinition()
Get The unique ID of the moderation template.
|
String[] |
getLabels()
Get The violation labels used.
|
String |
getName()
Get The template name.
|
String |
getType()
Get The template type.
|
String |
getUpdateTime()
Get The last updated time of the template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setComment(String Comment)
Set The template description.
|
void |
setCreateTime(String CreateTime)
Set The template creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
setDefinition(Long Definition)
Set The unique ID of the moderation template.
|
void |
setLabels(String[] Labels)
Set The violation labels used.
|
void |
setName(String Name)
Set The template name.
|
void |
setType(String Type)
Set The template type.
|
void |
setUpdateTime(String UpdateTime)
Set The last updated time of the template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ReviewTemplate()
public ReviewTemplate(ReviewTemplate source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- The unique ID of the moderation template.public String getName()
public void setName(String Name)
Name
- The template name.public String getComment()
public void setComment(String Comment)
Comment
- The template description.public String getType()
public void setType(String Type)
Type
- The template type. Valid values:
public String[] getLabels()
public void setLabels(String[] Labels)
Labels
- The violation labels used.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- The template creation time in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- The last updated time of the template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).Copyright © 2024. All rights reserved.