CreateAttachmentDetails

class oci.marketplace_publisher.models.CreateAttachmentDetails(**kwargs)

Bases: object

An attachment uploaded by the Publisher to be attached to an Offer.

Methods

__init__(**kwargs) Initializes a new CreateAttachmentDetails object with values from keyword arguments.

Attributes

display_name [Required] Gets the display_name of this CreateAttachmentDetails.
file_base64_encoded [Required] Gets the file_base64_encoded of this CreateAttachmentDetails.
type [Required] Gets the type of this CreateAttachmentDetails.
__init__(**kwargs)

Initializes a new CreateAttachmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • file_base64_encoded (str) – The value to assign to the file_base64_encoded property of this CreateAttachmentDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateAttachmentDetails.
  • type (str) – The value to assign to the type property of this CreateAttachmentDetails.
display_name

[Required] Gets the display_name of this CreateAttachmentDetails. The name used to refer to the uploaded data.

Returns:The display_name of this CreateAttachmentDetails.
Return type:str
file_base64_encoded

[Required] Gets the file_base64_encoded of this CreateAttachmentDetails. Base64-encoded file to attach to the Offer. File must be a PDF with maximum size of 1 MB

Returns:The file_base64_encoded of this CreateAttachmentDetails.
Return type:str
type

[Required] Gets the type of this CreateAttachmentDetails. The type of offer attachment.

Returns:The type of this CreateAttachmentDetails.
Return type:str