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
  • Method Details

    • 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:
      toString in class WebhooksEvent
    • builder

      public static CallEvent.Builder<?> builder()