Class MatchedFunction

java.lang.Object
ai.reveng.model.MatchedFunction

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

  • Constructor Details

    • MatchedFunction

      public MatchedFunction()
  • Method Details

    • functionId

      public MatchedFunction functionId(@Nonnull Integer functionId)
    • getFunctionId

      @Nonnull public Integer getFunctionId()
      Get functionId
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nonnull Integer functionId)
    • binaryId

      public MatchedFunction binaryId(@Nonnull Integer binaryId)
    • getBinaryId

      @Nonnull public Integer getBinaryId()
      Get binaryId
      Returns:
      binaryId
    • setBinaryId

      public void setBinaryId(@Nonnull Integer binaryId)
    • functionName

      public MatchedFunction functionName(@Nonnull String functionName)
    • getFunctionName

      @Nonnull public String getFunctionName()
      Get functionName
      Returns:
      functionName
    • setFunctionName

      public void setFunctionName(@Nonnull String functionName)
    • functionVaddr

      public MatchedFunction functionVaddr(@Nonnull Integer functionVaddr)
    • getFunctionVaddr

      @Nonnull public Integer getFunctionVaddr()
      Get functionVaddr
      Returns:
      functionVaddr
    • setFunctionVaddr

      public void setFunctionVaddr(@Nonnull Integer functionVaddr)
    • mangledName

      public MatchedFunction mangledName(@Nullable String mangledName)
    • getMangledName

      @Nullable public String getMangledName()
      Get mangledName
      Returns:
      mangledName
    • setMangledName

      public void setMangledName(@Nullable String mangledName)
    • debug

      public MatchedFunction debug(@Nonnull Boolean debug)
    • getDebug

      @Nonnull public Boolean getDebug()
      Get debug
      Returns:
      debug
    • setDebug

      public void setDebug(@Nonnull Boolean debug)
    • binaryName

      public MatchedFunction binaryName(@Nonnull String binaryName)
    • getBinaryName

      @Nonnull public String getBinaryName()
      Get binaryName
      Returns:
      binaryName
    • setBinaryName

      public void setBinaryName(@Nonnull String binaryName)
    • sha256Hash

      public MatchedFunction sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

      @Nonnull public String getSha256Hash()
      Get sha256Hash
      Returns:
      sha256Hash
    • setSha256Hash

      public void setSha256Hash(@Nonnull String sha256Hash)
    • analysisId

      public MatchedFunction analysisId(@Nonnull Integer analysisId)
    • getAnalysisId

      @Nonnull public Integer getAnalysisId()
      Get analysisId
      Returns:
      analysisId
    • setAnalysisId

      public void setAnalysisId(@Nonnull Integer analysisId)
    • similarity

      public MatchedFunction similarity(@Nullable BigDecimal similarity)
    • getSimilarity

      @Nullable public BigDecimal getSimilarity()
      Get similarity
      Returns:
      similarity
    • setSimilarity

      public void setSimilarity(@Nullable BigDecimal similarity)
    • confidence

      public MatchedFunction confidence(@Nullable BigDecimal confidence)
    • getConfidence

      @Nullable public BigDecimal getConfidence()
      Get confidence
      Returns:
      confidence
    • setConfidence

      public void setConfidence(@Nullable BigDecimal confidence)
    • 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 MatchedFunction
    • fromJson

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

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