models_v2.scan_filter module

class models_v2.scan_filter.ScanFilter(file_extensions_list=None, is_enabled=None, mode=None)[source]

Bases: object

Implementation of the ‘ScanFilter’ model.

Files extension that meets these filter criteria will be sent to antivirus server for the scan.

file_extensions_list (list of string): The list of file extensions to


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


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.