models.recovery_task_info module

class models.recovery_task_info.RecoveryTaskInfo(name=None, task_id=None, mtype=None)[source]

Bases: object

Implementation of the ‘RecoveryTaskInfo’ model.

Parameters for a recovery op.

Attributes:

name (string): Name of the recovery task. task_id (string): Id of the recovery task. mtype (TypeRecoveryTaskInfoEnum): Denotes if the recovery task has an

archival target. This param is used to reflect if the recovery op has an archival target to work with. ‘local’ indicates no archival target. ‘archive’ indicates that objects restored using an archival target.

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.