Class MatchedFunctionSuggestion

java.lang.Object
ai.reveng.model.MatchedFunctionSuggestion

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

  • Constructor Details

    • MatchedFunctionSuggestion

      public MatchedFunctionSuggestion()
  • Method Details

    • functionId

      public MatchedFunctionSuggestion functionId(@Nonnull Integer functionId)
    • getFunctionId

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

      public void setFunctionId(@Nonnull Integer functionId)
    • functionVaddr

      public MatchedFunctionSuggestion functionVaddr(@Nonnull Integer functionVaddr)
    • getFunctionVaddr

      @Nonnull public Integer getFunctionVaddr()
      Virtual address of the matched function
      Returns:
      functionVaddr
    • setFunctionVaddr

      public void setFunctionVaddr(@Nonnull Integer functionVaddr)
    • suggestedName

      public MatchedFunctionSuggestion suggestedName(@Nonnull String suggestedName)
    • getSuggestedName

      @Nonnull public String getSuggestedName()
      Name of the function group that contains the matched functions
      Returns:
      suggestedName
    • setSuggestedName

      public void setSuggestedName(@Nonnull String suggestedName)
    • 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 MatchedFunctionSuggestion
    • fromJson

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

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