共用方式為


CreateReviewBodyItem Class

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

public class CreateReviewBodyItem

Schema items of the body.

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.

List<CreateReviewBodyItemMetadataItem> metadata()

Get the metadata value.

String type()

Get the type value.

CreateReviewBodyItem withCallbackEndpoint(String callbackEndpoint)

Set the callbackEndpoint value.

CreateReviewBodyItem withContent(String content)

Set the content value.

CreateReviewBodyItem withContentId(String contentId)

Set the contentId value.

CreateReviewBodyItem withMetadata(List<CreateReviewBodyItemMetadataItem> metadata)

Set the metadata value.

CreateReviewBodyItem 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

metadata

public List metadata()

Get the metadata value.

Returns:

the metadata value

type

public String type()

Get the type value.

Returns:

the type value

withCallbackEndpoint

public CreateReviewBodyItem withCallbackEndpoint(String callbackEndpoint)

Set the callbackEndpoint value.

Parameters:

callbackEndpoint - the callbackEndpoint value to set

Returns:

the CreateReviewBodyItem object itself.

withContent

public CreateReviewBodyItem withContent(String content)

Set the content value.

Parameters:

content - the content value to set

Returns:

the CreateReviewBodyItem object itself.

withContentId

public CreateReviewBodyItem withContentId(String contentId)

Set the contentId value.

Parameters:

contentId - the contentId value to set

Returns:

the CreateReviewBodyItem object itself.

withMetadata

public CreateReviewBodyItem withMetadata(List metadata)

Set the metadata value.

Parameters:

metadata - the metadata value to set

Returns:

the CreateReviewBodyItem object itself.

withType

public CreateReviewBodyItem withType(String type)

Set the type value.

Parameters:

type - the type value to set

Returns:

the CreateReviewBodyItem object itself.

Applies to