models.exchange_protection_source module¶
-
class
models.exchange_protection_source.
ExchangeProtectionSource
(dag_info=None, application_server_info=None, dag_database_copy_info=None, dag_database_info=None, name=None, owner_id=None, standalone_database_copy_info=None, mtype=None, uuid=None)[source]¶ Bases:
object
Implementation of the ‘ExchangeProtectionSource’ model.
Specifies an object representing an Exchange entity. DAG - Database availability group
- Attributes:
- dag_info (DagInfo): Specifies the Exchange DAG information if
ExchangeProtectionSourceType is ‘kExchangeDAG’.
- application_server_info (ApplicationServerInfo): Specifies the
Exchange Application server information if ExchangeProtectionSourceType is ‘kExhangeNode’
- dag_database_copy_info (ExchangeDatabaseCopyInfo): Specifies the
Exchange DAG Database copy information if ExchangeProtectionSourceType is ‘kExchangeDAGDatabaseCopy’.
- dag_database_info (ExchangeDAGDatabase): Specifies the Exchange DAG
Database information if ExchangeProtectionSourceType is ‘kExchangeDAGDatabase’
name (string): TODO: add description here. owner_id (int): Specifies the entity id of the owner of the Exchange
Protection Source.
- standalone_database_copy_info (ExchangeDatabaseInfo): Specifies the
Exchange Standalone Database information if ExchangeProtectionSourceType is ‘kExchangeStandaloneDatabase’.
mtype (int): Specifies the type of the Exchange Protection Source. uuid (string): Specifies the UUID for the Exchange entity.
-
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.