models.hdfs_backup_job_params module

class models.hdfs_backup_job_params.HdfsBackupJobParams(hdfs_exclude_pattern=None, hdfs_protect_pattern=None)[source]

Bases: object

Implementation of the ‘HdfsBackupJobParams’ model.

Contains any additional hdfs environment specific backup params at the job level.

Attributes:
hdfs_exclude_pattern (list of string): Any path/Glob pattern from HDFS

that is to excluded.

hdfs_protect_pattern (list of string): Any path/Glob pattern from HDFS

that is to protected.

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.