models_v2.planned_failover_params module

class models_v2.planned_failover_params.PlannedFailoverParams(mtype=None, prepare_planned_failver_params=None)[source]

Bases: object

Implementation of the ‘PlannedFailoverParams’ model.

Specifies parameters of a planned failover.

Attributes:
mtype (Type21Enum): Spcifies the planned failover type.<br> ‘Prepare’

indicates this is a preparation for failover.<br> ‘Finalize’ indicates this is finalization of failover. After this is done, the view can be used as source view.

prepare_planned_failver_params (PreparePlannedFailverParams):

Specifies parameters of preparation of a planned failover.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.