models.update_infected_file_params module

class models.update_infected_file_params.UpdateInfectedFileParams(infected_file_ids=None, remediation_state=None)[source]

Bases: object

Implementation of the ‘UpdateInfectedFileParams’ model.

TODO: type model description here.

Attributes:
infected_file_ids (list of InfectedFileParam): Specifies the list of

infected file identifiers.

remediation_state (RemediationStateUpdateInfectedFileParamsEnum):

Specifies the remediation state of the file. Not setting any value to remediation state will reset the infected 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.

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.