Module: Anthropic::Models::Beta::SessionListParams::Order

Extended by:
Internal::Type::Enum
Defined in:
lib/anthropic/models/beta/session_list_params.rb,
sig/anthropic/models/beta/session_list_params.rbs

Overview

Sort direction for results, ordered by created_at. Defaults to desc (newest first).

Constant Summary collapse

ASC =

Returns:

  • (:asc)
:asc
DESC =

Returns:

  • (:desc)
:desc

Instance Method Summary collapse

Methods included from Internal::Type::Enum

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

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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.values::Array[Anthropic::Models::Beta::SessionListParams::order]

Returns:

  • (::Array[Anthropic::Models::Beta::SessionListParams::order])


133
# File 'sig/anthropic/models/beta/session_list_params.rbs', line 133

def self?.values: -> ::Array[Anthropic::Models::Beta::SessionListParams::order]