CreateListingRevisionDetails¶
-
class
oci.marketplace_publisher.models.CreateListingRevisionDetails(**kwargs)¶ Bases:
objectThe model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
Attributes
LISTING_TYPE_LEAD_GENERATIONA constant which can be used with the listing_type property of a CreateListingRevisionDetails. LISTING_TYPE_OCI_APPLICATIONA constant which can be used with the listing_type property of a CreateListingRevisionDetails. LISTING_TYPE_SERVICEA constant which can be used with the listing_type property of a CreateListingRevisionDetails. content_languageGets the content_language of this CreateListingRevisionDetails. defined_tagsGets the defined_tags of this CreateListingRevisionDetails. display_nameGets the display_name of this CreateListingRevisionDetails. freeform_tagsGets the freeform_tags of this CreateListingRevisionDetails. headline[Required] Gets the headline of this CreateListingRevisionDetails. keywordsGets 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_descriptionGets the long_description of this CreateListingRevisionDetails. short_descriptionGets the short_description of this CreateListingRevisionDetails. statusGets the status of this CreateListingRevisionDetails. support_contactsGets the support_contacts of this CreateListingRevisionDetails. support_linksGets the support_links of this CreateListingRevisionDetails. supportedlanguagesGets the supportedlanguages of this CreateListingRevisionDetails. taglineGets the tagline of this CreateListingRevisionDetails. usage_informationGets the usage_information of this CreateListingRevisionDetails. Methods
__init__(**kwargs)Initializes a new CreateListingRevisionDetails 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 CreateListingRevisionDetails 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:
CreateOciListingRevisionDetailsCreateServiceListingRevisionDetailsCreateLeadGenListingRevisionDetails
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 CreateListingRevisionDetails.
- listing_id (str) – The value to assign to the listing_id property of this CreateListingRevisionDetails.
- listing_type (str) – The value to assign to the listing_type property of this CreateListingRevisionDetails. Allowed values for this property are: “OCI_APPLICATION”, “LEAD_GENERATION”, “SERVICE”
- headline (str) – The value to assign to the headline property of this CreateListingRevisionDetails.
- tagline (str) – The value to assign to the tagline property of this CreateListingRevisionDetails.
- keywords (str) – The value to assign to the keywords property of this CreateListingRevisionDetails.
- short_description (str) – The value to assign to the short_description property of this CreateListingRevisionDetails.
- usage_information (str) – The value to assign to the usage_information property of this CreateListingRevisionDetails.
- long_description (str) – The value to assign to the long_description property of this CreateListingRevisionDetails.
- content_language (oci.marketplace_publisher.models.LanguageItem) – The value to assign to the content_language property of this CreateListingRevisionDetails.
- supportedlanguages (list[oci.marketplace_publisher.models.LanguageItem]) – The value to assign to the supportedlanguages property of this CreateListingRevisionDetails.
- support_contacts (list[oci.marketplace_publisher.models.SupportContact]) – The value to assign to the support_contacts property of this CreateListingRevisionDetails.
- support_links (list[oci.marketplace_publisher.models.NamedLink]) – The value to assign to the support_links property of this CreateListingRevisionDetails.
- status (str) – The value to assign to the status property of this CreateListingRevisionDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateListingRevisionDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateListingRevisionDetails.
-
content_language¶ Gets the content_language of this CreateListingRevisionDetails.
Returns: The content_language of this CreateListingRevisionDetails. Return type: oci.marketplace_publisher.models.LanguageItem
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))
-
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
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)
-
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¶ [Required] Gets the headline of this CreateListingRevisionDetails. Single line introduction for the listing revision.
Returns: The headline of this CreateListingRevisionDetails. Return type: str
-
keywords¶ Gets the keywords of this CreateListingRevisionDetails. Keywords associated with the listing revision.
Returns: The keywords of this CreateListingRevisionDetails. Return type: str
-
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
-
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
-
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
-
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
-
status¶ Gets the status of this CreateListingRevisionDetails. The current status of the Listing revision.
Returns: The status of this CreateListingRevisionDetails. Return type: str
-
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]
-
support_links¶ 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]
-
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]
-
tagline¶ Gets the tagline of this CreateListingRevisionDetails. The tagline for the listing revision.
Returns: The tagline of this CreateListingRevisionDetails. Return type: str
-
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
-