CreateReviewBodyItem Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. CreateReviewBodyItem
- com.
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<Create |
metadata()
Get the metadata value. |
String |
type()
Get the type value. |
Create |
withCallbackEndpoint(String callbackEndpoint)
Set the callbackEndpoint value. |
Create |
withContent(String content)
Set the content value. |
Create |
withContentId(String contentId)
Set the contentId value. |
Create |
withMetadata(List<CreateReviewBodyItemMetadataItem> metadata)
Set the metadata value. |
Create |
withType(String type)
Set the type value. |
Method Details
callbackEndpoint
public String callbackEndpoint()
Get the callbackEndpoint value.
Returns:
content
public String content()
Get the content value.
Returns:
contentId
public String contentId()
Get the contentId value.
Returns:
metadata
public List
Get the metadata value.
Returns:
type
public String type()
Get the type value.
Returns:
withCallbackEndpoint
public CreateReviewBodyItem withCallbackEndpoint(String callbackEndpoint)
Set the callbackEndpoint value.
Parameters:
Returns:
withContent
public CreateReviewBodyItem withContent(String content)
Set the content value.
Parameters:
Returns:
withContentId
public CreateReviewBodyItem withContentId(String contentId)
Set the contentId value.
Parameters:
Returns:
withMetadata
public CreateReviewBodyItem withMetadata(List
Set the metadata value.
Parameters:
Returns:
withType
public CreateReviewBodyItem withType(String type)
Set the type value.
Parameters:
Returns:
Applies to
Azure SDK for Java