models.infected_files module¶
-
class
models.infected_files.
InfectedFiles
(infected_files=None, pagination_cookie=None)[source]¶ Bases:
object
Implementation of the ‘InfectedFiles’ model.
Specifies the Result parameters for all infected files.
- Attributes:
infected_files (list of InfectedFile): Specifies the infected files. pagination_cookie (string): This cookie can be used in the succeeding
call to list infected files to get the next set of infected files. If set to nil, it means that there’s no more results that the server could provide.
-
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.