Package com.openai.models.realtime.calls
Class CallReferParams.Body
-
- All Implemented Interfaces:
public final class CallReferParams.BodyParameters 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 classCallReferParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringtargetUri()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.BuildertoBuilder()final CallReferParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CallReferParams.Body.Builderbuilder()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:+14155550123orsip:[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()
-
-
-
-