Package com.vonage.client.conversations
Class GenericEvent
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.conversations.Event
com.vonage.client.conversations.GenericEvent
- All Implemented Interfaces:
Jsonable
- Direct Known Subclasses:
CustomEvent,EphemeralEvent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGenericEvent.Builder<E extends GenericEvent,B extends GenericEvent.Builder<? extends E, ? extends B>> -
Method Summary
Methods inherited from class com.vonage.client.conversations.Event
getFrom, getFromMember, getFromUser, getId, getTimestamp, getTypeMethods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Method Details
-
getBody
Custom event data as key-value pairs.- Returns:
- The event's main body as a Map.
-