models.get_registration_info_response module

class models.get_registration_info_response.GetRegistrationInfoResponse(root_nodes=None, stats=None, stats_by_env=None)[source]

Bases: object

Implementation of the ‘GetRegistrationInfoResponse’ model.

Specifies the registration, protection and permission information of all or a subset of the registered Protection Source Trees or Views on the Cohesity Cluster.

Attributes:
root_nodes (list of ProtectionSourceTreeInfo): Specifies the

registration, protection and permission information of either all or a subset of registered Protection Sources matching the filter parameters. overrideDescription: true

stats (ProtectionSummary): Specifies the sum of all the stats of

protection of Protection Sources and views selected by the query parameters.

stats_by_env (list of ProtectionSummaryByEnv): Specifies the breakdown

of the stats by environment overrideDescription: true

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.