ListingRevisionPackage

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

Bases: object

A base object for all types of listing revision packages.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ListingRevisionPackage.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a ListingRevisionPackage.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a ListingRevisionPackage.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a ListingRevisionPackage.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a ListingRevisionPackage.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a ListingRevisionPackage.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a ListingRevisionPackage.
PACKAGE_TYPE_CONTAINER_IMAGE A constant which can be used with the package_type property of a ListingRevisionPackage.
PACKAGE_TYPE_HELM_CHART A constant which can be used with the package_type property of a ListingRevisionPackage.
STATUS_NEW A constant which can be used with the status property of a ListingRevisionPackage.
STATUS_PUBLISHED A constant which can be used with the status property of a ListingRevisionPackage.
STATUS_PUBLISHED_AS_PRIVATE A constant which can be used with the status property of a ListingRevisionPackage.
STATUS_PUBLISH_FAILED A constant which can be used with the status property of a ListingRevisionPackage.
STATUS_PUBLISH_IN_PROGRESS A constant which can be used with the status property of a ListingRevisionPackage.
STATUS_UNPUBLISHED A constant which can be used with the status property of a ListingRevisionPackage.
STATUS_UNPUBLISH_IN_PROGRESS A constant which can be used with the status property of a ListingRevisionPackage.
are_security_upgrades_provided [Required] Gets the are_security_upgrades_provided of this ListingRevisionPackage.
artifact_id [Required] Gets the artifact_id of this ListingRevisionPackage.
compartment_id [Required] Gets the compartment_id of this ListingRevisionPackage.
defined_tags Gets the defined_tags of this ListingRevisionPackage.
description Gets the description of this ListingRevisionPackage.
display_name [Required] Gets the display_name of this ListingRevisionPackage.
extended_metadata Gets the extended_metadata of this ListingRevisionPackage.
freeform_tags Gets the freeform_tags of this ListingRevisionPackage.
id Gets the id of this ListingRevisionPackage.
is_default [Required] Gets the is_default of this ListingRevisionPackage.
lifecycle_state [Required] Gets the lifecycle_state of this ListingRevisionPackage.
listing_revision_id [Required] Gets the listing_revision_id of this ListingRevisionPackage.
package_type [Required] Gets the package_type of this ListingRevisionPackage.
package_version [Required] Gets the package_version of this ListingRevisionPackage.
status [Required] Gets the status of this ListingRevisionPackage.
system_tags Gets the system_tags of this ListingRevisionPackage.
term_id [Required] Gets the term_id of this ListingRevisionPackage.
time_created [Required] Gets the time_created of this ListingRevisionPackage.
time_updated [Required] Gets the time_updated of this ListingRevisionPackage.

Methods

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

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ListingRevisionPackage. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ListingRevisionPackage. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a ListingRevisionPackage. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a ListingRevisionPackage. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a ListingRevisionPackage. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a ListingRevisionPackage. This constant has a value of “UPDATING”

PACKAGE_TYPE_CONTAINER_IMAGE = 'CONTAINER_IMAGE'

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

STATUS_NEW = 'NEW'

A constant which can be used with the status property of a ListingRevisionPackage. This constant has a value of “NEW”

STATUS_PUBLISHED = 'PUBLISHED'

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

STATUS_PUBLISH_FAILED = 'PUBLISH_FAILED'

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

STATUS_UNPUBLISHED = 'UNPUBLISHED'

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

__init__(**kwargs)

