public class PoliticalImageResult extends AbstractModel
header, skipSign
Constructor and Description |
---|
PoliticalImageResult() |
PoliticalImageResult(PoliticalImageResult 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 |
---|---|
Long[] |
getAreaCoordSet()
Get The coordinates (pixel) of the top-left and bottom-right corners of the frame where the politically sensitive content or banned icon appears.
|
Float |
getConfidence()
Get The confidence score for the moderation result.
|
String |
getName()
Get The name of the politically sensitive content or banned icon detected.
|
String |
getSuggestion()
Get The suggestion for handling the detected politically sensitive content.
|
void |
setAreaCoordSet(Long[] AreaCoordSet)
Set The coordinates (pixel) of the top-left and bottom-right corners of the frame where the politically sensitive content or banned icon appears.
|
void |
setConfidence(Float Confidence)
Set The confidence score for the moderation result.
|
void |
setName(String Name)
Set The name of the politically sensitive content or banned icon detected.
|
void |
setSuggestion(String Suggestion)
Set The suggestion for handling the detected politically sensitive content.
|
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 PoliticalImageResult()
public PoliticalImageResult(PoliticalImageResult source)
public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence
- The confidence score for the moderation result. Value range: 0-100.public String getSuggestion()
public void setSuggestion(String Suggestion)
Suggestion
- The suggestion for handling the detected politically sensitive content. Valid values:
public String getName()
public void setName(String Name)
Name
- The name of the politically sensitive content or banned icon detected.public Long[] getAreaCoordSet()
public void setAreaCoordSet(Long[] AreaCoordSet)
AreaCoordSet
- The coordinates (pixel) of the top-left and bottom-right corners of the frame where the politically sensitive content or banned icon appears. Format: [x1, y1, x2, y2].Copyright © 2024. All rights reserved.