ListingRevision¶
-
class
oci.marketplace_publisher.models.ListingRevision(**kwargs)¶ Bases:
objectThe model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a ListingRevision. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a ListingRevision. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a ListingRevision. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a ListingRevision. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a ListingRevision. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a ListingRevision. LISTING_TYPE_LEAD_GENERATIONA constant which can be used with the listing_type property of a ListingRevision. LISTING_TYPE_OCI_APPLICATIONA constant which can be used with the listing_type property of a ListingRevision. LISTING_TYPE_SERVICEA constant which can be used with the listing_type property of a ListingRevision. PACKAGE_TYPE_CONTAINER_IMAGEA constant which can be used with the package_type property of a ListingRevision. PACKAGE_TYPE_HELM_CHARTA constant which can be used with the package_type property of a ListingRevision. PACKAGE_TYPE_MACHINE_IMAGEA constant which can be used with the package_type property of a ListingRevision. PACKAGE_TYPE_NONEA constant which can be used with the package_type property of a ListingRevision. PACKAGE_TYPE_STACKA constant which can be used with the package_type property of a ListingRevision. STATUS_APPROVEDA constant which can be used with the status property of a ListingRevision. STATUS_NEWA constant which can be used with the status property of a ListingRevision. STATUS_PENDING_REVIEWA constant which can be used with the status property of a ListingRevision. STATUS_PUBLISHEDA constant which can be used with the status property of a ListingRevision. STATUS_PUBLISHED_AS_PRIVATEA constant which can be used with the status property of a ListingRevision. STATUS_PUBLISH_AS_PRIVATE_FAILEDA constant which can be used with the status property of a ListingRevision. STATUS_PUBLISH_AS_PRIVATE_IN_PROGRESSA constant which can be used with the status property of a ListingRevision. STATUS_PUBLISH_FAILEDA constant which can be used with the status property of a ListingRevision. STATUS_PUBLISH_IN_PROGRESSA constant which can be used with the status property of a ListingRevision. STATUS_REJECTEDA constant which can be used with the status property of a ListingRevision. STATUS_REVIEW_IN_PROGRESSA constant which can be used with the status property of a ListingRevision. STATUS_UNPUBLISHEDA constant which can be used with the status property of a ListingRevision. STATUS_UNPUBLISH_IN_PROGRESSA constant which can be used with the status property of a ListingRevision. compartment_idGets the compartment_id of this ListingRevision. content_languageGets the content_language of this ListingRevision. defined_tagsGets the defined_tags of this ListingRevision. display_name[Required] Gets the display_name of this ListingRevision. extended_metadataGets the extended_metadata of this ListingRevision. freeform_tagsGets the freeform_tags of this ListingRevision. headline[Required] Gets the headline of this ListingRevision. iconGets the icon of this ListingRevision. id[Required] Gets the id of this ListingRevision. keywordsGets the keywords of this ListingRevision. lifecycle_state[Required] Gets the lifecycle_state of this ListingRevision. listing_id[Required] Gets the listing_id of this ListingRevision. listing_type[Required] Gets the listing_type of this ListingRevision. long_descriptionGets the long_description of this ListingRevision. package_typeGets the package_type of this ListingRevision. revision_numberGets the revision_number of this ListingRevision. short_descriptionGets the short_description of this ListingRevision. status[Required] Gets the status of this ListingRevision. status_notesGets the status_notes of this ListingRevision. support_contactsGets the support_contacts of this ListingRevision. support_linksGets the support_links of this ListingRevision. supportedlanguagesGets the supportedlanguages of this ListingRevision. system_tagsGets the system_tags of this ListingRevision. taglineGets the tagline of this ListingRevision. time_created[Required] Gets the time_created of this ListingRevision. time_updated[Required] Gets the time_updated of this ListingRevision. usage_informationGets the usage_information of this ListingRevision. Methods
__init__(**kwargs)Initializes a new ListingRevision 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. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a ListingRevision. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a ListingRevision. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a ListingRevision. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a ListingRevision. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ListingRevision. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a ListingRevision. This constant has a value of “UPDATING”
-
LISTING_TYPE_LEAD_GENERATION= 'LEAD_GENERATION'¶ A constant which can be used with the listing_type property of a ListingRevision. 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 ListingRevision. 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 ListingRevision. This constant has a value of “SERVICE”
-
PACKAGE_TYPE_CONTAINER_IMAGE= 'CONTAINER_IMAGE'¶ A constant which can be used with the package_type property of a ListingRevision. This constant has a value of “CONTAINER_IMAGE”
-
PACKAGE_TYPE_HELM_CHART= 'HELM_CHART'¶ A constant which can be used with the package_type property of a ListingRevision. This constant has a value of “HELM_CHART”
-
PACKAGE_TYPE_MACHINE_IMAGE= 'MACHINE_IMAGE'¶ A constant which can be used with the package_type property of a ListingRevision. This constant has a value of “MACHINE_IMAGE”
-
PACKAGE_TYPE_NONE= 'NONE'¶ A constant which can be used with the package_type property of a ListingRevision. This constant has a value of “NONE”
-
PACKAGE_TYPE_STACK= 'STACK'¶ A constant which can be used with the package_type property of a ListingRevision. This constant has a value of “STACK”
-
STATUS_APPROVED= 'APPROVED'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “APPROVED”
-
STATUS_NEW= 'NEW'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “NEW”
-
STATUS_PENDING_REVIEW= 'PENDING_REVIEW'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “PENDING_REVIEW”
-
STATUS_PUBLISHED= 'PUBLISHED'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “PUBLISHED”
-
STATUS_PUBLISHED_AS_PRIVATE= 'PUBLISHED_AS_PRIVATE'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “PUBLISHED_AS_PRIVATE”
-
STATUS_PUBLISH_AS_PRIVATE_FAILED= 'PUBLISH_AS_PRIVATE_FAILED'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “PUBLISH_AS_PRIVATE_FAILED”
-
STATUS_PUBLISH_AS_PRIVATE_IN_PROGRESS= 'PUBLISH_AS_PRIVATE_IN_PROGRESS'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “PUBLISH_AS_PRIVATE_IN_PROGRESS”
-
STATUS_PUBLISH_FAILED= 'PUBLISH_FAILED'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “PUBLISH_FAILED”
-
STATUS_PUBLISH_IN_PROGRESS= 'PUBLISH_IN_PROGRESS'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “PUBLISH_IN_PROGRESS”
-
STATUS_REJECTED= 'REJECTED'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “REJECTED”
-
STATUS_REVIEW_IN_PROGRESS= 'REVIEW_IN_PROGRESS'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “REVIEW_IN_PROGRESS”
-
STATUS_UNPUBLISHED= 'UNPUBLISHED'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “UNPUBLISHED”
-
STATUS_UNPUBLISH_IN_PROGRESS= 'UNPUBLISH_IN_PROGRESS'¶ A constant which can be used with the status property of a ListingRevision. This constant has a value of “UNPUBLISH_IN_PROGRESS”
-
__init__(**kwargs)¶ Initializes a new ListingRevision 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: - id (str) – The value to assign to the id property of this ListingRevision.
- listing_id (str) – The value to assign to the listing_id property of this ListingRevision.
- compartment_id (str) – The value to assign to the compartment_id property of this ListingRevision.
- display_name (str) – The value to assign to the display_name property of this ListingRevision.
- revision_number (str) – The value to assign to the revision_number property of this ListingRevision.
- headline (str) – The value to assign to the headline property of this ListingRevision.
- tagline (str) – The value to assign to the tagline property of this ListingRevision.
- keywords (str) – The value to assign to the keywords property of this ListingRevision.
- short_description (str) – The value to assign to the short_description property of this ListingRevision.
- usage_information (str) – The value to assign to the usage_information property of this ListingRevision.
- long_description (str) – The value to assign to the long_description property of this ListingRevision.
- time_created (datetime) – The value to assign to the time_created property of this ListingRevision.
- time_updated (datetime) – The value to assign to the time_updated property of this ListingRevision.
- content_language (oci.marketplace_publisher.models.LanguageItem) – The value to assign to the content_language property of this ListingRevision.
- supportedlanguages (list[oci.marketplace_publisher.models.LanguageItem]) – The value to assign to the supportedlanguages property of this ListingRevision.
- support_contacts (list[oci.marketplace_publisher.models.SupportContact]) – The value to assign to the support_contacts property of this ListingRevision.
- support_links (list[oci.marketplace_publisher.models.NamedLink]) – The value to assign to the support_links property of this ListingRevision.
- icon (oci.marketplace_publisher.models.ListingRevisionIconAttachment) – The value to assign to the icon property of this ListingRevision.
- status (str) – The value to assign to the status property of this ListingRevision. Allowed values for this property are: “NEW”, “PENDING_REVIEW”, “REVIEW_IN_PROGRESS”, “REJECTED”, “APPROVED”, “PUBLISH_IN_PROGRESS”, “PUBLISH_FAILED”, “PUBLISHED”, “PUBLISH_AS_PRIVATE_FAILED”, “PUBLISHED_AS_PRIVATE”, “PUBLISH_AS_PRIVATE_IN_PROGRESS”, “UNPUBLISH_IN_PROGRESS”, “UNPUBLISHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- status_notes (str) – The value to assign to the status_notes property of this ListingRevision.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ListingRevision. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- package_type (str) – The value to assign to the package_type property of this ListingRevision. Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- listing_type (str) – The value to assign to the listing_type property of this ListingRevision. Allowed values for this property are: “OCI_APPLICATION”, “LEAD_GENERATION”, “SERVICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- extended_metadata (dict(str, str)) – The value to assign to the extended_metadata property of this ListingRevision.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ListingRevision.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ListingRevision.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ListingRevision.
-
compartment_id¶ Gets the compartment_id of this ListingRevision. The unique identifier for the compartment.
Returns: The compartment_id of this ListingRevision. Return type: str
-
content_language¶ Gets the content_language of this ListingRevision.
Returns: The content_language of this ListingRevision. Return type: oci.marketplace_publisher.models.LanguageItem
Gets the defined_tags of this ListingRevision. 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 ListingRevision. Return type: dict(str, dict(str, object))
-
display_name¶ [Required] Gets the display_name of this ListingRevision. The name for the listing revision.
Returns: The display_name of this ListingRevision. Return type: str
-
extended_metadata¶ Gets the extended_metadata of this ListingRevision. Additional metadata key/value pairs for the listing revision summary.
Returns: The extended_metadata of this ListingRevision. Return type: dict(str, str)
Gets the freeform_tags of this ListingRevision. 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 ListingRevision. 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 ListingRevision. Single line introduction for the listing revision.
Returns: The headline of this ListingRevision. Return type: str
-
icon¶ Gets the icon of this ListingRevision.
Returns: The icon of this ListingRevision. Return type: oci.marketplace_publisher.models.ListingRevisionIconAttachment
-
id¶ [Required] Gets the id of this ListingRevision. Unique OCID identifier for the listing revision in Marketplace Publisher.
Returns: The id of this ListingRevision. Return type: str
-
keywords¶ Gets the keywords of this ListingRevision. Keywords associated with the listing revision.
Returns: The keywords of this ListingRevision. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this ListingRevision. The current state of the listing revision.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ListingRevision. Return type: str
-
listing_id¶ [Required] Gets the listing_id of this ListingRevision. The unique identifier for the listing this revision belongs to.
Returns: The listing_id of this ListingRevision. Return type: str
-
listing_type¶ [Required] Gets the listing_type of this ListingRevision. The listing’s type. Populated from the listing.
Allowed values for this property are: “OCI_APPLICATION”, “LEAD_GENERATION”, “SERVICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The listing_type of this ListingRevision. Return type: str
-
long_description¶ Gets the long_description of this ListingRevision. A long description for the listing revision.
Returns: The long_description of this ListingRevision. Return type: str
-
package_type¶ Gets the package_type of this ListingRevision. The listing’s package type. Populated from the listing.
Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The package_type of this ListingRevision. Return type: str
-
revision_number¶ Gets the revision_number of this ListingRevision. The revision number for the listing revision. This is an internal attribute
Returns: The revision_number of this ListingRevision. Return type: str
-
short_description¶ Gets the short_description of this ListingRevision. A short description for the listing revision.
Returns: The short_description of this ListingRevision. Return type: str
-
status¶ [Required] Gets the status of this ListingRevision. The current status for the Listing revision.
Allowed values for this property are: “NEW”, “PENDING_REVIEW”, “REVIEW_IN_PROGRESS”, “REJECTED”, “APPROVED”, “PUBLISH_IN_PROGRESS”, “PUBLISH_FAILED”, “PUBLISHED”, “PUBLISH_AS_PRIVATE_FAILED”, “PUBLISHED_AS_PRIVATE”, “PUBLISH_AS_PRIVATE_IN_PROGRESS”, “UNPUBLISH_IN_PROGRESS”, “UNPUBLISHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this ListingRevision. Return type: str
-
status_notes¶ Gets the status_notes of this ListingRevision. Status notes for the listing revision.
Returns: The status_notes of this ListingRevision. Return type: str
-
support_contacts¶ Gets the support_contacts of this ListingRevision. Contact information to use to get support from the publisher for the listing revision.
Returns: The support_contacts of this ListingRevision. Return type: list[oci.marketplace_publisher.models.SupportContact]
-
support_links¶ Gets the support_links of this ListingRevision. Links to support resources for the listing revision.
Returns: The support_links of this ListingRevision. Return type: list[oci.marketplace_publisher.models.NamedLink]
-
supportedlanguages¶ Gets the supportedlanguages of this ListingRevision. Languages supported by the publisher for the listing revision.
Returns: The supportedlanguages of this ListingRevision. Return type: list[oci.marketplace_publisher.models.LanguageItem]
Gets the system_tags of this ListingRevision. 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 ListingRevision. Return type: dict(str, dict(str, object))
-
tagline¶ Gets the tagline of this ListingRevision. The tagline of the listing revision.
Returns: The tagline of this ListingRevision. Return type: str
-
time_created¶ [Required] Gets the time_created of this ListingRevision. The time the listing revision was created. An RFC3339 formatted datetime string.
Returns: The time_created of this ListingRevision. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this ListingRevision. The time the listing revision was updated. An RFC3339 formatted datetime string.
Returns: The time_updated of this ListingRevision. Return type: datetime
-
usage_information¶ Gets the usage_information of this ListingRevision. Usage information for the listing revision.
Returns: The usage_information of this ListingRevision. Return type: str
-