Package org.openapitools.client.model
Class VirusFound
java.lang.Object
org.openapitools.client.model.VirusFound
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-11-03T08:41:21.483351Z[Etc/UTC]",
comments="Generator version: 7.12.0")
public class VirusFound
extends Object
Virus positively identified
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic VirusFoundCreate an instance of VirusFound given an JSON stringName of the file containing the virusName of the virus that was foundinthashCode()voidsetFileName(String fileName) voidsetVirusName(String virusName) toJson()Convert an instance of VirusFound to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FILE_NAME
- See Also:
-
SERIALIZED_NAME_VIRUS_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
VirusFound
public VirusFound()
-
-
Method Details
-
fileName
-
getFileName
Name of the file containing the virus- Returns:
- fileName
-
setFileName
-
virusName
-
getVirusName
Name of the virus that was found- Returns:
- virusName
-
setVirusName
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to VirusFound
-
fromJson
Create an instance of VirusFound given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of VirusFound
- Throws:
IOException- if the JSON string is invalid with respect to VirusFound
-
toJson
Convert an instance of VirusFound to an JSON string- Returns:
- JSON string
-