UpdateListingRevisionDetails

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

Bases: object

The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.

Attributes

LISTING_TYPE_LEAD_GENERATION A constant which can be used with the listing_type property of a UpdateListingRevisionDetails.
LISTING_TYPE_OCI_APPLICATION A constant which can be used with the listing_type property of a UpdateListingRevisionDetails.
LISTING_TYPE_SERVICE A constant which can be used with the listing_type property of a UpdateListingRevisionDetails.
content_language Gets the content_language of this UpdateListingRevisionDetails.
defined_tags Gets the defined_tags of this UpdateListingRevisionDetails.
display_name Gets the display_name of this UpdateListingRevisionDetails.
freeform_tags Gets the freeform_tags of this UpdateListingRevisionDetails.
headline Gets the headline of this UpdateListingRevisionDetails.
keywords Gets the keywords of this UpdateListingRevisionDetails.
listing_type [Required] Gets the listing_type of this UpdateListingRevisionDetails.
long_description Gets the long_description of this UpdateListingRevisionDetails.
short_description Gets the short_description of this UpdateListingRevisionDetails.
support_contacts Gets the support_contacts of this UpdateListingRevisionDetails.
support_links Gets the support_links of this UpdateListingRevisionDetails.
supportedlanguages Gets the supportedlanguages of this UpdateListingRevisionDetails.
tagline Gets the tagline of this UpdateListingRevisionDetails.
usage_information Gets the usage_information of this UpdateListingRevisionDetails.

Methods

__init__(**kwargs) Initializes a new UpdateListingRevisionDetails 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 UpdateListingRevisionDetails. 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 UpdateListingRevisionDetails. 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 UpdateListingRevisionDetails. This constant has a value of “SERVICE”

__init__(**kwargs)

Initializes a new UpdateListingRevisionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 UpdateListingRevisionDetails.
  • headline (str) – The value to assign to the headline property of this UpdateListingRevisionDetails.
  • listing_type (str) – The value to assign to the listing_type property of this UpdateListingRevisionDetails. Allowed values for this property are: “OCI_APPLICATION”, “LEAD_GENERATION”, “SERVICE”
  • tagline (str) – The value to assign to the tagline property of this UpdateListingRevisionDetails.
  • keywords (str) – The value to assign to the keywords property of this UpdateListingRevisionDetails.
  • short_description (str) – The value to assign to the short_description property of this UpdateListingRevisionDetails.
  • usage_information (str) – The value to assign to the usage_information property of this UpdateListingRevisionDetails.
  • long_description (str) – The value to assign to the long_description property of this UpdateListingRevisionDetails.
  • content_language (oci.marketplace_publisher.models.LanguageItem) – The value to assign to the content_language property of this UpdateListingRevisionDetails.
  • supportedlanguages (list[oci.marketplace_publisher.models.LanguageItem]) – The value to assign to the supportedlanguages property of this UpdateListingRevisionDetails.
  • support_contacts (list[oci.marketplace_publisher.models.SupportContact]) – The value to assign to the support_contacts property of this UpdateListingRevisionDetails.
  • support_links (list[oci.marketplace_publisher.models.NamedLink]) – The value to assign to the support_links property of this UpdateListingRevisionDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateListingRevisionDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateListingRevisionDetails.
content_language

Gets the content_language of this UpdateListingRevisionDetails.

Returns:The content_language of this UpdateListingRevisionDetails.
Return type:oci.marketplace_publisher.models.LanguageItem
defined_tags

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

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

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

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

headline

Gets the headline of this UpdateListingRevisionDetails. Single line introduction for the listing revision.

Returns:The headline of this UpdateListingRevisionDetails.
Return type:str
keywords

Gets the keywords of this UpdateListingRevisionDetails. Keywords associated for the listing revision.

Returns:The keywords of this UpdateListingRevisionDetails.
Return type:str
listing_type

[Required] Gets the listing_type of this UpdateListingRevisionDetails. 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 UpdateListingRevisionDetails.
Return type:str
long_description

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

Returns:The long_description of this UpdateListingRevisionDetails.
Return type:str
short_description

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

Returns:The short_description of this UpdateListingRevisionDetails.
Return type:str
support_contacts

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

Returns:The support_contacts of this UpdateListingRevisionDetails.
Return type:list[oci.marketplace_publisher.models.SupportContact]

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

Returns:The support_links of this UpdateListingRevisionDetails.
Return type:list[oci.marketplace_publisher.models.NamedLink]
supportedlanguages

Gets the supportedlanguages of this UpdateListingRevisionDetails. Languages supported by the listing revision.

Returns:The supportedlanguages of this UpdateListingRevisionDetails.
Return type:list[oci.marketplace_publisher.models.LanguageItem]
tagline

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

Returns:The tagline of this UpdateListingRevisionDetails.
Return type:str
usage_information

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

Returns:The usage_information of this UpdateListingRevisionDetails.
Return type:str