CreateServiceListingRevisionDetails

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

Bases: CreateListingRevisionDetails

Listing revision update details for listings

Attributes:

LISTING_TYPE_LEAD_GENERATION

A constant which can be used with the listing_type property of a CreateListingRevisionDetails.

LISTING_TYPE_OCI_APPLICATION

A constant which can be used with the listing_type property of a CreateListingRevisionDetails.

LISTING_TYPE_SERVICE

A constant which can be used with the listing_type property of a CreateListingRevisionDetails.

contact_us

Gets the contact_us of this CreateServiceListingRevisionDetails.

content_language

Gets the content_language of this CreateListingRevisionDetails.

defined_tags

Gets the defined_tags of this CreateListingRevisionDetails.

display_name

Gets the display_name of this CreateListingRevisionDetails.

freeform_tags

Gets the freeform_tags of this CreateListingRevisionDetails.

geo_locations

Gets the geo_locations of this CreateServiceListingRevisionDetails.

headline

[Required] Gets the headline of this CreateListingRevisionDetails.

industries

[Required] Gets the industries of this CreateServiceListingRevisionDetails.

keywords

Gets the keywords of this CreateListingRevisionDetails.

listing_id

[Required] Gets the listing_id of this CreateListingRevisionDetails.

listing_type

[Required] Gets the listing_type of this CreateListingRevisionDetails.

long_description

Gets the long_description of this CreateListingRevisionDetails.

product_codes

[Required] Gets the product_codes of this CreateServiceListingRevisionDetails.

short_description

Gets the short_description of this CreateListingRevisionDetails.

status

Gets the status of this CreateListingRevisionDetails.

support_contacts

Gets the support_contacts of this CreateListingRevisionDetails.

support_links

Gets the support_links of this CreateListingRevisionDetails.

supportedlanguages

Gets the supportedlanguages of this CreateListingRevisionDetails.

tagline

Gets the tagline of this CreateListingRevisionDetails.

trained_professionals

Gets the trained_professionals of this CreateServiceListingRevisionDetails.

usage_information

Gets the usage_information of this CreateListingRevisionDetails.

vanity_url

Gets the vanity_url of this CreateServiceListingRevisionDetails.

Methods:

__init__(**kwargs)

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

LISTING_TYPE_LEAD_GENERATION = 'LEAD_GENERATION'

A constant which can be used with the listing_type property of a CreateListingRevisionDetails. This constant has a value of “LEAD_GENERATION”

LISTING_TYPE_OCI_APPLICATION = 'OCI_APPLICATION'

A constant which can be used with the listing_type property of a CreateListingRevisionDetails. This constant has a value of “OCI_APPLICATION”

LISTING_TYPE_SERVICE = 'SERVICE'

A constant which can be used with the listing_type property of a CreateListingRevisionDetails. This constant has a value of “SERVICE”

__init__(**kwargs)

Initializes a new CreateServiceListingRevisionDetails object with values from keyword arguments. The default value of the listing_type attribute of this class is SERVICE 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 CreateServiceListingRevisionDetails.

  • listing_id (str) – The value to assign to the listing_id property of this CreateServiceListingRevisionDetails.

  • listing_type (str) – The value to assign to the listing_type property of this CreateServiceListingRevisionDetails. Allowed values for this property are: “OCI_APPLICATION”, “LEAD_GENERATION”, “SERVICE”

  • headline (str) – The value to assign to the headline property of this CreateServiceListingRevisionDetails.

  • tagline (str) – The value to assign to the tagline property of this CreateServiceListingRevisionDetails.

  • keywords (str) – The value to assign to the keywords property of this CreateServiceListingRevisionDetails.

  • short_description (str) – The value to assign to the short_description property of this CreateServiceListingRevisionDetails.

  • usage_information (str) – The value to assign to the usage_information property of this CreateServiceListingRevisionDetails.

  • long_description (str) – The value to assign to the long_description property of this CreateServiceListingRevisionDetails.

  • content_language (oci.marketplace_publisher.models.LanguageItem) – The value to assign to the content_language property of this CreateServiceListingRevisionDetails.

  • supportedlanguages (list[oci.marketplace_publisher.models.LanguageItem]) – The value to assign to the supportedlanguages property of this CreateServiceListingRevisionDetails.

  • support_contacts (list[oci.marketplace_publisher.models.SupportContact]) – The value to assign to the support_contacts property of this CreateServiceListingRevisionDetails.

  • support_links (list[oci.marketplace_publisher.models.NamedLink]) – The value to assign to the support_links property of this CreateServiceListingRevisionDetails.

  • status (str) – The value to assign to the status property of this CreateServiceListingRevisionDetails.

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

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

  • contact_us (str) – The value to assign to the contact_us property of this CreateServiceListingRevisionDetails.

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

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

  • trained_professionals (list[oci.marketplace_publisher.models.TrainedProfessionals]) – The value to assign to the trained_professionals property of this CreateServiceListingRevisionDetails.

  • vanity_url (str) – The value to assign to the vanity_url property of this CreateServiceListingRevisionDetails.

  • geo_locations (list[oci.marketplace_publisher.models.GeoLocation]) – The value to assign to the geo_locations property of this CreateServiceListingRevisionDetails.

