Package com.openai.models.realtime.calls
Class CallReferParams.Body
-
- All Implemented Interfaces:
public final class CallReferParams.Body
Parameters required to transfer a SIP call to a new destination using the Realtime API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
CallReferParams.Body.Builder
A builder for Body.
-
Method Summary
Modifier and Type Method Description final String
targetUri()
URI that should appear in the SIP Refer-To header. final JsonField<String>
_targetUri()
Returns the raw JSON value of targetUri. final Map<String, JsonValue>
_additionalProperties()
final CallReferParams.Body.Builder
toBuilder()
final CallReferParams.Body
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static CallReferParams.Body.Builder
builder()
Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
targetUri
final String targetUri()
URI that should appear in the SIP Refer-To header. Supports values like
tel:+14155550123
orsip:[email protected]
.
-
_targetUri
final JsonField<String> _targetUri()
Returns the raw JSON value of targetUri.
Unlike targetUri, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CallReferParams.Body.Builder toBuilder()
-
validate
final CallReferParams.Body validate()
-
builder
final static CallReferParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.targetUri()
-
-
-
-