public class DetectDisgustResponse extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DetectDisgustResponse() | 
| DetectDisgustResponse(DetectDisgustResponse 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 对于图片中包含恶心内容的置信度,取值[0,1],一般超过0.5则表明可能是恶心图片。 | 
| String | getRequestId()Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| String | getType()Get 与图像内容最相似的恶心内容的类别,包含腐烂、密集、畸形、血腥、蛇、虫子、牙齿等。 | 
| void | setConfidence(Float Confidence)Set 对于图片中包含恶心内容的置信度,取值[0,1],一般超过0.5则表明可能是恶心图片。 | 
| void | setRequestId(String RequestId)Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| void | setType(String Type)Set 与图像内容最相似的恶心内容的类别,包含腐烂、密集、畸形、血腥、蛇、虫子、牙齿等。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DetectDisgustResponse()
public DetectDisgustResponse(DetectDisgustResponse source)
public Float getConfidence()
public void setConfidence(Float Confidence)
Confidence - 对于图片中包含恶心内容的置信度,取值[0,1],一般超过0.5则表明可能是恶心图片。public String getType()
public void setType(String Type)
Type - 与图像内容最相似的恶心内容的类别,包含腐烂、密集、畸形、血腥、蛇、虫子、牙齿等。public String getRequestId()
public void setRequestId(String RequestId)
RequestId - 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2025. All rights reserved.