models.protection_source_response module

class models.protection_source_response.ProtectionSourceResponse(jobs=None, logical_size_in_bytes=None, parent_source=None, protection_source_uid_list=None, source=None, uuid=None)[source]

Bases: object

Implementation of the ‘ProtectionSourceResponse’ model.

Specifies the information about the individual object from search api response.

Attributes:
jobs (list of ProtectionJobSummary): Specifies the list of Protection

Jobs that protect the object.

logical_size_in_bytes (long|int): Specifies the logical size of

Protection Source in bytes.

parent_source (ProtectionSource): Specifies a generic structure that

represents a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.

protection_source_uid_list (list of ProtectionSourceUid): Specifies

the list of universal ids of the Protection Source.

source (ProtectionSource): Specifies a generic structure that

represents a node in the Protection Source tree. Node details will depend on the environment of the Protection Source.

uuid (string): Specifies the unique id of the Protection Source.

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.