public class ContentReviewResult extends AbstractModel
header, skipSign
Constructor and Description |
---|
ContentReviewResult() |
ContentReviewResult(ContentReviewResult 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 |
---|---|
PoliticalImageResult |
getPoliticalImageResult()
Get The politically sensitive content detected in the image.
|
ContentReviewOcrResult |
getPoliticalOcrResult()
Get The politically sensitive content detected in the image based on OCR.
|
PornImageResult |
getPornImageResult()
Get The pornographic content detected in the image.
|
ContentReviewOcrResult |
getPornOcrResult()
Get The pornographic content detected in the image based on OCR.
|
TerrorismImageResult |
getTerrorismImageResult()
Get The terrorist content detected in the image.
|
ContentReviewOcrResult |
getTerrorismOcrResult()
Get The terrorist content detected in the image based on OCR.
|
String |
getType()
Get The result type.
|
void |
setPoliticalImageResult(PoliticalImageResult PoliticalImageResult)
Set The politically sensitive content detected in the image.
|
void |
setPoliticalOcrResult(ContentReviewOcrResult PoliticalOcrResult)
Set The politically sensitive content detected in the image based on OCR.
|
void |
setPornImageResult(PornImageResult PornImageResult)
Set The pornographic content detected in the image.
|
void |
setPornOcrResult(ContentReviewOcrResult PornOcrResult)
Set The pornographic content detected in the image based on OCR.
|
void |
setTerrorismImageResult(TerrorismImageResult TerrorismImageResult)
Set The terrorist content detected in the image.
|
void |
setTerrorismOcrResult(ContentReviewOcrResult TerrorismOcrResult)
Set The terrorist content detected in the image based on OCR.
|
void |
setType(String Type)
Set The result type.
|
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 ContentReviewResult()
public ContentReviewResult(ContentReviewResult source)
public String getType()
public void setType(String Type)
Type
- The result type. Valid values:
public PornImageResult getPornImageResult()
public void setPornImageResult(PornImageResult PornImageResult)
PornImageResult
- The pornographic content detected in the image. This parameter is valid if `Type` is `Porn.Image`.
Note: This field may return `null`, indicating that no valid value was found.public TerrorismImageResult getTerrorismImageResult()
public void setTerrorismImageResult(TerrorismImageResult TerrorismImageResult)
TerrorismImageResult
- The terrorist content detected in the image. This parameter is valid if `Type` is `Terrorism.Image`.
Note: This field may return `null`, indicating that no valid value was found.public PoliticalImageResult getPoliticalImageResult()
public void setPoliticalImageResult(PoliticalImageResult PoliticalImageResult)
PoliticalImageResult
- The politically sensitive content detected in the image. This parameter is valid if `Type` is `Political.Image`.
Note: This field may return `null`, indicating that no valid value was found.public ContentReviewOcrResult getPornOcrResult()
public void setPornOcrResult(ContentReviewOcrResult PornOcrResult)
PornOcrResult
- The pornographic content detected in the image based on OCR. This parameter is valid if `Type` is `Porn.Ocr`.
Note: This field may return `null`, indicating that no valid value was found.public ContentReviewOcrResult getTerrorismOcrResult()
public void setTerrorismOcrResult(ContentReviewOcrResult TerrorismOcrResult)
TerrorismOcrResult
- The terrorist content detected in the image based on OCR. This parameter is valid if `Type` is `Terrorism.Ocr`.
Note: This field may return `null`, indicating that no valid value was found.public ContentReviewOcrResult getPoliticalOcrResult()
public void setPoliticalOcrResult(ContentReviewOcrResult PoliticalOcrResult)
PoliticalOcrResult
- The politically sensitive content detected in the image based on OCR. This parameter is valid if `Type` is `Political.Ocr`.
Note: This field may return `null`, indicating that no valid value was found.Copyright © 2024. All rights reserved.