UploadData¶
- class oci.service_catalog.models.UploadData(**kwargs)¶
Bases:
objectThe model for uploaded binary data, like logos and images.
Methods:
__init__(**kwargs)Initializes a new UploadData object with values from keyword arguments.
Attributes:
Gets the content_url of this UploadData.
Gets the display_name of this UploadData.
Gets the mime_type of this UploadData.
- __init__(**kwargs)¶
Initializes a new UploadData object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
display_name (str) – The value to assign to the display_name property of this UploadData.
content_url (str) – The value to assign to the content_url property of this UploadData.
mime_type (str) – The value to assign to the mime_type property of this UploadData.
- property content_url¶
Gets the content_url of this UploadData. The content URL of the uploaded data.
- Returns
The content_url of this UploadData.
- Return type
str
- property display_name¶
Gets the display_name of this UploadData. The name used to refer to the uploaded data.
- Returns
The display_name of this UploadData.
- Return type
str
- property mime_type¶
Gets the mime_type of this UploadData. The MIME type of the uploaded data.
- Returns
The mime_type of this UploadData.
- Return type
str