Class TokenisedData

java.lang.Object
ai.reveng.model.TokenisedData

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

  • Constructor Details

    • TokenisedData

      public TokenisedData()
    • TokenisedData

      public TokenisedData(URI $schema)
  • Method Details

    • get$Schema

      @Nullable public URI get$Schema()
      A URL to the JSON Schema for this object.
      Returns:
      $schema
    • functionMapping

      public TokenisedData functionMapping(@Nullable FunctionMapping functionMapping)
    • getFunctionMapping

      @Nullable public FunctionMapping getFunctionMapping()
      Complete mapping data for token resolution
      Returns:
      functionMapping
    • setFunctionMapping

      public void setFunctionMapping(@Nullable FunctionMapping functionMapping)
    • predictedFunctionName

      public TokenisedData predictedFunctionName(@Nullable String predictedFunctionName)
    • getPredictedFunctionName

      @Nullable public String getPredictedFunctionName()
      Predicted function name from the AI model
      Returns:
      predictedFunctionName
    • setPredictedFunctionName

      public void setPredictedFunctionName(@Nullable String predictedFunctionName)
    • status

      public TokenisedData status(@Nonnull TokenisedData.StatusEnum status)
    • getStatus

      @Nonnull public TokenisedData.StatusEnum getStatus()
      Task status
      Returns:
      status
    • setStatus

      public void setStatus(@Nonnull TokenisedData.StatusEnum status)
    • tokenisedDecompilation

      public TokenisedData tokenisedDecompilation(@Nullable String tokenisedDecompilation)
    • getTokenisedDecompilation

      @Nullable public String getTokenisedDecompilation()
      Source code with placeholder tokens
      Returns:
      tokenisedDecompilation
    • setTokenisedDecompilation

      public void setTokenisedDecompilation(@Nullable String tokenisedDecompilation)
    • putAdditionalProperty

      public TokenisedData putAdditionalProperty(String key, Object value)
      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 property
      value - value of the property
      Returns:
      the TokenisedData instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 TokenisedData
    • fromJson

      public static TokenisedData fromJson(String jsonString) throws IOException
      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

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