Package ai.reveng.model
Class PcapBodyInfo
java.lang.Object
ai.reveng.model.PcapBodyInfo
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class PcapBodyInfo
extends Object
PcapBodyInfo
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddYaraHitsItem(String yaraHitsItem) booleanstatic PcapBodyInfoCreate an instance of PcapBodyInfo given an JSON stringGet filenamegetIsPe()Get isPeGet mimeTypeGet previewGet sha256getSize()Get sizeGet yaraHitsinthashCode()voidsetFilename(String filename) voidvoidsetMimeType(String mimeType) voidsetPreview(String preview) voidvoidvoidsetYaraHits(List<String> yaraHits) toJson()Convert an instance of PcapBodyInfo 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_FILENAME
- See Also:
-
SERIALIZED_NAME_IS_PE
- See Also:
-
SERIALIZED_NAME_MIME_TYPE
- See Also:
-
SERIALIZED_NAME_PREVIEW
- See Also:
-
SERIALIZED_NAME_SHA256
- See Also:
-
SERIALIZED_NAME_SIZE
- See Also:
-
SERIALIZED_NAME_YARA_HITS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PcapBodyInfo
public PcapBodyInfo()
-
-
Method Details
-
filename
-
getFilename
Get filename- Returns:
- filename
-
setFilename
-
isPe
-
getIsPe
Get isPe- Returns:
- isPe
-
setIsPe
-
mimeType
-
getMimeType
Get mimeType- Returns:
- mimeType
-
setMimeType
-
preview
-
getPreview
Get preview- Returns:
- preview
-
setPreview
-
sha256
-
getSha256
Get sha256- Returns:
- sha256
-
setSha256
-
size
-
getSize
Get size- Returns:
- size
-
setSize
-
yaraHits
-
addYaraHitsItem
-
getYaraHits
Get yaraHits- Returns:
- yaraHits
-
setYaraHits
-
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 PcapBodyInfo
-
fromJson
Create an instance of PcapBodyInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PcapBodyInfo
- Throws:
IOException- if the JSON string is invalid with respect to PcapBodyInfo
-
toJson
Convert an instance of PcapBodyInfo to an JSON string- Returns:
- JSON string
-