class

OpenAI::RealtimeCallRejectRequest

Inherits JSON::Serializable < Reference < Object

Parameters used to decline an incoming SIP call handled by the Realtime API.

Constructors

new(status_code : Int64 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

status_code

SIP response code to send back to the caller. Defaults to 603 (Decline) when omitted.

Source
status_code=(status_code : Int64 | Nil)

SIP response code to send back to the caller. Defaults to 603 (Decline) when omitted.

Source