models.restore_task_wrapper module

class models.restore_task_wrapper.RestoreTaskWrapper(restore_task=None)[source]

Bases: object

Implementation of the ‘RestoreTaskWrapper’ model.

TODO: type model description here.

Attributes:
restore_task (RestoreWrapperProto): If this message is a checkpoint

record in WAL-logging or if this message is used to send restore task info back to the user, it will contain the info of the restore job/task and the list of all destroy tasks (only when the record is for a restore task of type clone) associated with it. If this message is delta record, it will contain the state mutation for one of individual restore job, restore task and individual destroy task.

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.