Package ai.reveng.model
Class ServerSentEventsInner
java.lang.Object
ai.reveng.model.AbstractOpenApiSchema
ai.reveng.model.ServerSentEventsInner
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ServerSentEventsInner
extends AbstractOpenApiSchema
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerSentEventsInnerCreate an instance of ServerSentEventsInner given an JSON stringGet the actual instance, which can be the following: EventCONTEXTCOMPACTED, EventRUNCANCELLED, EventRUNERROR, EventRUNFINISHED, EventRUNSTARTED, EventSTEPFINISHED, EventSTEPSTARTED, EventTEXTMESSAGECONTENT, EventTEXTMESSAGEEND, EventTEXTMESSAGESTART, EventTITLEUPDATED, EventTOOLCALLARGSDELTA, EventTOOLCALLEND, EventTOOLCALLPROGRESS, EventTOOLCALLRESULT, EventTOOLCALLSTART, EventTOOLCONFIRMATIONREQUIREDGet the actual instance of `EventCONTEXTCOMPACTED`.Get the actual instance of `EventRUNCANCELLED`.Get the actual instance of `EventRUNERROR`.Get the actual instance of `EventRUNFINISHED`.Get the actual instance of `EventRUNSTARTED`.Get the actual instance of `EventSTEPFINISHED`.Get the actual instance of `EventSTEPSTARTED`.Get the actual instance of `EventTEXTMESSAGECONTENT`.Get the actual instance of `EventTEXTMESSAGEEND`.Get the actual instance of `EventTEXTMESSAGESTART`.Get the actual instance of `EventTITLEUPDATED`.Get the actual instance of `EventTOOLCALLARGSDELTA`.Get the actual instance of `EventTOOLCALLEND`.Get the actual instance of `EventTOOLCALLPROGRESS`.Get the actual instance of `EventTOOLCALLRESULT`.Get the actual instance of `EventTOOLCALLSTART`.Get the actual instance of `EventTOOLCONFIRMATIONREQUIRED`.Get the list of oneOf/anyOf composed schemas allowed to be stored in this objectvoidsetActualInstance(Object instance) Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: EventCONTEXTCOMPACTED, EventRUNCANCELLED, EventRUNERROR, EventRUNFINISHED, EventRUNSTARTED, EventSTEPFINISHED, EventSTEPSTARTED, EventTEXTMESSAGECONTENT, EventTEXTMESSAGEEND, EventTEXTMESSAGESTART, EventTITLEUPDATED, EventTOOLCALLARGSDELTA, EventTOOLCALLEND, EventTOOLCALLPROGRESS, EventTOOLCALLRESULT, EventTOOLCALLSTART, EventTOOLCONFIRMATIONREQUIRED It could be an instance of the 'oneOf' schemas.toJson()Convert an instance of ServerSentEventsInner to an JSON stringstatic voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundMethods inherited from class ai.reveng.model.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
Field Details
-
schemas
-
-
Constructor Details
-
ServerSentEventsInner
public ServerSentEventsInner() -
ServerSentEventsInner
-
-
Method Details
-
getSchemas
Description copied from class:AbstractOpenApiSchemaGet the list of oneOf/anyOf composed schemas allowed to be stored in this object- Specified by:
getSchemasin classAbstractOpenApiSchema- Returns:
- an instance of the actual schema/object
-
setActualInstance
Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: EventCONTEXTCOMPACTED, EventRUNCANCELLED, EventRUNERROR, EventRUNFINISHED, EventRUNSTARTED, EventSTEPFINISHED, EventSTEPSTARTED, EventTEXTMESSAGECONTENT, EventTEXTMESSAGEEND, EventTEXTMESSAGESTART, EventTITLEUPDATED, EventTOOLCALLARGSDELTA, EventTOOLCALLEND, EventTOOLCALLPROGRESS, EventTOOLCALLRESULT, EventTOOLCALLSTART, EventTOOLCONFIRMATIONREQUIRED It could be an instance of the 'oneOf' schemas.- Overrides:
setActualInstancein classAbstractOpenApiSchema- Parameters:
instance- the actual instance of the schema/object
-
getActualInstance
Get the actual instance, which can be the following: EventCONTEXTCOMPACTED, EventRUNCANCELLED, EventRUNERROR, EventRUNFINISHED, EventRUNSTARTED, EventSTEPFINISHED, EventSTEPSTARTED, EventTEXTMESSAGECONTENT, EventTEXTMESSAGEEND, EventTEXTMESSAGESTART, EventTITLEUPDATED, EventTOOLCALLARGSDELTA, EventTOOLCALLEND, EventTOOLCALLPROGRESS, EventTOOLCALLRESULT, EventTOOLCALLSTART, EventTOOLCONFIRMATIONREQUIRED- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (EventCONTEXTCOMPACTED, EventRUNCANCELLED, EventRUNERROR, EventRUNFINISHED, EventRUNSTARTED, EventSTEPFINISHED, EventSTEPSTARTED, EventTEXTMESSAGECONTENT, EventTEXTMESSAGEEND, EventTEXTMESSAGESTART, EventTITLEUPDATED, EventTOOLCALLARGSDELTA, EventTOOLCALLEND, EventTOOLCALLPROGRESS, EventTOOLCALLRESULT, EventTOOLCALLSTART, EventTOOLCONFIRMATIONREQUIRED)
-
getEventCONTEXTCOMPACTED
Get the actual instance of `EventCONTEXTCOMPACTED`. If the actual instance is not `EventCONTEXTCOMPACTED`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventCONTEXTCOMPACTED`
- Throws:
ClassCastException- if the instance is not `EventCONTEXTCOMPACTED`
-
getEventRUNCANCELLED
Get the actual instance of `EventRUNCANCELLED`. If the actual instance is not `EventRUNCANCELLED`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventRUNCANCELLED`
- Throws:
ClassCastException- if the instance is not `EventRUNCANCELLED`
-
getEventRUNERROR
Get the actual instance of `EventRUNERROR`. If the actual instance is not `EventRUNERROR`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventRUNERROR`
- Throws:
ClassCastException- if the instance is not `EventRUNERROR`
-
getEventRUNFINISHED
Get the actual instance of `EventRUNFINISHED`. If the actual instance is not `EventRUNFINISHED`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventRUNFINISHED`
- Throws:
ClassCastException- if the instance is not `EventRUNFINISHED`
-
getEventRUNSTARTED
Get the actual instance of `EventRUNSTARTED`. If the actual instance is not `EventRUNSTARTED`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventRUNSTARTED`
- Throws:
ClassCastException- if the instance is not `EventRUNSTARTED`
-
getEventSTEPFINISHED
Get the actual instance of `EventSTEPFINISHED`. If the actual instance is not `EventSTEPFINISHED`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventSTEPFINISHED`
- Throws:
ClassCastException- if the instance is not `EventSTEPFINISHED`
-
getEventSTEPSTARTED
Get the actual instance of `EventSTEPSTARTED`. If the actual instance is not `EventSTEPSTARTED`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventSTEPSTARTED`
- Throws:
ClassCastException- if the instance is not `EventSTEPSTARTED`
-
getEventTEXTMESSAGECONTENT
Get the actual instance of `EventTEXTMESSAGECONTENT`. If the actual instance is not `EventTEXTMESSAGECONTENT`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTEXTMESSAGECONTENT`
- Throws:
ClassCastException- if the instance is not `EventTEXTMESSAGECONTENT`
-
getEventTEXTMESSAGEEND
Get the actual instance of `EventTEXTMESSAGEEND`. If the actual instance is not `EventTEXTMESSAGEEND`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTEXTMESSAGEEND`
- Throws:
ClassCastException- if the instance is not `EventTEXTMESSAGEEND`
-
getEventTEXTMESSAGESTART
Get the actual instance of `EventTEXTMESSAGESTART`. If the actual instance is not `EventTEXTMESSAGESTART`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTEXTMESSAGESTART`
- Throws:
ClassCastException- if the instance is not `EventTEXTMESSAGESTART`
-
getEventTITLEUPDATED
Get the actual instance of `EventTITLEUPDATED`. If the actual instance is not `EventTITLEUPDATED`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTITLEUPDATED`
- Throws:
ClassCastException- if the instance is not `EventTITLEUPDATED`
-
getEventTOOLCALLARGSDELTA
Get the actual instance of `EventTOOLCALLARGSDELTA`. If the actual instance is not `EventTOOLCALLARGSDELTA`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTOOLCALLARGSDELTA`
- Throws:
ClassCastException- if the instance is not `EventTOOLCALLARGSDELTA`
-
getEventTOOLCALLEND
Get the actual instance of `EventTOOLCALLEND`. If the actual instance is not `EventTOOLCALLEND`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTOOLCALLEND`
- Throws:
ClassCastException- if the instance is not `EventTOOLCALLEND`
-
getEventTOOLCALLPROGRESS
Get the actual instance of `EventTOOLCALLPROGRESS`. If the actual instance is not `EventTOOLCALLPROGRESS`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTOOLCALLPROGRESS`
- Throws:
ClassCastException- if the instance is not `EventTOOLCALLPROGRESS`
-
getEventTOOLCALLRESULT
Get the actual instance of `EventTOOLCALLRESULT`. If the actual instance is not `EventTOOLCALLRESULT`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTOOLCALLRESULT`
- Throws:
ClassCastException- if the instance is not `EventTOOLCALLRESULT`
-
getEventTOOLCALLSTART
Get the actual instance of `EventTOOLCALLSTART`. If the actual instance is not `EventTOOLCALLSTART`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTOOLCALLSTART`
- Throws:
ClassCastException- if the instance is not `EventTOOLCALLSTART`
-
getEventTOOLCONFIRMATIONREQUIRED
Get the actual instance of `EventTOOLCONFIRMATIONREQUIRED`. If the actual instance is not `EventTOOLCONFIRMATIONREQUIRED`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventTOOLCONFIRMATIONREQUIRED`
- Throws:
ClassCastException- if the instance is not `EventTOOLCONFIRMATIONREQUIRED`
-
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 ServerSentEventsInner
-
fromJson
Create an instance of ServerSentEventsInner given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ServerSentEventsInner
- Throws:
IOException- if the JSON string is invalid with respect to ServerSentEventsInner
-
toJson
Convert an instance of ServerSentEventsInner to an JSON string- Returns:
- JSON string
-