public class ReviewImageResult extends AbstractModel
skipSign
Constructor and Description |
---|
ReviewImageResult() |
ReviewImageResult(ReviewImageResult 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 |
getForm()
Get The most likely type of the suspicious content.
|
String |
getLabel()
Get The most likely label for the suspicious content.
|
ReviewImageSegmentItem[] |
getSegmentSet()
Get A list of the suspicious segments detected.
|
String |
getSegmentSetFileUrl()
Get The URL of the file that contains suspicious segments.
|
String |
getSegmentSetFileUrlExpireTime()
Get The expiration time of the file that contains suspicious segments, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format).
|
String |
getSuggestion()
Get The suggestion.
|
void |
setForm(String Form)
Set The most likely type of the suspicious content.
|
void |
setLabel(String Label)
Set The most likely label for the suspicious content.
|
void |
setSegmentSet(ReviewImageSegmentItem[] SegmentSet)
Set A list of the suspicious segments detected.
|
void |
setSegmentSetFileUrl(String SegmentSetFileUrl)
Set The URL of the file that contains suspicious segments.
|
void |
setSegmentSetFileUrlExpireTime(String SegmentSetFileUrlExpireTime)
Set The expiration time of the file that contains suspicious segments, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format).
|
void |
setSuggestion(String Suggestion)
Set The suggestion.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ReviewImageResult()
public ReviewImageResult(ReviewImageResult source)
public String getSuggestion()
public void setSuggestion(String Suggestion)
Suggestion
- The suggestion. Valid values:
public String getLabel()
public void setLabel(String Label)
Label
- The most likely label for the suspicious content. This parameter is valid if `Suggestion` is `review` or `block`. Valid values: public String getForm()
public void setForm(String Form)
Form
- The most likely type of the suspicious content. This parameter is valid only if `Suggestion` is `review` or `block`.
public ReviewImageSegmentItem[] getSegmentSet()
public void setSegmentSet(ReviewImageSegmentItem[] SegmentSet)
SegmentSet
- A list of the suspicious segments detected.
Note: Only the first 10 results will be returned at most. You can get all the results from the file specified by `SegmentSetFileUrl`.public String getSegmentSetFileUrl()
public void setSegmentSetFileUrl(String SegmentSetFileUrl)
SegmentSetFileUrl
- The URL of the file that contains suspicious segments. The file is in JSON format and has the same data structure as `SegmentSet`. Instead of being saved permanently, the file is deleted upon the expiration time (`SegmentSetFileUrlExpireTime`).public String getSegmentSetFileUrlExpireTime()
public void setSegmentSetFileUrlExpireTime(String SegmentSetFileUrlExpireTime)
SegmentSetFileUrlExpireTime
- The expiration time of the file that contains suspicious segments, in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732#iso-date-format).Copyright © 2023. All rights reserved.