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