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()Validates that the types of all values in this object match their expected types recursively. 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()
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 RealtimeCallIncomingWebhookEvent.Data.Builder builder()
Returns a mutable builder for constructing an instance of Data.
The following fields are required:
.callId() .sipHeaders()
-
-
-
-