SupportedServiceAttachment

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

Bases: oci.marketplace_publisher.models.listing_revision_attachment.ListingRevisionAttachment

Supported services attachment for the service listing revision.

Attributes

ATTACHMENT_TYPE_CUSTOMER_SUCCESS str(object=’’) -> str
ATTACHMENT_TYPE_RELATED_DOCUMENT str(object=’’) -> str
ATTACHMENT_TYPE_REVIEW_SUPPORT_DOCUMENT str(object=’’) -> str
ATTACHMENT_TYPE_SCREENSHOT str(object=’’) -> str
ATTACHMENT_TYPE_SUPPORTED_SERVICES str(object=’’) -> str
ATTACHMENT_TYPE_VIDEO str(object=’’) -> str
LIFECYCLE_STATE_ACTIVE str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
LIFECYCLE_STATE_INACTIVE str(object=’’) -> str
SOURCE_TYPE_EXTERNAL str(object=’’) -> str
SOURCE_TYPE_INTERNAL str(object=’’) -> str
TYPE_APP_DEVELOPMENT_SERVICE A constant which can be used with the type property of a SupportedServiceAttachment.
TYPE_CONSULTING_SERVICE A constant which can be used with the type property of a SupportedServiceAttachment.
TYPE_IMPLEMENTATION_SERVICE A constant which can be used with the type property of a SupportedServiceAttachment.
TYPE_MANAGED_SERVICE A constant which can be used with the type property of a SupportedServiceAttachment.
TYPE_OTHER A constant which can be used with the type property of a SupportedServiceAttachment.
attachment_type [Required] Gets the attachment_type of this ListingRevisionAttachment.
compartment_id [Required] Gets the compartment_id of this ListingRevisionAttachment.
content_url Gets the content_url of this SupportedServiceAttachment.
defined_tags Gets the defined_tags of this ListingRevisionAttachment.
description Gets the description of this ListingRevisionAttachment.
display_name [Required] Gets the display_name of this ListingRevisionAttachment.
freeform_tags Gets the freeform_tags of this ListingRevisionAttachment.
id [Required] Gets the id of this ListingRevisionAttachment.
lifecycle_state [Required] Gets the lifecycle_state of this ListingRevisionAttachment.
listing_revision_id [Required] Gets the listing_revision_id of this ListingRevisionAttachment.
mime_type Gets the mime_type of this SupportedServiceAttachment.
service_name [Required] Gets the service_name of this SupportedServiceAttachment.
source_type Gets the source_type of this ListingRevisionAttachment.
system_tags Gets the system_tags of this ListingRevisionAttachment.
time_created [Required] Gets the time_created of this ListingRevisionAttachment.
time_updated [Required] Gets the time_updated of this ListingRevisionAttachment.
type [Required] Gets the type of this SupportedServiceAttachment.
url Gets the url of this SupportedServiceAttachment.

Methods

__init__(**kwargs) Initializes a new SupportedServiceAttachment 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.
ATTACHMENT_TYPE_CUSTOMER_SUCCESS = 'CUSTOMER_SUCCESS'
ATTACHMENT_TYPE_REVIEW_SUPPORT_DOCUMENT = 'REVIEW_SUPPORT_DOCUMENT'
ATTACHMENT_TYPE_SCREENSHOT = 'SCREENSHOT'
ATTACHMENT_TYPE_SUPPORTED_SERVICES = 'SUPPORTED_SERVICES'
ATTACHMENT_TYPE_VIDEO = 'VIDEO'
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'
LIFECYCLE_STATE_DELETED = 'DELETED'
LIFECYCLE_STATE_INACTIVE = 'INACTIVE'
SOURCE_TYPE_EXTERNAL = 'EXTERNAL'
SOURCE_TYPE_INTERNAL = 'INTERNAL'
TYPE_APP_DEVELOPMENT_SERVICE = 'APP_DEVELOPMENT_SERVICE'

A constant which can be used with the type property of a SupportedServiceAttachment. This constant has a value of “APP_DEVELOPMENT_SERVICE”

TYPE_CONSULTING_SERVICE = 'CONSULTING_SERVICE'

