models_v2.failover module¶
-
class
models_v2.failover.
Failover
(id=None, mtype=None, status=None, error_message=None, start_time_usecs=None, end_time_usecs=None, replications=None)[source]¶ Bases:
object
Implementation of the ‘Failover’ model.
Specifies the details of a failover.
- Attributes:
id (string): Specifies the failover id. mtype (Type24Enum): Specifies the failover type. status (Status22Enum): Specifies the failover status. error_message (string): Specifies the error details if failover status
is ‘Failed’.
- start_time_usecs (long|int): Specifies the failover start time in
micro seconds.
- end_time_usecs (long|int): Specifies the failover complete time in
micro seconds.
- replications (list of FailoverReplication): Specifies a list of
replications in this 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.