CreateListingRevisionAttachmentDetails

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

Bases: object

Attachment uploaded by the publisher for the listing revision.

Methods

__init__(**kwargs) Initializes a new CreateListingRevisionAttachmentDetails 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.

Attributes

attachment_type [Required] Gets the attachment_type of this CreateListingRevisionAttachmentDetails.
defined_tags Gets the defined_tags of this CreateListingRevisionAttachmentDetails.
description Gets the description of this CreateListingRevisionAttachmentDetails.
display_name Gets the display_name of this CreateListingRevisionAttachmentDetails.
freeform_tags Gets the freeform_tags of this CreateListingRevisionAttachmentDetails.
listing_revision_id [Required] Gets the listing_revision_id of this CreateListingRevisionAttachmentDetails.
__init__(**kwargs)

Initializes a new CreateListingRevisionAttachmentDetails 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:
  • listing_revision_id (str) – The value to assign to the listing_revision_id property of this CreateListingRevisionAttachmentDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateListingRevisionAttachmentDetails.
  • description (str) – The value to assign to the description property of this CreateListingRevisionAttachmentDetails.
  • attachment_type (str) – The value to assign to the attachment_type property of this CreateListingRevisionAttachmentDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateListingRevisionAttachmentDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateListingRevisionAttachmentDetails.
attachment_type

[Required] Gets the attachment_type of this CreateListingRevisionAttachmentDetails. The specified attachment type.

Returns:The attachment_type of this CreateListingRevisionAttachmentDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateListingRevisionAttachmentDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateListingRevisionAttachmentDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateListingRevisionAttachmentDetails. Description for this specified attachment.

Returns:The description of this CreateListingRevisionAttachmentDetails.
Return type:str
display_name

Gets the display_name of this CreateListingRevisionAttachmentDetails. The name for the listing revision attachment.

Returns:The display_name of this CreateListingRevisionAttachmentDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateListingRevisionAttachmentDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateListingRevisionAttachmentDetails.
Return type:dict(str, str)
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.

listing_revision_id

[Required] Gets the listing_revision_id of this CreateListingRevisionAttachmentDetails. The OCID for the listing revision in Marketplace Publisher.

Returns:The listing_revision_id of this CreateListingRevisionAttachmentDetails.
Return type:str