AdminCustomerSuccessAttachment

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

Bases: AdminListingRevisionAttachment

Customer success attachment for the listing revision.

Methods:

__init__(**kwargs)

Initializes a new AdminCustomerSuccessAttachment 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 AdminListingRevisionAttachment.

compartment_id

[Required] Gets the compartment_id of this AdminListingRevisionAttachment.

content_url

Gets the content_url of this AdminCustomerSuccessAttachment.

customer_name

[Required] Gets the customer_name of this AdminCustomerSuccessAttachment.

defined_tags

Gets the defined_tags of this AdminListingRevisionAttachment.

description

Gets the description of this AdminListingRevisionAttachment.

display_name

[Required] Gets the display_name of this AdminListingRevisionAttachment.

freeform_tags

Gets the freeform_tags of this AdminListingRevisionAttachment.

id

[Required] Gets the id of this AdminListingRevisionAttachment.

is_oracle_users_only

Gets the is_oracle_users_only of this AdminCustomerSuccessAttachment.

lifecycle_state

[Required] Gets the lifecycle_state of this AdminListingRevisionAttachment.

listing_revision_id

[Required] Gets the listing_revision_id of this AdminListingRevisionAttachment.

mime_type

Gets the mime_type of this AdminCustomerSuccessAttachment.

product_codes

Gets the product_codes of this AdminCustomerSuccessAttachment.

source_type

Gets the source_type of this AdminListingRevisionAttachment.

system_tags

Gets the system_tags of this AdminListingRevisionAttachment.

time_created

[Required] Gets the time_created of this AdminListingRevisionAttachment.

time_updated

[Required] Gets the time_updated of this AdminListingRevisionAttachment.

url

Gets the url of this AdminCustomerSuccessAttachment.

__init__(**kwargs)

Initializes a new AdminCustomerSuccessAttachment object with values from keyword arguments. The default value of the attachment_type attribute of this class is CUSTOMER_SUCCESS and it should not be changed. 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 AdminCustomerSuccessAttachment.

  • compartment_id (str) – The value to assign to the compartment_id property of this AdminCustomerSuccessAttachment.

  • listing_revision_id (str) – The value to assign to the listing_revision_id property of this AdminCustomerSuccessAttachment.

  • display_name (str) – The value to assign to the display_name property of this AdminCustomerSuccessAttachment.

  • description (str) – The value to assign to the description property of this AdminCustomerSuccessAttachment.

  • attachment_type (str) – The value to assign to the attachment_type property of this AdminCustomerSuccessAttachment.

  • source_type (str) – The value to assign to the source_type property of this AdminCustomerSuccessAttachment.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AdminCustomerSuccessAttachment.

  • time_created (datetime) – The value to assign to the time_created property of this AdminCustomerSuccessAttachment.

  • time_updated (datetime) – The value to assign to the time_updated property of this AdminCustomerSuccessAttachment.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AdminCustomerSuccessAttachment.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AdminCustomerSuccessAttachment.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AdminCustomerSuccessAttachment.

  • is_oracle_users_only (bool) – The value to assign to the is_oracle_users_only property of this AdminCustomerSuccessAttachment.

  • customer_name (str) – The value to assign to the customer_name property of this AdminCustomerSuccessAttachment.

  • url (str) – The value to assign to the url property of this AdminCustomerSuccessAttachment.

  • product_codes (list[str]) – The value to assign to the product_codes property of this AdminCustomerSuccessAttachment.

  • content_url (str) – The value to assign to the content_url property of this AdminCustomerSuccessAttachment.

  • mime_type (str) – The value to assign to the mime_type property of this AdminCustomerSuccessAttachment.

property attachment_type

[Required] Gets the attachment_type of this AdminListingRevisionAttachment. Possible values for the publisher listing revision attachments. The attachment type informs the type of attachment for the listing revision.

Returns

The attachment_type of this AdminListingRevisionAttachment.

Return type

str

property compartment_id

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

Returns

The compartment_id of this AdminListingRevisionAttachment.

Return type

str

property content_url

Gets the content_url of this AdminCustomerSuccessAttachment. URL of the uploaded document.

Returns

The content_url of this AdminCustomerSuccessAttachment.

Return type

str

property customer_name

[Required] Gets the customer_name of this AdminCustomerSuccessAttachment. Name of the customer

Returns

The customer_name of this AdminCustomerSuccessAttachment.

Return type

str

property defined_tags

Gets the defined_tags of this AdminListingRevisionAttachment. 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 AdminListingRevisionAttachment.

Return type

dict(str, dict(str, object))

property description

Gets the description of this AdminListingRevisionAttachment. Description of the listing revision attachment.

Returns

The description of this AdminListingRevisionAttachment.

Return type

str

property display_name

[Required] Gets the display_name of this AdminListingRevisionAttachment. Name of the listing revision attachment.

Returns

The display_name of this AdminListingRevisionAttachment.

Return type

str

property freeform_tags

Gets the freeform_tags of this AdminListingRevisionAttachment. 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 AdminListingRevisionAttachment.

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.

property id

[Required] Gets the id of this AdminListingRevisionAttachment. Unique OCID identifier for the listing revision attachment.

Returns

The id of this AdminListingRevisionAttachment.

Return type

str

property is_oracle_users_only

Gets the is_oracle_users_only of this AdminCustomerSuccessAttachment. Identifies whether the attachment is for Internal Oracle Users or external users as well.

Returns

The is_oracle_users_only of this AdminCustomerSuccessAttachment.

Return type

bool

property lifecycle_state

[Required] Gets the lifecycle_state of this AdminListingRevisionAttachment. The current state of the attachment.

Returns

The lifecycle_state of this AdminListingRevisionAttachment.

Return type

str

property listing_revision_id

[Required] Gets the listing_revision_id of this AdminListingRevisionAttachment. The unique identifier of the listing revision that the specified attachment belongs to.

Returns

The listing_revision_id of this AdminListingRevisionAttachment.

Return type

str

property mime_type

Gets the mime_type of this AdminCustomerSuccessAttachment. The MIME type of the uploaded data.

Returns

The mime_type of this AdminCustomerSuccessAttachment.

Return type

str

property product_codes

Gets the product_codes of this AdminCustomerSuccessAttachment. List of product codes this success

Returns

The product_codes of this AdminCustomerSuccessAttachment.

Return type

list[str]

property source_type

Gets the source_type of this AdminListingRevisionAttachment. Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.

Returns

The source_type of this AdminListingRevisionAttachment.

Return type

str

property system_tags

Gets the system_tags of this AdminListingRevisionAttachment. 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 AdminListingRevisionAttachment.

Return type

dict(str, dict(str, object))

property time_created

[Required] Gets the time_created of this AdminListingRevisionAttachment. The time the attachment was created. An RFC3339 formatted datetime string.

Returns

The time_created of this AdminListingRevisionAttachment.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this AdminListingRevisionAttachment. The time the attachment was updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this AdminListingRevisionAttachment.

Return type

datetime

property url

Gets the url of this AdminCustomerSuccessAttachment. Optional url to success story

Returns

The url of this AdminCustomerSuccessAttachment.

Return type

str