Class V2MatchedFunction

java.lang.Object
ai.reveng.model.V2MatchedFunction

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

  • Constructor Details

    • V2MatchedFunction

      public V2MatchedFunction()
  • Method Details

    • functionId

      public V2MatchedFunction functionId(@Nonnull Long functionId)
    • getFunctionId

      @Nonnull public Long getFunctionId()
      Unique identifier of the matched function
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nonnull Long functionId)
    • binaryId

      public V2MatchedFunction binaryId(@Nonnull Integer binaryId)
    • getBinaryId

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

      public void setBinaryId(@Nonnull Integer binaryId)
    • functionName

      public V2MatchedFunction functionName(@Nonnull String functionName)
    • getFunctionName

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

      public void setFunctionName(@Nonnull String functionName)
    • functionVaddr

      public V2MatchedFunction functionVaddr(@Nonnull Long functionVaddr)
    • getFunctionVaddr

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

      public void setFunctionVaddr(@Nonnull Long functionVaddr)
    • mangledName

      public V2MatchedFunction mangledName(@Nonnull String mangledName)
    • getMangledName

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

      public void setMangledName(@Nonnull String mangledName)
    • debug

      public V2MatchedFunction debug(@Nonnull Boolean debug)
    • getDebug

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

      public void setDebug(@Nonnull Boolean debug)
    • binaryName

      public V2MatchedFunction binaryName(@Nonnull String binaryName)
    • getBinaryName

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

      public void setBinaryName(@Nonnull String binaryName)
    • sha256Hash

      public V2MatchedFunction sha256Hash(@Nonnull String sha256Hash)
    • getSha256Hash

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

      public void setSha256Hash(@Nonnull String sha256Hash)
    • analysisId

      public V2MatchedFunction analysisId(@Nonnull Integer analysisId)
    • getAnalysisId

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

      public void setAnalysisId(@Nonnull Integer analysisId)
    • similarity

      public V2MatchedFunction similarity(@Nullable BigDecimal similarity)
    • getSimilarity

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

      public void setSimilarity(@Nullable BigDecimal similarity)
    • confidence

      public V2MatchedFunction confidence(@Nullable BigDecimal confidence)
    • getConfidence

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

      public void setConfidence(@Nullable BigDecimal confidence)
    • putAdditionalProperty

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

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

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