Image Class

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

public class Image

Image Properties.

Method Summary

Modifier and Type Method and Description
List<ImageAdditionalInfoItem> additionalInfo()

Get the additionalInfo value.

String contentId()

Get the contentId value.

Status status()

Get the status value.

String trackingId()

Get the trackingId value.

Image withAdditionalInfo(List<ImageAdditionalInfoItem> additionalInfo)

Set the additionalInfo value.

Image withContentId(String contentId)

Set the contentId value.

Image withStatus(Status status)

Set the status value.

Image withTrackingId(String trackingId)

Set the trackingId value.

Method Details

additionalInfo

public List additionalInfo()

Get the additionalInfo value.

Returns:

the additionalInfo value

contentId

public String contentId()

Get the contentId value.

Returns:

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

withAdditionalInfo

public Image withAdditionalInfo(List additionalInfo)

Set the additionalInfo value.

Parameters:

additionalInfo - the additionalInfo value to set

Returns:

the Image object itself.

withContentId

public Image withContentId(String contentId)

Set the contentId value.

Parameters:

contentId - the contentId value to set

Returns:

the Image object itself.

withStatus

public Image withStatus(Status status)

Set the status value.

Parameters:

status - the status value to set

Returns:

the Image object itself.

withTrackingId

public Image withTrackingId(String trackingId)

Set the trackingId value.

Parameters:

trackingId - the trackingId value to set

Returns:

the Image object itself.

Applies to