Class BinaryExternalsResponse

java.lang.Object
ai.reveng.model.BinaryExternalsResponse

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

  • Constructor Details

    • BinaryExternalsResponse

      public BinaryExternalsResponse()
  • Method Details

    • sha256Hash

      public BinaryExternalsResponse sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

      @Nonnull public String getSha256Hash()
      SHA256 hash of the binary
      Returns:
      sha256Hash
    • setSha256Hash

      public void setSha256Hash(@Nonnull String sha256Hash)
    • vt

      public BinaryExternalsResponse vt(@Nonnull Map<String,Object> vt)
    • putVtItem

      public BinaryExternalsResponse putVtItem(String key, Object vtItem)
    • getVt

      @Nonnull public Map<String,Object> getVt()
      VirusTotal information
      Returns:
      vt
    • setVt

      public void setVt(@Nonnull Map<String,Object> vt)
    • vtLastUpdated

      public BinaryExternalsResponse vtLastUpdated(@Nonnull OffsetDateTime vtLastUpdated)
    • getVtLastUpdated

      @Nonnull public OffsetDateTime getVtLastUpdated()
      VirusTotal last updated date
      Returns:
      vtLastUpdated
    • setVtLastUpdated

      public void setVtLastUpdated(@Nonnull OffsetDateTime vtLastUpdated)
    • mb

      public BinaryExternalsResponse mb(@Nonnull Map<String,Object> mb)
    • putMbItem

      public BinaryExternalsResponse putMbItem(String key, Object mbItem)
    • getMb

      @Nonnull public Map<String,Object> getMb()
      MalwareBazaar information
      Returns:
      mb
    • setMb

      public void setMb(@Nonnull Map<String,Object> mb)
    • mbLastUpdated

      public BinaryExternalsResponse mbLastUpdated(@Nonnull OffsetDateTime mbLastUpdated)
    • getMbLastUpdated

      @Nonnull public OffsetDateTime getMbLastUpdated()
      MalwareBazaar last updated date
      Returns:
      mbLastUpdated
    • setMbLastUpdated

      public void setMbLastUpdated(@Nonnull OffsetDateTime mbLastUpdated)
    • putAdditionalProperty

      public BinaryExternalsResponse 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 BinaryExternalsResponse 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 BinaryExternalsResponse
    • fromJson

      public static BinaryExternalsResponse fromJson(String jsonString) throws IOException
      Create an instance of BinaryExternalsResponse given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of BinaryExternalsResponse
      Throws:
      IOException - if the JSON string is invalid with respect to BinaryExternalsResponse
    • toJson

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