UpdateSupportedServiceAttachment

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

Bases: UpdateListingRevisionAttachmentDetails

Supported services attachment for the listing revision.

Methods:

__init__(**kwargs)

Initializes a new UpdateSupportedServiceAttachment 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

Gets the attachment_type of this UpdateListingRevisionAttachmentDetails.

defined_tags

Gets the defined_tags of this UpdateListingRevisionAttachmentDetails.

description

Gets the description of this UpdateListingRevisionAttachmentDetails.

display_name

Gets the display_name of this UpdateListingRevisionAttachmentDetails.

freeform_tags

Gets the freeform_tags of this UpdateListingRevisionAttachmentDetails.

service_name

[Required] Gets the service_name of this UpdateSupportedServiceAttachment.

source_type

Gets the source_type of this UpdateSupportedServiceAttachment.

type

[Required] Gets the type of this UpdateSupportedServiceAttachment.

url

Gets the url of this UpdateSupportedServiceAttachment.

__init__(**kwargs)

Initializes a new UpdateSupportedServiceAttachment 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
  • display_name (str) – The value to assign to the display_name property of this UpdateSupportedServiceAttachment.

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

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

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

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

  • service_name (str) – The value to assign to the service_name property of this UpdateSupportedServiceAttachment.

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

  • type (str) – The value to assign to the type property of this UpdateSupportedServiceAttachment.

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

property 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

property defined_tags

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))

property description

Gets the description of this UpdateListingRevisionAttachmentDetails. The description for the listing revision attachment.

Returns

The description of this UpdateListingRevisionAttachmentDetails.

Return type

str

property 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

property freeform_tags

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.

property service_name

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

Returns

The service_name of this UpdateSupportedServiceAttachment.

Return type

str

property source_type

Gets the source_type of this UpdateSupportedServiceAttachment. The specified attachment type is Internal or External.

Returns

The source_type of this UpdateSupportedServiceAttachment.

Return type

str

property type

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

Returns

The type of this UpdateSupportedServiceAttachment.

Return type

str

property url

Gets the url of this UpdateSupportedServiceAttachment. Optional url to service information

Returns

The url of this UpdateSupportedServiceAttachment.

Return type

str