UpdateCustomerSuccessAttachment¶
-
class
oci.marketplace_publisher.models.UpdateCustomerSuccessAttachment(**kwargs)¶ Bases:
oci.marketplace_publisher.models.update_listing_revision_attachment_details.UpdateListingRevisionAttachmentDetailscustomer success story attachment for the listing revision.
Methods
__init__(**kwargs)Initializes a new UpdateCustomerSuccessAttachment 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_typeGets the attachment_type of this UpdateListingRevisionAttachmentDetails. customer_name[Required] Gets the customer_name of this UpdateCustomerSuccessAttachment. defined_tagsGets the defined_tags of this UpdateListingRevisionAttachmentDetails. descriptionGets the description of this UpdateListingRevisionAttachmentDetails. display_nameGets the display_name of this UpdateListingRevisionAttachmentDetails. freeform_tagsGets the freeform_tags of this UpdateListingRevisionAttachmentDetails. product_codesGets the product_codes of this UpdateCustomerSuccessAttachment. urlGets the url of this UpdateCustomerSuccessAttachment. -
__init__(**kwargs)¶ Initializes a new UpdateCustomerSuccessAttachment object with values from keyword arguments. The default value of the
attachment_typeattribute of this class isCUSTOMER_SUCCESSand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - display_name (str) – The value to assign to the display_name property of this UpdateCustomerSuccessAttachment.
- description (str) – The value to assign to the description property of this UpdateCustomerSuccessAttachment.
- attachment_type (str) – The value to assign to the attachment_type property of this UpdateCustomerSuccessAttachment.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateCustomerSuccessAttachment.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateCustomerSuccessAttachment.
- customer_name (str) – The value to assign to the customer_name property of this UpdateCustomerSuccessAttachment.
- url (str) – The value to assign to the url property of this UpdateCustomerSuccessAttachment.
- product_codes (list[str]) – The value to assign to the product_codes property of this UpdateCustomerSuccessAttachment.
-
attachment_type¶ Gets the attachment_type of this UpdateListingRevisionAttachmentDetails. The specified attachment type for the listing revision attachment.
Returns: The attachment_type of this UpdateListingRevisionAttachmentDetails. Return type: str
-
customer_name¶ [Required] Gets the customer_name of this UpdateCustomerSuccessAttachment. Name of the customer
Returns: The customer_name of this UpdateCustomerSuccessAttachment. Return type: str
Gets the defined_tags of this UpdateListingRevisionAttachmentDetails. 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 UpdateListingRevisionAttachmentDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this UpdateListingRevisionAttachmentDetails. The description for the listing revision attachment.
Returns: The description of this UpdateListingRevisionAttachmentDetails. Return type: str
-
display_name¶ Gets the display_name of this UpdateListingRevisionAttachmentDetails. The name for the listing revision attachment.
Returns: The display_name of this UpdateListingRevisionAttachmentDetails. Return type: str
Gets the freeform_tags of this UpdateListingRevisionAttachmentDetails. 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 UpdateListingRevisionAttachmentDetails. 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.
-
product_codes¶ Gets the product_codes of this UpdateCustomerSuccessAttachment. List of product codes for success story
Returns: The product_codes of this UpdateCustomerSuccessAttachment. Return type: list[str]
-
url¶ Gets the url of this UpdateCustomerSuccessAttachment. Optional url to success story
Returns: The url of this UpdateCustomerSuccessAttachment. Return type: str
-