Package ai.reveng.model
Class FileHashes
java.lang.Object
ai.reveng.model.FileHashes
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class FileHashes
extends Object
FileHashes
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FileHashesCreate an instance of FileHashes given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getMd5()Get md5getSha1()Get sha1Get sha256Get sha3224Get sha3256Get sha3384Get sha3512Get sha512inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidsetSha3224(String sha3224) voidsetSha3256(String sha3256) voidsetSha3384(String sha3384) voidsetSha3512(String sha3512) voidtoJson()Convert an instance of FileHashes 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_MD5
- See Also:
-
SERIALIZED_NAME_SHA1
- See Also:
-
SERIALIZED_NAME_SHA256
- See Also:
-
SERIALIZED_NAME_SHA512
- See Also:
-
SERIALIZED_NAME_SHA3224
- See Also:
-
SERIALIZED_NAME_SHA3256
- See Also:
-
SERIALIZED_NAME_SHA3384
- See Also:
-
SERIALIZED_NAME_SHA3512
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FileHashes
public FileHashes()
-
-
Method Details
-
md5
-
getMd5
Get md5- Returns:
- md5
-
setMd5
-
sha1
-
getSha1
Get sha1- Returns:
- sha1
-
setSha1
-
sha256
-
getSha256
Get sha256- Returns:
- sha256
-
setSha256
-
sha512
-
getSha512
Get sha512- Returns:
- sha512
-
setSha512
-
sha3224
-
getSha3224
Get sha3224- Returns:
- sha3224
-
setSha3224
-
sha3256
-
getSha3256
Get sha3256- Returns:
- sha3256
-
setSha3256
-
sha3384
-
getSha3384
Get sha3384- Returns:
- sha3384
-
setSha3384
-
sha3512
-
getSha3512
Get sha3512- Returns:
- sha3512
-
setSha3512
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the FileHashes instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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 FileHashes
-
fromJson
Create an instance of FileHashes given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FileHashes
- Throws:
IOException- if the JSON string is invalid with respect to FileHashes
-
toJson
Convert an instance of FileHashes to an JSON string- Returns:
- JSON string
-