ListingRevisionSummary

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

Bases: object

The model for a summary of 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 ListingRevisionSummary.
LISTING_TYPE_OCI_APPLICATION A constant which can be used with the listing_type property of a ListingRevisionSummary.
LISTING_TYPE_SERVICE A constant which can be used with the listing_type property of a ListingRevisionSummary.
PACKAGE_TYPE_CONTAINER_IMAGE A constant which can be used with the package_type property of a ListingRevisionSummary.
PACKAGE_TYPE_HELM_CHART A constant which can be used with the package_type property of a ListingRevisionSummary.
PACKAGE_TYPE_MACHINE_IMAGE A constant which can be used with the package_type property of a ListingRevisionSummary.
PACKAGE_TYPE_NONE A constant which can be used with the package_type property of a ListingRevisionSummary.
PACKAGE_TYPE_STACK A constant which can be used with the package_type property of a ListingRevisionSummary.
compartment_id [Required] Gets the compartment_id of this ListingRevisionSummary.
defined_tags Gets the defined_tags of this ListingRevisionSummary.
display_name [Required] Gets the display_name of this ListingRevisionSummary.
freeform_tags Gets the freeform_tags of this ListingRevisionSummary.
icon Gets the icon of this ListingRevisionSummary.
id [Required] Gets the id of this ListingRevisionSummary.
lifecycle_state [Required] Gets the lifecycle_state of this ListingRevisionSummary.
listing_id [Required] Gets the listing_id of this ListingRevisionSummary.
listing_type [Required] Gets the listing_type of this ListingRevisionSummary.
package_type [Required] Gets the package_type of this ListingRevisionSummary.
short_description Gets the short_description of this ListingRevisionSummary.
status [Required] Gets the status of this ListingRevisionSummary.
system_tags Gets the system_tags of this ListingRevisionSummary.
tagline Gets the tagline of this ListingRevisionSummary.
time_created [Required] Gets the time_created of this ListingRevisionSummary.
time_updated [Required] Gets the time_updated of this ListingRevisionSummary.

Methods

__init__(**kwargs) Initializes a new ListingRevisionSummary object with values from keyword arguments.
LISTING_TYPE_LEAD_GENERATION = 'LEAD_GENERATION'

A constant which can be used with the listing_type property of a ListingRevisionSummary. 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 ListingRevisionSummary. 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 ListingRevisionSummary. 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 ListingRevisionSummary. 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 ListingRevisionSummary. 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 ListingRevisionSummary. 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 ListingRevisionSummary. This constant has a value of “NONE”

PACKAGE_TYPE_STACK = 'STACK'

A constant which can be used with the package_type property of a ListingRevisionSummary. This constant has a value of “STACK”

__init__(**kwargs)

Initializes a new ListingRevisionSummary object with values from keyword arguments. 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 ListingRevisionSummary.
  • listing_id (str) – The value to assign to the listing_id property of this ListingRevisionSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ListingRevisionSummary.
  • listing_type (str) – The value to assign to the listing_type property of this ListingRevisionSummary. 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’.
  • display_name (str) – The value to assign to the display_name property of this ListingRevisionSummary.
  • status (str) – The value to assign to the status property of this ListingRevisionSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ListingRevisionSummary.
  • package_type (str) – The value to assign to the package_type property of this ListingRevisionSummary. 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’.
  • short_description (str) – The value to assign to the short_description property of this ListingRevisionSummary.
  • tagline (str) – The value to assign to the tagline property of this ListingRevisionSummary.
  • icon (oci.marketplace_publisher.models.ListingRevisionIconAttachment) – The value to assign to the icon property of this ListingRevisionSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ListingRevisionSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this ListingRevisionSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ListingRevisionSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ListingRevisionSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ListingRevisionSummary.
compartment_id

[Required] Gets the compartment_id of this ListingRevisionSummary. The unique identifier for the compartment.

Returns:The compartment_id of this ListingRevisionSummary.
Return type:str
defined_tags

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

[Required] Gets the display_name of this ListingRevisionSummary. The name of the listing revision.

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

Gets the freeform_tags of this ListingRevisionSummary. 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 ListingRevisionSummary.
Return type:dict(str, str)
icon

Gets the icon of this ListingRevisionSummary.

Returns:The icon of this ListingRevisionSummary.
Return type:oci.marketplace_publisher.models.ListingRevisionIconAttachment
id

[Required] Gets the id of this ListingRevisionSummary. The OCID for the listing revision in Marketplace Publisher.

Returns:The id of this ListingRevisionSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ListingRevisionSummary. The current state of the Listing.

Returns:The lifecycle_state of this ListingRevisionSummary.
Return type:str
listing_id

[Required] Gets the listing_id of this ListingRevisionSummary. The OCID for the listing in Marketplace Publisher.

Returns:The listing_id of this ListingRevisionSummary.
Return type:str
listing_type

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

[Required] Gets the package_type of this ListingRevisionSummary. The listing’s package type.

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 ListingRevisionSummary.
Return type:str
short_description

Gets the short_description of this ListingRevisionSummary. A short description of the listing revision.

Returns:The short_description of this ListingRevisionSummary.
Return type:str
status

[Required] Gets the status of this ListingRevisionSummary. The current status of the listing revision.

Returns:The status of this ListingRevisionSummary.
Return type:str
system_tags

Gets the system_tags of this ListingRevisionSummary. 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 ListingRevisionSummary.
Return type:dict(str, dict(str, object))
tagline

Gets the tagline of this ListingRevisionSummary. The tagline of the listing revision.

Returns:The tagline of this ListingRevisionSummary.
Return type:str
time_created

[Required] Gets the time_created of this ListingRevisionSummary. The date and time the listing revision was created, in the format defined by RFC3339.

Example: 2022-09-15T21:10:29.600Z

Returns:The time_created of this ListingRevisionSummary.
Return type:datetime
time_updated

[Required] Gets the time_updated of this ListingRevisionSummary. The date and time the listing revision was updated, in the format defined by RFC3339.

Example: 2022-09-15T21:10:29.600Z

Returns:The time_updated of this ListingRevisionSummary.
Return type:datetime