property contact_us

Gets the contact_us of this CreateServiceListingRevisionDetails. Custom text by partner regarding contact information

Returns

The contact_us of this CreateServiceListingRevisionDetails.

Return type

str

property content_language

Gets the content_language of this CreateListingRevisionDetails.

Returns

The content_language of this CreateListingRevisionDetails.

Return type

oci.marketplace_publisher.models.LanguageItem

property defined_tags

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

Return type

dict(str, dict(str, object))

property display_name

Gets the display_name of this CreateListingRevisionDetails. The name for the listing revision.

Returns

The display_name of this CreateListingRevisionDetails.

Return type

str

property freeform_tags

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

Return type

dict(str, str)

property geo_locations

Gets the geo_locations of this CreateServiceListingRevisionDetails. Support details based on geographic location

Returns

The geo_locations of this CreateServiceListingRevisionDetails.

Return type

list[oci.marketplace_publisher.models.GeoLocation]

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 headline

[Required] Gets the headline of this CreateListingRevisionDetails. Single line introduction for the listing revision.

Returns

The headline of this CreateListingRevisionDetails.

Return type

str

property industries

[Required] Gets the industries of this CreateServiceListingRevisionDetails. List of industries subscribed by listing.

Returns

The industries of this CreateServiceListingRevisionDetails.

Return type

list[str]

property keywords

Gets the keywords of this CreateListingRevisionDetails. Keywords associated with the listing revision.

Returns

The keywords of this CreateListingRevisionDetails.

Return type

str

property listing_id

[Required] Gets the listing_id of this CreateListingRevisionDetails. The unique identifier for the listing this revision belongs to.

Returns

The listing_id of this CreateListingRevisionDetails.

Return type

str

property listing_type

[Required] Gets the listing_type of this CreateListingRevisionDetails. The listing’s type. Populated from the listing.

Allowed values for this property are: “OCI_APPLICATION”, “LEAD_GENERATION”, “SERVICE”

Returns

The listing_type of this CreateListingRevisionDetails.

Return type

str

property long_description

Gets the long_description of this CreateListingRevisionDetails. A long description for the listing revision.

Returns

The long_description of this CreateListingRevisionDetails.

Return type

str

property product_codes

[Required] Gets the product_codes of this CreateServiceListingRevisionDetails. List of product codes subscribed by listing.

Returns

The product_codes of this CreateServiceListingRevisionDetails.

Return type

list[str]

property short_description

Gets the short_description of this CreateListingRevisionDetails. A short description for the listing revision.

Returns

The short_description of this CreateListingRevisionDetails.

Return type

str

property status

Gets the status of this CreateListingRevisionDetails. The current status of the Listing revision.

Returns

The status of this CreateListingRevisionDetails.

Return type

str

property support_contacts

Gets the support_contacts of this CreateListingRevisionDetails. Contact information to use to get support from the publisher for the listing revision.

Returns

The support_contacts of this CreateListingRevisionDetails.

Return type

list[oci.marketplace_publisher.models.SupportContact]

Gets the support_links of this CreateListingRevisionDetails. Links to support resources for the listing revision.

Returns

The support_links of this CreateListingRevisionDetails.

Return type

list[oci.marketplace_publisher.models.NamedLink]

property supportedlanguages

Gets the supportedlanguages of this CreateListingRevisionDetails. Languages supported by the publisher for the listing revision.

Returns

The supportedlanguages of this CreateListingRevisionDetails.

Return type

list[oci.marketplace_publisher.models.LanguageItem]

property tagline

Gets the tagline of this CreateListingRevisionDetails. The tagline for the listing revision.

Returns

The tagline of this CreateListingRevisionDetails.

Return type

str

property trained_professionals

Gets the trained_professionals of this CreateServiceListingRevisionDetails. Number of trained professional per product

Returns

The trained_professionals of this CreateServiceListingRevisionDetails.

Return type

list[oci.marketplace_publisher.models.TrainedProfessionals]

property usage_information

Gets the usage_information of this CreateListingRevisionDetails. Usage information for the listing revision.

Returns

The usage_information of this CreateListingRevisionDetails.

Return type

str

property vanity_url

Gets the vanity_url of this CreateServiceListingRevisionDetails. Custom link to the listing

Returns

The vanity_url of this CreateServiceListingRevisionDetails.

Return type

str