models.file_path_parameters module

class models.file_path_parameters.FilePathParameters(backup_file_path=None, excluded_file_paths=None, skip_nested_volumes=None)[source]

Bases: object

Implementation of the ‘FilePathParameters’ model.

Specifies a file or a directory to protect in a Physical Server. If a directory is specified, all of its descendants are also backed up. Optionally, files or subdirectories can be explicitly excluded.

Attributes:
backup_file_path (string): Specifies absolute path to a file or a

directory in a Physical Server to protect.

excluded_file_paths (list of string): Array of Excluded File Paths.

Specifies absolute paths to descendant files or subdirectories of backupFilePath that should not be protected.

skip_nested_volumes (bool): Specifies if any subdirectories under

backupFilePath, where local or network volumes are mounted, should be excluded from being protected. If true, the volumes are not protected. deprecated: true

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.