Partager via


Review Class

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

public class Review

The Review object.

Method Summary

Modifier and Type Method and Description
String callbackEndpoint()

Get the callbackEndpoint value.

String content()

Get the content value.

String contentId()

Get the contentId value.

String createdBy()

Get the createdBy value.

List<KeyValuePair> metadata()

Get the metadata value.

List<KeyValuePair> reviewerResultTags()

Get the reviewerResultTags value.

String reviewId()

Get the reviewId value.

String status()

Get the status value.

String subTeam()

Get the subTeam value.

String type()

Get the type value.

Review withCallbackEndpoint(String callbackEndpoint)

Set the callbackEndpoint value.

Review withContent(String content)

Set the content value.

Review withContentId(String contentId)

Set the contentId value.

Review withCreatedBy(String createdBy)

Set the createdBy value.

Review withMetadata(List<KeyValuePair> metadata)

Set the metadata value.

Review withReviewerResultTags(List<KeyValuePair> reviewerResultTags)

Set the reviewerResultTags value.

Review withReviewId(String reviewId)

Set the reviewId value.

Review withStatus(String status)

Set the status value.

Review withSubTeam(String subTeam)

Set the subTeam value.

Review withType(String type)

Set the type value.

Method Details

callbackEndpoint

public String callbackEndpoint()

Get the callbackEndpoint value.

Returns:

the callbackEndpoint value

content

public String content()

Get the content value.

Returns:

the content value

contentId

public String contentId()

Get the contentId value.

Returns:

the contentId value

createdBy

public String createdBy()

Get the createdBy value.

Returns:

the createdBy value

metadata

public List metadata()

Get the metadata value.

Returns:

the metadata value

reviewerResultTags

public List reviewerResultTags()

Get the reviewerResultTags value.

Returns:

the reviewerResultTags value

reviewId

public String reviewId()

Get the reviewId value.

Returns:

the reviewId value

status

public String status()

Get the status value.

Returns:

the status value

subTeam

public String subTeam()

Get the subTeam value.

Returns:

the subTeam value

type

public String type()

Get the type value.

Returns:

the type value

withCallbackEndpoint

public Review withCallbackEndpoint(String callbackEndpoint)

Set the callbackEndpoint value.

Parameters:

callbackEndpoint - the callbackEndpoint value to set

Returns:

the Review object itself.

withContent

public Review withContent(String content)

Set the content value.

Parameters:

content - the content value to set

Returns:

the Review object itself.

withContentId

public Review withContentId(String contentId)

Set the contentId value.

Parameters:

contentId - the contentId value to set

Returns:

the Review object itself.

withCreatedBy

public Review withCreatedBy(String createdBy)

Set the createdBy value.

Parameters:

createdBy - the createdBy value to set

Returns:

the Review object itself.

withMetadata

public Review withMetadata(List metadata)

Set the metadata value.

Parameters:

metadata - the metadata value to set

Returns:

the Review object itself.

withReviewerResultTags

public Review withReviewerResultTags(List reviewerResultTags)

Set the reviewerResultTags value.

Parameters:

reviewerResultTags - the reviewerResultTags value to set

Returns:

the Review object itself.

withReviewId

public Review withReviewId(String reviewId)

Set the reviewId value.

Parameters:

reviewId - the reviewId value to set

Returns:

the Review object itself.

withStatus

public Review withStatus(String status)

Set the status value.

Parameters:

status - the status value to set

Returns:

the Review object itself.

withSubTeam

public Review withSubTeam(String subTeam)

Set the subTeam value.

Parameters:

subTeam - the subTeam value to set

Returns:

the Review object itself.

withType

public Review withType(String type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the Review object itself.

Applies to