models_v2.pre_and_post_script_params module

class models_v2.pre_and_post_script_params.PreAndPostScriptParams(pre_script=None, post_script=None)[source]

Bases: object

Implementation of the ‘Pre and Post Script Params.’ model.

Specifies the params for pre and post scripts.

Attributes:
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.