Package ai.reveng.model
Class ConversationContext
java.lang.Object
ai.reveng.model.ConversationContext
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ConversationContext
extends Object
ConversationContext
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalysisId(Long analysisId) booleanstatic ConversationContextCreate an instance of ConversationContext given an JSON stringfunctionId(Long functionId) Get analysisIdGet functionIdinthashCode()voidsetAnalysisId(Long analysisId) voidsetFunctionId(Long functionId) toJson()Convert an instance of ConversationContext 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_ANALYSIS_ID
- See Also:
-
SERIALIZED_NAME_FUNCTION_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ConversationContext
public ConversationContext()
-
-
Method Details
-
analysisId
-
getAnalysisId
Get analysisId- Returns:
- analysisId
-
setAnalysisId
-
functionId
-
getFunctionId
Get functionId- Returns:
- functionId
-
setFunctionId
-
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 ConversationContext
-
fromJson
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
Convert an instance of ConversationContext to an JSON string- Returns:
- JSON string
-