models.restore_task_additional_params module¶
-
class
models.restore_task_additional_params.
RestoreTaskAdditionalParams
(post_script=None, pre_script=None, uptier_params=None)[source]¶ Bases:
object
Implementation of the ‘RestoreTaskAdditionalParams’ model.
Message to encapsulate the additional parameters associated with a restore task.
- Attributes:
- post_script (RemoteScriptProto): Post-script that must be executed
after finishing the restore.
- pre_script (RemoteScriptProto): Pre-script that must be executed
before starting the restore.
- uptier_params (UptieringRunOnceParams): Uptiering specific runonce
params.
-
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.