Class ImageOperationResponse

java.lang.Object
com.azure.ai.openai.models.ImageOperationResponse

public final class ImageOperationResponse extends Object
A polling status update or final response payload for an image operation.
  • Method Details

    • getId

      public String 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

      public Long 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

      public ImageResponse getResult()
      Get the result property: The result of the operation if the operation succeeded.
      Returns:
      the result value.
    • getStatus

      public AzureOpenAIOperationState 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.