ImageDetails¶
-
class
oci.ai_vision.models.
ImageDetails
(**kwargs)¶ Bases:
object
The details of an image to analyze.
Attributes
SOURCE_INLINE
A constant which can be used with the source property of a ImageDetails. SOURCE_OBJECT_STORAGE
A constant which can be used with the source property of a ImageDetails. source
[Required] Gets the source of this ImageDetails. Methods
__init__
(**kwargs)Initializes a new ImageDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
SOURCE_INLINE
= 'INLINE'¶ A constant which can be used with the source property of a ImageDetails. This constant has a value of “INLINE”
-
SOURCE_OBJECT_STORAGE
= 'OBJECT_STORAGE'¶ A constant which can be used with the source property of a ImageDetails. This constant has a value of “OBJECT_STORAGE”
-
__init__
(**kwargs)¶ Initializes a new ImageDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: source (str) – The value to assign to the source property of this ImageDetails. Allowed values for this property are: “INLINE”, “OBJECT_STORAGE”
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
source
¶ [Required] Gets the source of this ImageDetails. The location of the image data. The allowed values are: - INLINE: The data is included directly in the request payload. - OBJECT_STORAGE: The image is in OCI Object Storage.
Allowed values for this property are: “INLINE”, “OBJECT_STORAGE”
Returns: The source of this ImageDetails. Return type: str
-