Class RenameInputBody

java.lang.Object
ai.reveng.model.RenameInputBody

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

  • Constructor Details

    • RenameInputBody

      public RenameInputBody()
  • Method Details

    • newMangledName

      public RenameInputBody newMangledName(@Nullable String newMangledName)
    • getNewMangledName

      @Nullable public String getNewMangledName()
      New mangled function name
      Returns:
      newMangledName
    • setNewMangledName

      public void setNewMangledName(@Nullable String newMangledName)
    • newName

      public RenameInputBody newName(@Nonnull String newName)
    • getNewName

      @Nonnull public String getNewName()
      New function name
      Returns:
      newName
    • setNewName

      public void setNewName(@Nonnull String newName)
    • preserveAiDecompilation

      public RenameInputBody preserveAiDecompilation(@Nullable Boolean preserveAiDecompilation)
    • getPreserveAiDecompilation

      @Nullable public Boolean getPreserveAiDecompilation()
      Keep the cached AI decompilation, summary and inline comments. Set when the new name comes from the model's own prediction (e.g. Transfer Name) so existing AI output is not discarded and regenerated.
      Returns:
      preserveAiDecompilation
    • setPreserveAiDecompilation

      public void setPreserveAiDecompilation(@Nullable Boolean preserveAiDecompilation)
    • 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 RenameInputBody
    • fromJson

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

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