RescheduleDeploymentUpgradeToDateDetails

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

Bases: oci.golden_gate.models.reschedule_deployment_upgrade_details.RescheduleDeploymentUpgradeDetails

Definition of the additional attributes for default deployment upgrade cancel.

Attributes

TYPE_RESCHEDULE_TO_DATE str(object=’’) -> str
time_schedule [Required] Gets the time_schedule of this RescheduleDeploymentUpgradeToDateDetails.
type [Required] Gets the type of this RescheduleDeploymentUpgradeDetails.

Methods

__init__(**kwargs) Initializes a new RescheduleDeploymentUpgradeToDateDetails 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_RESCHEDULE_TO_DATE = 'RESCHEDULE_TO_DATE'
__init__(**kwargs)

Initializes a new RescheduleDeploymentUpgradeToDateDetails object with values from keyword arguments. The default value of the type attribute of this class is RESCHEDULE_TO_DATE 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 RescheduleDeploymentUpgradeToDateDetails. Allowed values for this property are: “RESCHEDULE_TO_DATE”
  • time_schedule (datetime) – The value to assign to the time_schedule property of this RescheduleDeploymentUpgradeToDateDetails.
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.

time_schedule

[Required] Gets the time_schedule of this RescheduleDeploymentUpgradeToDateDetails. The time of upgrade schedule. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_schedule of this RescheduleDeploymentUpgradeToDateDetails.
Return type:datetime
type

[Required] Gets the type of this RescheduleDeploymentUpgradeDetails. The type of a deploymentUpgrade reschedule.

Allowed values for this property are: “RESCHEDULE_TO_DATE”

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