Class CallEvent
- java.lang.Object
-
- com.sinch.sdk.domains.voice.models.webhooks.WebhooksEvent
-
- com.sinch.sdk.domains.voice.models.webhooks.CallEvent
-
- Direct Known Subclasses:
AnsweredCallEvent,DisconnectCallEvent,IncomingCallEvent,PromptInputEvent
public class CallEvent extends WebhooksEvent
Base class for webhooks call event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCallEvent.Builder<B extends CallEvent.Builder<B>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallEvent.Builder<?>builder()StringgetCustom()A string that can be used to pass custom information related to the call.InstantgetTimestamp()Event timestampStringtoString()-
Methods inherited from class com.sinch.sdk.domains.voice.models.webhooks.WebhooksEvent
getCallId, getVersion
-
-
-
-
Method Detail
-
getTimestamp
public Instant getTimestamp()
Event timestamp- Returns:
- Timestamp value
-
getCustom
public String getCustom()
A string that can be used to pass custom information related to the call.- Returns:
- The custom value used for call
-
toString
public String toString()
- Overrides:
toStringin classWebhooksEvent
-
builder
public static CallEvent.Builder<?> builder()
-
-