models.infected_file_param module¶
-
class
models.infected_file_param.
InfectedFileParam
(entity_id=None, remediation_state=None, root_inode_id=None, view_id=None)[source]¶ Bases:
object
Implementation of the ‘InfectedFileParam’ model.
Specifies the parameters to delete a infected file.
- Attributes:
entity_id (long|int): Specifies the entity id of the infected file. remediation_state (RemediationStateEnum): Specifies the remediation
state of the file. Remediation State. ‘kQuarantine’ indicates ‘Quarantine’ state of the file. This state blocks the client access. The administrator will have to manually delete, rescan or unquarantine the file. ‘kUnquarantine’ indicates ‘Unquarantine’ state of the file. The administrator has manually moved files from quarantined to the unquarantined state to allow client access. Unquarantined files are not scanned for virus until manually reset.
- root_inode_id (long|int): Specifies the root inode id of the file
system that infected file belongs to.
- view_id (long|int): Specifies the id of the View the infected file
belongs to.
-
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.