ImageUrl¶
-
class
oci.generative_ai_inference.models.
ImageUrl
(**kwargs)¶ Bases:
object
Represents a single instance of chat image url.
Attributes
DETAIL_AUTO
A constant which can be used with the detail property of a ImageUrl. DETAIL_HIGH
A constant which can be used with the detail property of a ImageUrl. DETAIL_LOW
A constant which can be used with the detail property of a ImageUrl. detail
Gets the detail of this ImageUrl. url
[Required] Gets the url of this ImageUrl. Methods
__init__
(**kwargs)Initializes a new ImageUrl object with values from keyword arguments. -
DETAIL_AUTO
= 'AUTO'¶ A constant which can be used with the detail property of a ImageUrl. This constant has a value of “AUTO”
-
DETAIL_HIGH
= 'HIGH'¶ A constant which can be used with the detail property of a ImageUrl. This constant has a value of “HIGH”
-
DETAIL_LOW
= 'LOW'¶ A constant which can be used with the detail property of a ImageUrl. This constant has a value of “LOW”
-
__init__
(**kwargs)¶ Initializes a new ImageUrl object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - url (str) – The value to assign to the url property of this ImageUrl.
- detail (str) – The value to assign to the detail property of this ImageUrl. Allowed values for this property are: “AUTO”, “HIGH”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
detail
¶ Gets the detail of this ImageUrl. The level of the detail.
Allowed values for this property are: “AUTO”, “HIGH”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The detail of this ImageUrl. Return type: str
-
url
¶ [Required] Gets the url of this ImageUrl. The URL of the image.
Returns: The url of this ImageUrl. Return type: str
-