Package com.azure.ai.openai.models
Class ImageOperationResponse
java.lang.Object
com.azure.ai.openai.models.ImageOperationResponse
A polling status update or final response payload for an image operation.
-
Method Summary
Modifier and TypeMethodDescriptionlongGet the created property: A timestamp when this job or item was created (in unix epochs).com.azure.core.models.ResponseErrorgetError()Get the error property: The error if the operation failed.Get the expires property: A timestamp when this operation and its associated images expire and will be deleted (in unix epochs).getId()Get the id property: The ID of the operation.Get the result property: The result of the operation if the operation succeeded.Get the status property: The status of the operation.
-
Method Details
-
getId
Get the id property: The ID of the operation.- Returns:
- the id value.
-
getCreated
public long getCreated()Get the created property: A timestamp when this job or item was created (in unix epochs).- Returns:
- the created value.
-
getExpires
Get the expires property: A timestamp when this operation and its associated images expire and will be deleted (in unix epochs).- Returns:
- the expires value.
-
getResult
Get the result property: The result of the operation if the operation succeeded.- Returns:
- the result value.
-
getStatus
Get the status property: The status of the operation.- Returns:
- the status value.
-
getError
public com.azure.core.models.ResponseError getError()Get the error property: The error if the operation failed.- Returns:
- the error value.
-