Package com.openai.models.webhooks
Class RealtimeCallIncomingWebhookEvent.Data
-
- All Implemented Interfaces:
public final class RealtimeCallIncomingWebhookEvent.DataEvent data payload.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeCallIncomingWebhookEvent.Data.BuilderA builder for Data.
public final classRealtimeCallIncomingWebhookEvent.Data.SipHeaderA header from the SIP Invite.
-
Method Summary
Modifier and Type Method Description final StringcallId()The unique ID of this call. final List<RealtimeCallIncomingWebhookEvent.Data.SipHeader>sipHeaders()Headers from the SIP Invite. final JsonField<String>_callId()Returns the raw JSON value of callId. final JsonField<List<RealtimeCallIncomingWebhookEvent.Data.SipHeader>>_sipHeaders()Returns the raw JSON value of sipHeaders. final Map<String, JsonValue>_additionalProperties()final RealtimeCallIncomingWebhookEvent.Data.BuildertoBuilder()final RealtimeCallIncomingWebhookEvent.Datavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeCallIncomingWebhookEvent.Data.Builderbuilder()Returns a mutable builder for constructing an instance of Data. -
-
Method Detail
-
sipHeaders
final List<RealtimeCallIncomingWebhookEvent.Data.SipHeader> sipHeaders()
Headers from the SIP Invite.
-
_callId
final JsonField<String> _callId()
Returns the raw JSON value of callId.
Unlike callId, this method doesn't throw if the JSON field has an unexpected type.
-
_sipHeaders
final JsonField<List<RealtimeCallIncomingWebhookEvent.Data.SipHeader>> _sipHeaders()
Returns the raw JSON value of sipHeaders.
Unlike sipHeaders, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeCallIncomingWebhookEvent.Data.Builder toBuilder()
-
validate
final RealtimeCallIncomingWebhookEvent.Data validate()
-
builder
final static RealtimeCallIncomingWebhookEvent.Data.Builder builder()
Returns a mutable builder for constructing an instance of Data.
The following fields are required:
.callId() .sipHeaders()
-
-
-
-