Module: OpenAI::Models::Beta::ChatKit::ChatKitAttachment::Type

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/beta/chatkit/chatkit_attachment.rb,
sig/openai/models/beta/chatkit/chatkit_attachment.rbs

Overview

Attachment discriminator.

See Also:

  • OpenAI::Models::Beta::ChatKit::ChatKitAttachment#type

Constant Summary collapse

IMAGE =

Returns:

  • (:image)
:image
FILE =

Returns:

  • (:file)
:file

Class Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type

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

.values ⇒ ::Array[OpenAI::Models::Beta::ChatKit::ChatKitAttachment::type_]

Returns:

  • (::Array[OpenAI::Models::Beta::ChatKit::ChatKitAttachment::type_])


66
# File 'sig/openai/models/beta/chatkit/chatkit_attachment.rbs', line 66

def self?.values: -> ::Array[OpenAI::Models::Beta::ChatKit::ChatKitAttachment::type_]