Package com.vonage.client.conversations
Class Callback
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.conversations.Callback
- All Implemented Interfaces:
Jsonable
Callback properties for a
Conversation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for creating Callback settings.static class -
Method Summary
Modifier and TypeMethodDescriptionstatic Callback.Builderbuilder()Entry point for constructing an instance of this class.Method to use for the callback, either HttpMethod.GET or HttpMethod.POST.Additional parameters.getUrl()Event URL for the callback.Methods 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
-
getUrl
Event URL for the callback.- Returns:
- The callback URL, or
nullif unspecified.
-
getEventMask
-
getParams
Additional parameters.- Returns:
- The callback parameters, or
nullif unspecified.
-
getMethod
Method to use for the callback, either HttpMethod.GET or HttpMethod.POST.- Returns:
- The HTTP method as an enum, or
nullif unspecified.
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder.
-