ListingRevisionAttachmentSummary

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

Bases: object

The model for a summary of a listing revision related attachments.

Methods

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

Attributes

attachment_type [Required] Gets the attachment_type of this ListingRevisionAttachmentSummary.
compartment_id [Required] Gets the compartment_id of this ListingRevisionAttachmentSummary.
content_url [Required] Gets the content_url of this ListingRevisionAttachmentSummary.
defined_tags Gets the defined_tags of this ListingRevisionAttachmentSummary.
display_name [Required] Gets the display_name of this ListingRevisionAttachmentSummary.
freeform_tags Gets the freeform_tags of this ListingRevisionAttachmentSummary.
id [Required] Gets the id of this ListingRevisionAttachmentSummary.
lifecycle_state Gets the lifecycle_state of this ListingRevisionAttachmentSummary.
listing_revision_id [Required] Gets the listing_revision_id of this ListingRevisionAttachmentSummary.
mime_type Gets the mime_type of this ListingRevisionAttachmentSummary.
system_tags Gets the system_tags of this ListingRevisionAttachmentSummary.
time_created [Required] Gets the time_created of this ListingRevisionAttachmentSummary.
time_updated [Required] Gets the time_updated of this ListingRevisionAttachmentSummary.
__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this ListingRevisionAttachmentSummary.
  • listing_revision_id (str) – The value to assign to the listing_revision_id property of this ListingRevisionAttachmentSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ListingRevisionAttachmentSummary.
  • display_name (str) – The value to assign to the display_name property of this ListingRevisionAttachmentSummary.
  • attachment_type (str) – The value to assign to the attachment_type property of this ListingRevisionAttachmentSummary.
  • content_url (str) – The value to assign to the content_url property of this ListingRevisionAttachmentSummary.
  • mime_type (str) – The value to assign to the mime_type property of this ListingRevisionAttachmentSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ListingRevisionAttachmentSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ListingRevisionAttachmentSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this ListingRevisionAttachmentSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ListingRevisionAttachmentSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ListingRevisionAttachmentSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ListingRevisionAttachmentSummary.
attachment_type

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

Returns:The attachment_type of this ListingRevisionAttachmentSummary.
Return type:str
compartment_id

[Required] Gets the compartment_id of this ListingRevisionAttachmentSummary. The unique identifier for the compartment.

Returns:The compartment_id of this ListingRevisionAttachmentSummary.
Return type:str
content_url

[Required] Gets the content_url of this ListingRevisionAttachmentSummary. The URL of the specified attachment.

Returns:The content_url of this ListingRevisionAttachmentSummary.
Return type:str
defined_tags

Gets the defined_tags of this ListingRevisionAttachmentSummary. 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 ListingRevisionAttachmentSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this ListingRevisionAttachmentSummary. The name of the specified document.

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

Gets the freeform_tags of this ListingRevisionAttachmentSummary. 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 ListingRevisionAttachmentSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this ListingRevisionAttachmentSummary. The OCID of the listing revision attachment.

Returns:The id of this ListingRevisionAttachmentSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this ListingRevisionAttachmentSummary. The current state of the document.

Returns:The lifecycle_state of this ListingRevisionAttachmentSummary.
Return type:str
listing_revision_id

[Required] Gets the listing_revision_id of this ListingRevisionAttachmentSummary. The ID of the listing revision.

Returns:The listing_revision_id of this ListingRevisionAttachmentSummary.
Return type:str
mime_type

Gets the mime_type of this ListingRevisionAttachmentSummary. The MIME type of the screenshot.

Returns:The mime_type of this ListingRevisionAttachmentSummary.
Return type:str
system_tags

Gets the system_tags of this ListingRevisionAttachmentSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this ListingRevisionAttachmentSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this ListingRevisionAttachmentSummary. The date and time the related document was created, expressed in RFC 3339 timestamp format.

Example: 2022-09-24T21:10:29.600Z

Returns:The time_created of this ListingRevisionAttachmentSummary.
Return type:datetime
time_updated

[Required] Gets the time_updated of this ListingRevisionAttachmentSummary. The date and time the related document was updated, expressed in RFC 3339 timestamp format.

Example: 2022-09-24T21:10:29.600Z

Returns:The time_updated of this ListingRevisionAttachmentSummary.
Return type:datetime