Package ai.reveng.model
Class ServerSentEventsInner1
java.lang.Object
ai.reveng.model.AbstractOpenApiSchema
ai.reveng.model.ServerSentEventsInner1
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ServerSentEventsInner1
extends AbstractOpenApiSchema
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerSentEventsInner1Create an instance of ServerSentEventsInner1 given an JSON stringGet the actual instance, which can be the following: EventAttemptFailed, EventAttemptStarted, EventDecompFailed, EventDecompFinished, EventProse, EventRenameApplied, EventSourceDelta, EventSourceReset, EventWarningGet the actual instance of `EventAttemptFailed`.Get the actual instance of `EventAttemptStarted`.Get the actual instance of `EventDecompFailed`.Get the actual instance of `EventDecompFinished`.Get the actual instance of `EventProse`.Get the actual instance of `EventRenameApplied`.Get the actual instance of `EventSourceDelta`.Get the actual instance of `EventSourceReset`.Get the actual instance of `EventWarning`.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: EventAttemptFailed, EventAttemptStarted, EventDecompFailed, EventDecompFinished, EventProse, EventRenameApplied, EventSourceDelta, EventSourceReset, EventWarning It could be an instance of the 'oneOf' schemas.toJson()Convert an instance of ServerSentEventsInner1 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
-
ServerSentEventsInner1
public ServerSentEventsInner1() -
ServerSentEventsInner1
-
-
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: EventAttemptFailed, EventAttemptStarted, EventDecompFailed, EventDecompFinished, EventProse, EventRenameApplied, EventSourceDelta, EventSourceReset, EventWarning 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: EventAttemptFailed, EventAttemptStarted, EventDecompFailed, EventDecompFinished, EventProse, EventRenameApplied, EventSourceDelta, EventSourceReset, EventWarning- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (EventAttemptFailed, EventAttemptStarted, EventDecompFailed, EventDecompFinished, EventProse, EventRenameApplied, EventSourceDelta, EventSourceReset, EventWarning)
-
getEventAttemptFailed
Get the actual instance of `EventAttemptFailed`. If the actual instance is not `EventAttemptFailed`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventAttemptFailed`
- Throws:
ClassCastException- if the instance is not `EventAttemptFailed`
-
getEventAttemptStarted
Get the actual instance of `EventAttemptStarted`. If the actual instance is not `EventAttemptStarted`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventAttemptStarted`
- Throws:
ClassCastException- if the instance is not `EventAttemptStarted`
-
getEventDecompFailed
Get the actual instance of `EventDecompFailed`. If the actual instance is not `EventDecompFailed`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventDecompFailed`
- Throws:
ClassCastException- if the instance is not `EventDecompFailed`
-
getEventDecompFinished
Get the actual instance of `EventDecompFinished`. If the actual instance is not `EventDecompFinished`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventDecompFinished`
- Throws:
ClassCastException- if the instance is not `EventDecompFinished`
-
getEventProse
Get the actual instance of `EventProse`. If the actual instance is not `EventProse`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventProse`
- Throws:
ClassCastException- if the instance is not `EventProse`
-
getEventRenameApplied
Get the actual instance of `EventRenameApplied`. If the actual instance is not `EventRenameApplied`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventRenameApplied`
- Throws:
ClassCastException- if the instance is not `EventRenameApplied`
-
getEventSourceDelta
Get the actual instance of `EventSourceDelta`. If the actual instance is not `EventSourceDelta`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventSourceDelta`
- Throws:
ClassCastException- if the instance is not `EventSourceDelta`
-
getEventSourceReset
Get the actual instance of `EventSourceReset`. If the actual instance is not `EventSourceReset`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventSourceReset`
- Throws:
ClassCastException- if the instance is not `EventSourceReset`
-
getEventWarning
Get the actual instance of `EventWarning`. If the actual instance is not `EventWarning`, the ClassCastException will be thrown.- Returns:
- The actual instance of `EventWarning`
- Throws:
ClassCastException- if the instance is not `EventWarning`
-
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 ServerSentEventsInner1
-
fromJson
Create an instance of ServerSentEventsInner1 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ServerSentEventsInner1
- Throws:
IOException- if the JSON string is invalid with respect to ServerSentEventsInner1
-
toJson
Convert an instance of ServerSentEventsInner1 to an JSON string- Returns:
- JSON string
-