Module: OpenAI::Models::Live::DataChannelConfig::AllowedClientEvents

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/live/data_channel_config.rb,
sig/openai/models/live/data_channel_config.rbs

Overview

Client event types that the frontend data channel may send. Use 'all' to allow every client event; an empty array allows none. Omission preserves the existing allow-all behavior.

See Also:

  • OpenAI::Models::Live::DataChannelConfig#allowed_client_events

Constant Summary collapse

StringArray =
OpenAI::Internal::Type::ArrayOf[String]

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.variants ⇒ Array(Symbol, :all, Array<String>)

Returns:

  • (Array(Symbol, :all, Array<String>))


# File 'lib/openai/models/live/data_channel_config.rb', line 52