public class TerrorismImageResult extends AbstractModel
header, skipSign| Constructor and Description |
|---|
TerrorismImageResult() |
TerrorismImageResult(TerrorismImageResult 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 |
|---|---|
Float |
getConfidence()
Get The confidence score for the moderation result.
|
String |
getLabel()
Get The label for the detected terrorist content.
|
String |
getSuggestion()
Get The suggestion for handling the detected terrorist content.
|
void |
setConfidence(Float Confidence)
Set The confidence score for the moderation result.
|
void |
setLabel(String Label)
Set The label for the detected terrorist content.
|
void |
setSuggestion(String Suggestion)
Set The suggestion for handling the detected terrorist 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, toJsonStringpublic TerrorismImageResult()
public TerrorismImageResult(TerrorismImageResult 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 terrorist content. Valid values:
public String getLabel()
public void setLabel(String Label)
Label - The label for the detected terrorist content. Valid values:
Copyright © 2024. All rights reserved.