Compartir a través de


MatchResponse Class

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

public class MatchResponse

The response for a Match request.

Method Summary

Modifier and Type Method and Description
String cacheID()

Get the cacheID value.

Boolean isMatch()

Get the isMatch value.

List<Match> matches()

Get the matches value.

Status status()

Get the status value.

String trackingId()

Get the trackingId value.

MatchResponse withCacheID(String cacheID)

Set the cacheID value.

MatchResponse withIsMatch(Boolean isMatch)

Set the isMatch value.

MatchResponse withMatches(List<Match> matches)

Set the matches value.

MatchResponse withStatus(Status status)

Set the status value.

MatchResponse withTrackingId(String trackingId)

Set the trackingId value.

Method Details

cacheID

public String cacheID()

Get the cacheID value.

Returns:

the cacheID value

isMatch

public Boolean isMatch()

Get the isMatch value.

Returns:

the isMatch value

matches

public List matches()

Get the matches value.

Returns:

the matches 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

withCacheID

public MatchResponse withCacheID(String cacheID)

Set the cacheID value.

Parameters:

cacheID - the cacheID value to set

Returns:

the MatchResponse object itself.

withIsMatch

public MatchResponse withIsMatch(Boolean isMatch)

Set the isMatch value.

Parameters:

isMatch - the isMatch value to set

Returns:

the MatchResponse object itself.

withMatches

public MatchResponse withMatches(List matches)

Set the matches value.

Parameters:

matches - the matches value to set

Returns:

the MatchResponse object itself.

withStatus

public MatchResponse withStatus(Status status)

Set the status value.

Parameters:

status - the status value to set

Returns:

the MatchResponse object itself.

withTrackingId

public MatchResponse withTrackingId(String trackingId)

Set the trackingId value.

Parameters:

trackingId - the trackingId value to set

Returns:

the MatchResponse object itself.

Applies to