Class ConversationContext

java.lang.Object
ai.reveng.model.ConversationContext

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

  • Constructor Details

    • ConversationContext

      public ConversationContext()
  • Method Details

    • analysisId

      public ConversationContext analysisId(@Nullable Long analysisId)
    • getAnalysisId

      @Nullable public Long getAnalysisId()
      Get analysisId
      Returns:
      analysisId
    • setAnalysisId

      public void setAnalysisId(@Nullable Long analysisId)
    • functionId

      public ConversationContext functionId(@Nullable Long functionId)
    • getFunctionId

      @Nullable public Long getFunctionId()
      Get functionId
      Returns:
      functionId
    • setFunctionId

      public void setFunctionId(@Nullable Long functionId)
    • 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 ConversationContext
    • fromJson

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

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