Class FileHashes

java.lang.Object
ai.reveng.model.FileHashes

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class FileHashes extends Object
FileHashes
  • Field Details

  • Constructor Details

    • FileHashes

      public FileHashes()
  • Method Details

    • md5

      public FileHashes md5(@Nullable String md5)
    • getMd5

      @Nullable public String getMd5()
      Get md5
      Returns:
      md5
    • setMd5

      public void setMd5(@Nullable String md5)
    • sha1

      public FileHashes sha1(@Nullable String sha1)
    • getSha1

      @Nullable public String getSha1()
      Get sha1
      Returns:
      sha1
    • setSha1

      public void setSha1(@Nullable String sha1)
    • sha256

      public FileHashes sha256(@Nullable String sha256)
    • getSha256

      @Nullable public String getSha256()
      Get sha256
      Returns:
      sha256
    • setSha256

      public void setSha256(@Nullable String sha256)
    • sha512

      public FileHashes sha512(@Nullable String sha512)
    • getSha512

      @Nullable public String getSha512()
      Get sha512
      Returns:
      sha512
    • setSha512

      public void setSha512(@Nullable String sha512)
    • sha3224

      public FileHashes sha3224(@Nullable String sha3224)
    • getSha3224

      @Nullable public String getSha3224()
      Get sha3224
      Returns:
      sha3224
    • setSha3224

      public void setSha3224(@Nullable String sha3224)
    • sha3256

      public FileHashes sha3256(@Nullable String sha3256)
    • getSha3256

      @Nullable public String getSha3256()
      Get sha3256
      Returns:
      sha3256
    • setSha3256

      public void setSha3256(@Nullable String sha3256)
    • sha3384

      public FileHashes sha3384(@Nullable String sha3384)
    • getSha3384

      @Nullable public String getSha3384()
      Get sha3384
      Returns:
      sha3384
    • setSha3384

      public void setSha3384(@Nullable String sha3384)
    • sha3512

      public FileHashes sha3512(@Nullable String sha3512)
    • getSha3512

      @Nullable public String getSha3512()
      Get sha3512
      Returns:
      sha3512
    • setSha3512

      public void setSha3512(@Nullable String sha3512)
    • putAdditionalProperty

      public FileHashes putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the FileHashes instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static FileHashes fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of FileHashes to an JSON string
      Returns:
      JSON string