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) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get analysisIdGet functionIdinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.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
-
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 ConversationContext 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 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
-