models.remote_script_proto module¶
-
class
models.remote_script_proto.
RemoteScriptProto
(remote_host_params=None, script=None, status=None)[source]¶ Bases:
object
Implementation of the ‘RemoteScriptProto’ model.
Message to encapsulate the information of script that can be executed either before or after the backup is taken.
- Attributes:
- remote_host_params (RemoteHostConnectorParams): Connector params for
the remote host where script is located and is executed.
- script (ScriptPathAndParams): Contains script path and its optional
params.
status (ScriptExecutionStatus): Execution status of the script.
-
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.