Package ai.reveng.model
Class RenameInputBody
java.lang.Object
ai.reveng.model.RenameInputBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RenameInputBody
extends Object
RenameInputBody
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RenameInputBodyCreate an instance of RenameInputBody given an JSON stringNew mangled function nameNew function nameKeep the cached AI decompilation, summary and inline comments.inthashCode()newMangledName(String newMangledName) preserveAiDecompilation(Boolean preserveAiDecompilation) voidsetNewMangledName(String newMangledName) voidsetNewName(String newName) voidsetPreserveAiDecompilation(Boolean preserveAiDecompilation) toJson()Convert an instance of RenameInputBody to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NEW_MANGLED_NAME
- See Also:
-
SERIALIZED_NAME_NEW_NAME
- See Also:
-
SERIALIZED_NAME_PRESERVE_AI_DECOMPILATION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RenameInputBody
public RenameInputBody()
-
-
Method Details
-
newMangledName
-
getNewMangledName
New mangled function name- Returns:
- newMangledName
-
setNewMangledName
-
newName
-
getNewName
New function name- Returns:
- newName
-
setNewName
-
preserveAiDecompilation
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of RenameInputBody to an JSON string- Returns:
- JSON string
-