Class DieMatch

java.lang.Object
ai.reveng.model.DieMatch

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

  • Constructor Details

    • DieMatch

      public DieMatch()
  • Method Details

    • name

      public DieMatch name(@Nonnull String name)
    • getName

      @Nonnull public String getName()
      Canonical name of the matched signature/technology (e.g., 'UPX', 'GCC', 'MSVC').
      Returns:
      name
    • setName

      public void setName(@Nonnull String name)
    • type

      public DieMatch type(@Nonnull String type)
    • getType

      @Nonnull public String getType()
      Category assigned by DIE for the match (e.g., 'compiler', 'packer', 'file').
      Returns:
      type
    • setType

      public void setType(@Nonnull String type)
    • display

      public DieMatch display(@Nonnull String display)
    • getDisplay

      @Nonnull public String getDisplay()
      Human-readable description from DIE's 'string' field; suitable for UI/logs, not for parsing.
      Returns:
      display
    • setDisplay

      public void setDisplay(@Nonnull String display)
    • version

      public DieMatch version(@Nonnull String version)
    • getVersion

      @Nonnull public String getVersion()
      Extracted version string when available; may be empty/None if unknown.
      Returns:
      version
    • setVersion

      public void setVersion(@Nonnull String version)
    • putAdditionalProperty

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

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

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