Initializes a new ListingRevisionPackage 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 ListingRevisionPackage.
  • display_name (str) – The value to assign to the display_name property of this ListingRevisionPackage.
  • description (str) – The value to assign to the description property of this ListingRevisionPackage.
  • listing_revision_id (str) – The value to assign to the listing_revision_id property of this ListingRevisionPackage.
  • compartment_id (str) – The value to assign to the compartment_id property of this ListingRevisionPackage.
  • artifact_id (str) – The value to assign to the artifact_id property of this ListingRevisionPackage.
  • term_id (str) – The value to assign to the term_id property of this ListingRevisionPackage.
  • package_version (str) – The value to assign to the package_version property of this ListingRevisionPackage.
  • package_type (str) – The value to assign to the package_type property of this ListingRevisionPackage. Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ListingRevisionPackage. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • status (str) – The value to assign to the status property of this ListingRevisionPackage. Allowed values for this property are: “NEW”, “PUBLISH_IN_PROGRESS”, “UNPUBLISH_IN_PROGRESS”, “PUBLISH_FAILED”, “PUBLISHED”, “PUBLISHED_AS_PRIVATE”, “UNPUBLISHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • are_security_upgrades_provided (bool) – The value to assign to the are_security_upgrades_provided property of this ListingRevisionPackage.
  • is_default (bool) – The value to assign to the is_default property of this ListingRevisionPackage.
  • time_created (datetime) – The value to assign to the time_created property of this ListingRevisionPackage.
  • time_updated (datetime) – The value to assign to the time_updated property of this ListingRevisionPackage.
  • extended_metadata (dict(str, str)) – The value to assign to the extended_metadata property of this ListingRevisionPackage.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ListingRevisionPackage.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ListingRevisionPackage.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ListingRevisionPackage.
are_security_upgrades_provided

[Required] Gets the are_security_upgrades_provided of this ListingRevisionPackage. Identifies whether security upgrades will be provided for this package.

Returns:The are_security_upgrades_provided of this ListingRevisionPackage.
Return type:bool
artifact_id

[Required] Gets the artifact_id of this ListingRevisionPackage. The unique identifier for the artifact.

Returns:The artifact_id of this ListingRevisionPackage.
Return type:str
compartment_id

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

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

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

Gets the description of this ListingRevisionPackage. The description of this package.

Returns:The description of this ListingRevisionPackage.
Return type:str
display_name

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

Returns:The display_name of this ListingRevisionPackage.
Return type:str
extended_metadata

Gets the extended_metadata of this ListingRevisionPackage. Additional metadata key/value pairs for the listing revision package summary.

For example:

{“partnerListingRevisionPackageStatus”: “Published”,”parentListingRevisionPackageId”: “1” }

Returns:The extended_metadata of this ListingRevisionPackage.
Return type:dict(str, str)
freeform_tags

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

id

Gets the id of this ListingRevisionPackage. The OCID for the listing revision package in Marketplace Publisher.

Returns:The id of this ListingRevisionPackage.
Return type:str
is_default

[Required] Gets the is_default of this ListingRevisionPackage. Identifies that this will be default package for the listing revision.

Returns:The is_default of this ListingRevisionPackage.
Return type:bool
lifecycle_state

[Required] Gets the lifecycle_state of this ListingRevisionPackage. The current state for the listing revision package.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “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 ListingRevisionPackage.
Return type:str
listing_revision_id

[Required] Gets the listing_revision_id of this ListingRevisionPackage. The unique identifier for the listing revision.

Returns:The listing_revision_id of this ListingRevisionPackage.
Return type:str
package_type

[Required] Gets the package_type of this ListingRevisionPackage. The package type for the listing.

Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The package_type of this ListingRevisionPackage.
Return type:str
package_version

[Required] Gets the package_version of this ListingRevisionPackage. The version for the package.

Returns:The package_version of this ListingRevisionPackage.
Return type:str
status

[Required] Gets the status of this ListingRevisionPackage. The current status for the listing revision package.

Allowed values for this property are: “NEW”, “PUBLISH_IN_PROGRESS”, “UNPUBLISH_IN_PROGRESS”, “PUBLISH_FAILED”, “PUBLISHED”, “PUBLISHED_AS_PRIVATE”, “UNPUBLISHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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

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

[Required] Gets the term_id of this ListingRevisionPackage. The unique identifier for the term.

Returns:The term_id of this ListingRevisionPackage.
Return type:str
time_created

[Required] Gets the time_created of this ListingRevisionPackage. The date and time this listing revision package was created, expressed in RFC 3339 timestamp format.

Example: 2016-08-25T21:10:29.600Z

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

[Required] Gets the time_updated of this ListingRevisionPackage. The date and time this listing revision package was updated, expressed in RFC 3339 timestamp format.

Example: 2016-08-25T21:10:29.600Z

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