models_v2.host_based_backup_script_params module

class models_v2.host_based_backup_script_params.HostBasedBackupScriptParams(host=None, pre_script=None, post_script=None)[source]

Bases: object

Implementation of the ‘Host Based Backup Script Params’ model.

Specifies params of a pre/post scripts to be executed before and after a backup run.

Attributes:
host (PrePostScriptHost): Specifies the params for the host of a pre /

post script.

pre_script (CommonPreBackupScriptParams): Specifies the common params

for PreBackup scripts.

post_script (CommonPrePostScriptParams): Specifies the common params

for PostBackup scripts.

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.