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(FunctionMapping functionMapping) A URL to the JSON Schema for this object.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Complete mapping data for token resolutionPredicted function name from the AI modelTask statusSource code with placeholder tokensinthashCode()predictedFunctionName(String predictedFunctionName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFunctionMapping(FunctionMapping 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_$_SCHEMA
- See Also:
-
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() -
TokenisedData
-
-
Method Details
-
get$Schema
A URL to the JSON Schema for this object.- Returns:
- $schema
-
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
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the TokenisedData instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-