models_v2.file_extension_filter_2 module¶
-
class
models_v2.file_extension_filter_2.
FileExtensionFilter2
(file_extensions_list=None, is_enabled=None, mode=None)[source]¶ Bases:
object
Implementation of the ‘FileExtensionFilter2’ model.
Optional filtering criteria that should be satisfied by all the files created in this view. It does not affect existing files.
- Attributes:
- file_extensions_list (list of string): The list of file extensions to
apply
is_enabled (bool): If set, it enables the file extension filter mode (Mode1Enum): The mode applied to the list of file extensions
‘Whitelist’ indicates a whitelist extension filter. ‘Blacklist’ indicates a blacklist extension filter.
-
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.