models_v2.source_replica_object module

class models_v2.source_replica_object.SourceReplicaObject(replica_object_id=None, source_object_id=None)[source]

Bases: object

Implementation of the ‘SourceReplicaObject’ model.

Specifies the response after succesfully initiating the failover request.

Attributes:
replica_object_id (long|int): Specifies the object Id existing on the

replciation cluster.

source_object_id (long|int): Specifies the corrosponding object id

existing on the source cluster.

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.