models_v2.connection_info module¶
-
class
models_v2.connection_info.
ConnectionInfo
(is_active=None, message=None, last_connected_timestamp_msecs=None)[source]¶ Bases:
object
Implementation of the ‘Connection Info.’ model.
Specifies the connection info of a connector.
- Attributes:
- is_active (bool): Specifies whether the connector is currently
connected to cohesity server.
- message (string): Specifies possible error message when the connector
is not able to connect.
- last_connected_timestamp_msecs (long|int): Specifies last timestamp
for which connection status was known.
-
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.