models.filename_pattern_to_directory module¶
-
class
models.filename_pattern_to_directory.
FilenamePatternToDirectory
(directory=None, filename_pattern=None)[source]¶ Bases:
object
Implementation of the ‘FilenamePatternToDirectory’ model.
Specifies a filename pattern and the directory path where to keep files matching that pattern.
- Attributes:
- directory (string): Specifies the directory where to keep the files
matching the pattern.
- filename_pattern (string): Specifies a pattern to be matched with
filenames. This can be a regex expression.
-
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.