UpgradeDeploymentDetails

class oci.golden_gate.models.UpgradeDeploymentDetails(**kwargs)

Bases: object

The information about the Upgrade for a Deployment.

Attributes

TYPE_CURRENT_RELEASE A constant which can be used with the type property of a UpgradeDeploymentDetails.
TYPE_SPECIFIC_RELEASE A constant which can be used with the type property of a UpgradeDeploymentDetails.
type [Required] Gets the type of this UpgradeDeploymentDetails.

Methods

__init__(**kwargs) Initializes a new UpgradeDeploymentDetails 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.
TYPE_CURRENT_RELEASE = 'CURRENT_RELEASE'

A constant which can be used with the type property of a UpgradeDeploymentDetails. This constant has a value of “CURRENT_RELEASE”

TYPE_SPECIFIC_RELEASE = 'SPECIFIC_RELEASE'

A constant which can be used with the type property of a UpgradeDeploymentDetails. This constant has a value of “SPECIFIC_RELEASE”

__init__(**kwargs)

Initializes a new UpgradeDeploymentDetails 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:type (str) – The value to assign to the type property of this UpgradeDeploymentDetails. Allowed values for this property are: “CURRENT_RELEASE”, “SPECIFIC_RELEASE”
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.

type

[Required] Gets the type of this UpgradeDeploymentDetails. The type of a deployment upgrade

Allowed values for this property are: “CURRENT_RELEASE”, “SPECIFIC_RELEASE”

Returns:The type of this UpgradeDeploymentDetails.
Return type:str