Package com.openai.models.webhooks
Class RealtimeCallIncomingWebhookEvent.Data
-
- All Implemented Interfaces:
public final class RealtimeCallIncomingWebhookEvent.Data
Event data payload.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RealtimeCallIncomingWebhookEvent.Data.Builder
A builder for Data.
public final class
RealtimeCallIncomingWebhookEvent.Data.SipHeader
A header from the SIP Invite.
-
Method Summary
Modifier and Type Method Description final String
callId()
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.Builder
toBuilder()
final RealtimeCallIncomingWebhookEvent.Data
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RealtimeCallIncomingWebhookEvent.Data.Builder
builder()
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()
-
-
-
-