Module: OpenAI::Models::Beta::ChatKit::ChatSessionWorkflowParam::StateVariable
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/beta/chatkit/chat_session_workflow_param.rb,
sig/openai/models/beta/chatkit/chat_session_workflow_param.rbs
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, state_variables: nil, tracing: nil, version: nil) ⇒ Object
Workflow reference and overrides applied to the chat session.
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[OpenAI::Models::Beta::ChatKit::ChatSessionWorkflowParam::state_variable]
72 |
# File 'sig/openai/models/beta/chatkit/chat_session_workflow_param.rbs', line 72
def self?.variants: -> ::Array[OpenAI::Models::Beta::ChatKit::ChatSessionWorkflowParam::state_variable]
|
Instance Method Details
#initialize(id:, state_variables: nil, tracing: nil, version: nil) ⇒ Object
Workflow reference and overrides applied to the chat session.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/openai/models/beta/chatkit/chat_session_workflow_param.rb', line 55 module StateVariable extend OpenAI::Internal::Type::Union variant String variant Integer variant OpenAI::Internal::Type::Boolean variant Float # @!method self.variants # @return [Array(String, Integer, Boolean, Float)] end |