Package ai.reveng.model
Class EventRUNSTARTED
java.lang.Object
ai.reveng.model.EventRUNSTARTED
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class EventRUNSTARTED
extends Object
EventRUNSTARTED
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe event name. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata(SseEventRunStartedData data) booleanevent(EventRUNSTARTED.EventEnum event) static EventRUNSTARTEDCreate an instance of EventRUNSTARTED 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.voidvoidvoidvoidtoJson()Convert an instance of EventRUNSTARTED 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
-
EventRUNSTARTED
public EventRUNSTARTED()
-
-
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 EventRUNSTARTED 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 EventRUNSTARTED
-
fromJson
Create an instance of EventRUNSTARTED given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EventRUNSTARTED
- Throws:
IOException- if the JSON string is invalid with respect to EventRUNSTARTED
-
toJson
Convert an instance of EventRUNSTARTED to an JSON string- Returns:
- JSON string
-