Class InputAudioBufferDtmfEventReceivedEvent
-
- All Implemented Interfaces:
public final class InputAudioBufferDtmfEventReceivedEventSIP Only: Returned when an DTMF event is received. A DTMF event is a message that represents a telephone keypad press (0–9, *, #, A–D). The
eventproperty is the keypad that the user press. Thereceived_atis the UTC Unix Timestamp that the server received the event.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInputAudioBufferDtmfEventReceivedEvent.BuilderA builder for InputAudioBufferDtmfEventReceivedEvent.
-
Method Summary
Modifier and Type Method Description final Stringevent()The telephone keypad that was pressed by the user. final LongreceivedAt()UTC Unix Timestamp when DTMF Event was received by server. final JsonValue_type()The event type, must be input_audio_buffer.dtmf_event_received.final JsonField<String>_event()Returns the raw JSON value of event. final JsonField<Long>_receivedAt()Returns the raw JSON value of receivedAt. final Map<String, JsonValue>_additionalProperties()final InputAudioBufferDtmfEventReceivedEvent.BuildertoBuilder()final InputAudioBufferDtmfEventReceivedEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InputAudioBufferDtmfEventReceivedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of InputAudioBufferDtmfEventReceivedEvent. -
-
Method Detail
-
receivedAt
final Long receivedAt()
UTC Unix Timestamp when DTMF Event was received by server.
-
_type
final JsonValue _type()
The event type, must be
input_audio_buffer.dtmf_event_received.Expected to always return the following:
JsonValue.from("input_audio_buffer.dtmf_event_received")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_event
final JsonField<String> _event()
Returns the raw JSON value of event.
Unlike event, this method doesn't throw if the JSON field has an unexpected type.
-
_receivedAt
final JsonField<Long> _receivedAt()
Returns the raw JSON value of receivedAt.
Unlike receivedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InputAudioBufferDtmfEventReceivedEvent.Builder toBuilder()
-
validate
final InputAudioBufferDtmfEventReceivedEvent validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static InputAudioBufferDtmfEventReceivedEvent.Builder builder()
Returns a mutable builder for constructing an instance of InputAudioBufferDtmfEventReceivedEvent.
The following fields are required:
.event() .receivedAt()
-
-
-
-