Package ai.reveng.model
Class EventRUNERROR
java.lang.Object
ai.reveng.model.EventRUNERROR
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class EventRUNERROR
extends Object
EventRUNERROR
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe event name. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata(SseEventRunErrorData data) booleanevent(EventRUNERROR.EventEnum event) static EventRUNERRORCreate an instance of EventRUNERROR given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()Get datagetEvent()The event name.getId()The event ID.getRetry()The retry time in milliseconds.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(SseEventRunErrorData data) voidsetEvent(EventRUNERROR.EventEnum event) voidvoidtoJson()Convert an instance of EventRUNERROR 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_DATA
- See Also:
-
SERIALIZED_NAME_EVENT
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_RETRY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EventRUNERROR
public EventRUNERROR()
-
-
Method Details
-
data
-
getData
Get data- Returns:
- data
-
setData
-
event
-
getEvent
The event name.- Returns:
- event
-
setEvent
-
id
-
getId
The event ID.- Returns:
- id
-
setId
-
retry
-
getRetry
The retry time in milliseconds.- Returns:
- retry
-
setRetry
-
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 EventRUNERROR 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 EventRUNERROR
-
fromJson
Create an instance of EventRUNERROR given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EventRUNERROR
- Throws:
IOException- if the JSON string is invalid with respect to EventRUNERROR
-
toJson
Convert an instance of EventRUNERROR to an JSON string- Returns:
- JSON string
-