Package com.openai.models.realtime.calls
Class CallRejectParams.Body
-
- All Implemented Interfaces:
public final class CallRejectParams.BodyParameters used to decline an incoming SIP call handled by the Realtime API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCallRejectParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<Long>statusCode()SIP response code to send back to the caller. final JsonField<Long>_statusCode()Returns the raw JSON value of statusCode. final Map<String, JsonValue>_additionalProperties()final CallRejectParams.Body.BuildertoBuilder()final CallRejectParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CallRejectParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
statusCode
final Optional<Long> statusCode()
SIP response code to send back to the caller. Defaults to
603(Decline) when omitted.
-
_statusCode
final JsonField<Long> _statusCode()
Returns the raw JSON value of statusCode.
Unlike statusCode, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CallRejectParams.Body.Builder toBuilder()
-
validate
final CallRejectParams.Body validate()
-
builder
final static CallRejectParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-