UpgradeDeploymentCurrentReleaseDetails

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

Bases: UpgradeDeploymentDetails

Definition of the additional attributes for a Current Release upgrade.

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 UpgradeDeploymentCurrentReleaseDetails 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 UpgradeDeploymentCurrentReleaseDetails object with values from keyword arguments. The default value of the type attribute of this class is CURRENT_RELEASE and it should not be changed. 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 UpgradeDeploymentCurrentReleaseDetails. 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.

property 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