Class BatchRenameItem

java.lang.Object
ai.reveng.model.BatchRenameItem

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

  • Constructor Details

    • BatchRenameItem

      public BatchRenameItem()
  • Method Details

    • functionId

      public BatchRenameItem functionId(@Nonnull Long functionId)
    • getFunctionId

      @Nonnull public Long getFunctionId()
      Function ID to rename minimum: 1
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nonnull Long functionId)
    • newMangledName

      public BatchRenameItem newMangledName(@Nullable String newMangledName)
    • getNewMangledName

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

      public void setNewMangledName(@Nullable String newMangledName)
    • newName

      public BatchRenameItem newName(@Nonnull String newName)
    • getNewName

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

      public void setNewName(@Nonnull String newName)
    • 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 BatchRenameItem
    • fromJson

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

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