Class: OpenAI::Models::Realtime::UnknownServerEvent
- Inherits:
-
Object
- Object
- OpenAI::Models::Realtime::UnknownServerEvent
- Defined in:
- sig/openai/helpers/realtime/unknown_server_event.rbs
Instance Attribute Summary collapse
-
#data ⇒ ::Hash[Symbol, untyped]
readonly
Returns the value of attribute data.
-
#type ⇒ Symbol
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ UnknownServerEvent
constructor
private
A new instance of UnknownServerEvent.
- #to_h ⇒ ::Hash[Symbol, untyped]
Constructor Details
#initialize ⇒ UnknownServerEvent
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of UnknownServerEvent.
9 |
# File 'sig/openai/helpers/realtime/unknown_server_event.rbs', line 9
def initialize: (data: ::Hash[Symbol, untyped]) -> void
|
Instance Attribute Details
#data ⇒ ::Hash[Symbol, untyped] (readonly)
Returns the value of attribute data.
6 7 8 |
# File 'sig/openai/helpers/realtime/unknown_server_event.rbs', line 6 def data @data end |
#type ⇒ Symbol (readonly)
Returns the value of attribute type.
5 6 7 |
# File 'sig/openai/helpers/realtime/unknown_server_event.rbs', line 5 def type @type end |
Instance Method Details
#to_h ⇒ ::Hash[Symbol, untyped]
10 |
# File 'sig/openai/helpers/realtime/unknown_server_event.rbs', line 10
def to_h: -> ::Hash[Symbol, untyped]
|