你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Evaluate Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.Evaluate

public class Evaluate

Evaluate response object.

Method Summary

Modifier and Type Method and Description
Double adultClassificationScore()

Get the adultClassificationScore value.

List<KeyValuePair> advancedInfo()

Get the advancedInfo value.

String cacheID()

Get the cacheID value.

Boolean isImageAdultClassified()

Get the isImageAdultClassified value.

Boolean isImageRacyClassified()

Get the isImageRacyClassified value.

Double racyClassificationScore()

Get the racyClassificationScore value.

Boolean result()

Get the result value.

Status status()

Get the status value.

String trackingId()

Get the trackingId value.

Evaluate withAdultClassificationScore(Double adultClassificationScore)

Set the adultClassificationScore value.

Evaluate withAdvancedInfo(List<KeyValuePair> advancedInfo)

Set the advancedInfo value.

Evaluate withCacheID(String cacheID)

Set the cacheID value.

Evaluate withIsImageAdultClassified(Boolean isImageAdultClassified)

Set the isImageAdultClassified value.

Evaluate withIsImageRacyClassified(Boolean isImageRacyClassified)

Set the isImageRacyClassified value.

Evaluate withRacyClassificationScore(Double racyClassificationScore)

Set the racyClassificationScore value.

Evaluate withResult(Boolean result)

Set the result value.

Evaluate withStatus(Status status)

Set the status value.

Evaluate withTrackingId(String trackingId)

Set the trackingId value.

Method Details

adultClassificationScore

public Double adultClassificationScore()

Get the adultClassificationScore value.

Returns:

the adultClassificationScore value

advancedInfo

public List advancedInfo()

Get the advancedInfo value.

Returns:

the advancedInfo value

cacheID

public String cacheID()

Get the cacheID value.

Returns:

the cacheID value

isImageAdultClassified

public Boolean isImageAdultClassified()

Get the isImageAdultClassified value.

Returns:

the isImageAdultClassified value

isImageRacyClassified

public Boolean isImageRacyClassified()

Get the isImageRacyClassified value.

Returns:

the isImageRacyClassified value

racyClassificationScore

public Double racyClassificationScore()

Get the racyClassificationScore value.

Returns:

the racyClassificationScore value

result

public Boolean result()

Get the result value.

Returns:

the result value

status

public Status status()

Get the status value.

Returns:

the status value

trackingId

public String trackingId()

Get the trackingId value.

Returns:

the trackingId value

withAdultClassificationScore

public Evaluate withAdultClassificationScore(Double adultClassificationScore)

Set the adultClassificationScore value.

Parameters:

adultClassificationScore - the adultClassificationScore value to set

Returns:

the Evaluate object itself.

withAdvancedInfo

public Evaluate withAdvancedInfo(List advancedInfo)

Set the advancedInfo value.

Parameters:

advancedInfo - the advancedInfo value to set

Returns:

the Evaluate object itself.

withCacheID

public Evaluate withCacheID(String cacheID)

Set the cacheID value.

Parameters:

cacheID - the cacheID value to set

Returns:

the Evaluate object itself.

withIsImageAdultClassified

public Evaluate withIsImageAdultClassified(Boolean isImageAdultClassified)

Set the isImageAdultClassified value.

Parameters:

isImageAdultClassified - the isImageAdultClassified value to set

Returns:

the Evaluate object itself.

withIsImageRacyClassified

public Evaluate withIsImageRacyClassified(Boolean isImageRacyClassified)

Set the isImageRacyClassified value.

Parameters:

isImageRacyClassified - the isImageRacyClassified value to set

Returns:

the Evaluate object itself.

withRacyClassificationScore

public Evaluate withRacyClassificationScore(Double racyClassificationScore)

Set the racyClassificationScore value.

Parameters:

racyClassificationScore - the racyClassificationScore value to set

Returns:

the Evaluate object itself.

withResult

public Evaluate withResult(Boolean result)

Set the result value.

Parameters:

result - the result value to set

Returns:

the Evaluate object itself.

withStatus

public Evaluate withStatus(Status status)

Set the status value.

Parameters:

status - the status value to set

Returns:

the Evaluate object itself.

withTrackingId

public Evaluate withTrackingId(String trackingId)

Set the trackingId value.

Parameters:

trackingId - the trackingId value to set

Returns:

the Evaluate object itself.

Applies to