UploadData¶
-
class
oci.marketplace_publisher.models.
UploadData
(**kwargs)¶ Bases:
object
The model for upload data for images and icons.
Methods
__init__
(**kwargs)Initializes a new UploadData object with values from keyword arguments. Attributes
content_url
Gets the content_url of this UploadData. mime_type
Gets the mime_type of this UploadData. name
Gets the name 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: - name (str) – The value to assign to the 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.
-
content_url
¶ Gets the content_url of this UploadData. The content URL of the upload data.
Returns: The content_url of this UploadData. Return type: str
-
mime_type
¶ Gets the mime_type of this UploadData. The MIME type of the upload data.
Returns: The mime_type of this UploadData. Return type: str
-
name
¶ Gets the name of this UploadData. The name used to refer to the upload data.
Returns: The name of this UploadData. Return type: str
-