PrivateApplicationPackage

class oci.service_catalog.models.PrivateApplicationPackage(**kwargs)

Bases: object

A base object for all types of private application packages.

Attributes

PACKAGE_TYPE_STACK A constant which can be used with the package_type property of a PrivateApplicationPackage.
display_name Gets the display_name of this PrivateApplicationPackage.
id [Required] Gets the id of this PrivateApplicationPackage.
package_type [Required] Gets the package_type of this PrivateApplicationPackage.
private_application_id [Required] Gets the private_application_id of this PrivateApplicationPackage.
time_created [Required] Gets the time_created of this PrivateApplicationPackage.
version [Required] Gets the version of this PrivateApplicationPackage.

Methods

__init__(**kwargs) Initializes a new PrivateApplicationPackage 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.
PACKAGE_TYPE_STACK = 'STACK'

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

__init__(**kwargs)

Initializes a new PrivateApplicationPackage 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 PrivateApplicationPackage.
  • private_application_id (str) – The value to assign to the private_application_id property of this PrivateApplicationPackage.
  • display_name (str) – The value to assign to the display_name property of this PrivateApplicationPackage.
  • version (str) – The value to assign to the version property of this PrivateApplicationPackage.
  • package_type (str) – The value to assign to the package_type property of this PrivateApplicationPackage. Allowed values for this property are: “STACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this PrivateApplicationPackage.
display_name

Gets the display_name of this PrivateApplicationPackage. The display name of the package.

Returns:The display_name of this PrivateApplicationPackage.
Return type: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

[Required] Gets the id of this PrivateApplicationPackage. The OCID of the private application package.

Returns:The id of this PrivateApplicationPackage.
Return type:str
package_type

[Required] Gets the package_type of this PrivateApplicationPackage. The specified package’s type.

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

Returns:The package_type of this PrivateApplicationPackage.
Return type:str
private_application_id

[Required] Gets the private_application_id of this PrivateApplicationPackage. The OCID of the private application where the package is hosted.

Returns:The private_application_id of this PrivateApplicationPackage.
Return type:str
time_created

[Required] Gets the time_created of this PrivateApplicationPackage. The date and time the private application package was created, expressed in RFC 3339 timestamp format.

Example: 2021-05-27T21:10:29.600Z

Returns:The time_created of this PrivateApplicationPackage.
Return type:datetime
version

[Required] Gets the version of this PrivateApplicationPackage. The package version.

Returns:The version of this PrivateApplicationPackage.
Return type:str