models_v2.file_extension_filter module¶
-
class
models_v2.file_extension_filter.
FileExtensionFilter
(file_extensions_list=None, is_enabled=None, mode=None)[source]¶ Bases:
object
Implementation of the ‘FileExtensionFilter’ model.
TODO: type model description here.
- 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.