Package ai.reveng.model
Class TokenisedData
java.lang.Object
ai.reveng.model.TokenisedData
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class TokenisedData
extends Object
TokenisedData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumTask status -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic TokenisedDataCreate an instance of TokenisedData given an JSON stringfunctionMapping(AIDecompFunctionMapping functionMapping) Complete mapping data for token resolutionPredicted function name from the AI modelTask statusSource code with placeholder tokensinthashCode()predictedFunctionName(String predictedFunctionName) voidsetFunctionMapping(AIDecompFunctionMapping functionMapping) voidsetPredictedFunctionName(String predictedFunctionName) voidsetStatus(TokenisedData.StatusEnum status) voidsetTokenisedDecompilation(String tokenisedDecompilation) status(TokenisedData.StatusEnum status) toJson()Convert an instance of TokenisedData to an JSON stringtokenisedDecompilation(String tokenisedDecompilation) toString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FUNCTION_MAPPING
- See Also:
-
SERIALIZED_NAME_PREDICTED_FUNCTION_NAME
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TOKENISED_DECOMPILATION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TokenisedData
public TokenisedData()
-
-
Method Details
-
functionMapping
-
getFunctionMapping
Complete mapping data for token resolution- Returns:
- functionMapping
-
setFunctionMapping
-
predictedFunctionName
-
getPredictedFunctionName
Predicted function name from the AI model- Returns:
- predictedFunctionName
-
setPredictedFunctionName
-
status
-
getStatus
Task status- Returns:
- status
-
setStatus
-
tokenisedDecompilation
-
getTokenisedDecompilation
Source code with placeholder tokens- Returns:
- tokenisedDecompilation
-
setTokenisedDecompilation
-
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 TokenisedData
-
fromJson
Create an instance of TokenisedData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TokenisedData
- Throws:
IOException- if the JSON string is invalid with respect to TokenisedData
-
toJson
Convert an instance of TokenisedData to an JSON string- Returns:
- JSON string
-