Implementation of the ‘FilePathFilter’ model.
Specifies filters to match files and directories on a Server. Two kinds of filters are supported. a) prefix which always starts with ‘/’. b) posix which always starts with ‘*’ (cannot be “*” only). Regular expressions are not supported. If a directory is matched, the action is applicable to all of its descendants. File paths not matching any protectFilters are not backed up. An example is: Protect Filters: “/” Exclude Filters: “/tmp”, “*.mp4” Using such a policy will include everything under the root directory except the /tmp directory and all the mp4 files.
- exclude_filters (list of string): Array of Excluded File Path Filters.
Specifies filters to match files or directories that should be removed from the list of objects matching ProtectFilters.
- protect_filters (list of string): Array of Protected File Path
Filters. Specifies filters to match files or directories that should be protected.
Creates an instance of this model from a dictionary
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.
object: An instance of this structure class.