Package com.azure.ai.openai.models
Class ImageLocation
java.lang.Object
com.azure.ai.openai.models.ImageLocation
The image url if successful, and an error otherwise.
-
Method Summary
-
Method Details
-
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.
-