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