A constant which can be used with the type property of a SupportedServiceAttachment. This constant has a value of “CONSULTING_SERVICE”

TYPE_IMPLEMENTATION_SERVICE = 'IMPLEMENTATION_SERVICE'

A constant which can be used with the type property of a SupportedServiceAttachment. This constant has a value of “IMPLEMENTATION_SERVICE”

TYPE_MANAGED_SERVICE = 'MANAGED_SERVICE'

A constant which can be used with the type property of a SupportedServiceAttachment. This constant has a value of “MANAGED_SERVICE”

TYPE_OTHER = 'OTHER'

A constant which can be used with the type property of a SupportedServiceAttachment. This constant has a value of “OTHER”

__init__(**kwargs)

Initializes a new SupportedServiceAttachment object with values from keyword arguments. The default value of the attachment_type attribute of this class is SUPPORTED_SERVICES 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 SupportedServiceAttachment.
  • compartment_id (str) – The value to assign to the compartment_id property of this SupportedServiceAttachment.
  • listing_revision_id (str) – The value to assign to the listing_revision_id property of this SupportedServiceAttachment.
  • display_name (str) – The value to assign to the display_name property of this SupportedServiceAttachment.
  • description (str) – The value to assign to the description property of this SupportedServiceAttachment.
  • attachment_type (str) – The value to assign to the attachment_type property of this SupportedServiceAttachment. Allowed values for this property are: “RELATED_DOCUMENT”, “SCREENSHOT”, “VIDEO”, “REVIEW_SUPPORT_DOCUMENT”, “CUSTOMER_SUCCESS”, “SUPPORTED_SERVICES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • source_type (str) – The value to assign to the source_type property of this SupportedServiceAttachment. Allowed values for this property are: “EXTERNAL”, “INTERNAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this SupportedServiceAttachment. Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this SupportedServiceAttachment.
  • time_updated (datetime) – The value to assign to the time_updated property of this SupportedServiceAttachment.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this SupportedServiceAttachment.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this SupportedServiceAttachment.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this SupportedServiceAttachment.
  • service_name (str) – The value to assign to the service_name property of this SupportedServiceAttachment.
  • url (str) – The value to assign to the url property of this SupportedServiceAttachment.
  • type (str) – The value to assign to the type property of this SupportedServiceAttachment. Allowed values for this property are: “IMPLEMENTATION_SERVICE”, “CONSULTING_SERVICE”, “APP_DEVELOPMENT_SERVICE”, “MANAGED_SERVICE”, “OTHER”, ‘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 SupportedServiceAttachment.
  • mime_type (str) – The value to assign to the mime_type property of this SupportedServiceAttachment.
attachment_type

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

Allowed values for this property are: “RELATED_DOCUMENT”, “SCREENSHOT”, “VIDEO”, “REVIEW_SUPPORT_DOCUMENT”, “CUSTOMER_SUCCESS”, “SUPPORTED_SERVICES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

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

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

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

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

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

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

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

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

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

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

id

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

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

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

Allowed values for this property are: “ACTIVE”, “INACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

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

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

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

Returns:The mime_type of this SupportedServiceAttachment.
Return type:str
service_name

[Required] Gets the service_name of this SupportedServiceAttachment. Name of the service

Returns:The service_name of this SupportedServiceAttachment.
Return type:str
source_type

Gets the source_type of this ListingRevisionAttachment. 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.

Allowed values for this property are: “EXTERNAL”, “INTERNAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The source_type of this ListingRevisionAttachment.
Return type:str
system_tags

Gets the system_tags of this ListingRevisionAttachment. 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 ListingRevisionAttachment.
Return type:dict(str, dict(str, object))
time_created

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

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

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

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

[Required] Gets the type of this SupportedServiceAttachment. Type of service

Allowed values for this property are: “IMPLEMENTATION_SERVICE”, “CONSULTING_SERVICE”, “APP_DEVELOPMENT_SERVICE”, “MANAGED_SERVICE”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this SupportedServiceAttachment.
Return type:str
url

Gets the url of this SupportedServiceAttachment. Optional url to service

Returns:The url of this SupportedServiceAttachment.
Return type:str