UploadData

class oci.marketplace.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.
file_extension Gets the file_extension 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.
  • file_extension (str) – The value to assign to the file_extension 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
file_extension

Gets the file_extension of this UploadData. The file extension of the upload data.

Returns:The file_extension 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