Class ImageLocation

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

public final class ImageLocation extends Object
The image url if successful, and an error otherwise.
  • Method Details

    • getUrl

      public String getUrl()
      Get the url property: The URL that provides temporary access to download the generated image.
      Returns:
      the url value.
    • getError

      public com.azure.core.models.ResponseError getError()
      Get the error property: The error if the operation failed.
      Returns:
      the error value.