ListingRevisionAttachmentSummary

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

Bases: object

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

Attributes

DOCUMENT_CATEGORY_CASE_STUDIES A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary.
DOCUMENT_CATEGORY_CUSTOMIZATION_GUIDES A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary.
DOCUMENT_CATEGORY_DATA_SHEETS A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary.
DOCUMENT_CATEGORY_PRESS_RELEASE A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary.
DOCUMENT_CATEGORY_PRODUCT_DOCUMENTATION A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary.
DOCUMENT_CATEGORY_USER_GUIDES A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary.
DOCUMENT_CATEGORY_WEBINARS A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary.
DOCUMENT_CATEGORY_WHITEPAPERS A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary.
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.
document_category Gets the document_category 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.

Methods

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

A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary. This constant has a value of “CASE_STUDIES”

DOCUMENT_CATEGORY_CUSTOMIZATION_GUIDES = 'CUSTOMIZATION_GUIDES'

A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary. This constant has a value of “CUSTOMIZATION_GUIDES”

DOCUMENT_CATEGORY_DATA_SHEETS = 'DATA_SHEETS'

A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary. This constant has a value of “DATA_SHEETS”

DOCUMENT_CATEGORY_PRESS_RELEASE = 'PRESS_RELEASE'

A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary. This constant has a value of “PRESS_RELEASE”

DOCUMENT_CATEGORY_PRODUCT_DOCUMENTATION = 'PRODUCT_DOCUMENTATION'

A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary. This constant has a value of “PRODUCT_DOCUMENTATION”

DOCUMENT_CATEGORY_USER_GUIDES = 'USER_GUIDES'

A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary. This constant has a value of “USER_GUIDES”

DOCUMENT_CATEGORY_WEBINARS = 'WEBINARS'

A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary. This constant has a value of “WEBINARS”

DOCUMENT_CATEGORY_WHITEPAPERS = 'WHITEPAPERS'

A constant which can be used with the document_category property of a ListingRevisionAttachmentSummary. This constant has a value of “WHITEPAPERS”

__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.
  • document_category (str) – The value to assign to the document_category property of this ListingRevisionAttachmentSummary. Allowed values for this property are: “CASE_STUDIES”, “CUSTOMIZATION_GUIDES”, “DATA_SHEETS”, “PRESS_RELEASE”, “PRODUCT_DOCUMENTATION”, “USER_GUIDES”, “WEBINARS”, “WHITEPAPERS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • 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
document_category

Gets the document_category of this ListingRevisionAttachmentSummary. Possible lifecycle states.

Allowed values for this property are: “CASE_STUDIES”, “CUSTOMIZATION_GUIDES”, “DATA_SHEETS”, “PRESS_RELEASE”, “PRODUCT_DOCUMENTATION”, “USER_GUIDES”, “WEBINARS”, “WHITEPAPERS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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