CreatePrivateApplicationPackage

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

Bases: object

A base object for creating a private application package.

Attributes

PACKAGE_TYPE_STACK A constant which can be used with the package_type property of a CreatePrivateApplicationPackage.
package_type [Required] Gets the package_type of this CreatePrivateApplicationPackage.
version [Required] Gets the version of this CreatePrivateApplicationPackage.

Methods

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

__init__(**kwargs)

Initializes a new CreatePrivateApplicationPackage 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:
  • package_type (str) – The value to assign to the package_type property of this CreatePrivateApplicationPackage. Allowed values for this property are: “STACK”
  • version (str) – The value to assign to the version property of this CreatePrivateApplicationPackage.
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.

package_type

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

Allowed values for this property are: “STACK”

Returns:The package_type of this CreatePrivateApplicationPackage.
Return type:str
version

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

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