Module: OpenAI::Models::Beta::ChatKitWorkflow::StateVariable
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/beta/chatkit_workflow.rb,
sig/openai/models/beta/chatkit_workflow.rbs
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, state_variables:, tracing:, version:) ⇒ Object
Workflow metadata and state returned for the 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::ChatKitWorkflow::state_variable]
56 |
# File 'sig/openai/models/beta/chatkit_workflow.rbs', line 56
def self?.variants: -> ::Array[OpenAI::Models::Beta::ChatKitWorkflow::state_variable]
|
Instance Method Details
#initialize(id:, state_variables:, tracing:, version:) ⇒ Object
Workflow metadata and state returned for the session.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/openai/models/beta/chatkit_workflow.rb', line 53 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 |