Module: OpenAI::Models::Admin::Organization::Projects::ProjectSpendLimit::Enforcement::Status

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/admin/organization/projects/project_spend_limit.rb,
sig/openai/models/admin/organization/projects/project_spend_limit.rbs

Overview

Whether the hard spend limit is currently enforcing.

See Also:

  • OpenAI::Models::Admin::Organization::Projects::ProjectSpendLimit::Enforcement#status

collapse

INACTIVE =

Returns:

  • (:inactive)
:inactive
ENFORCING =

Returns:

  • (:enforcing)
:enforcing

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(String, Symbol)

Returns:

  • (Array(String, Symbol))


138
139
140
141
142
143
144
145
# File 'lib/openai/models/admin/organization/projects/project_spend_limit.rb', line 138

define_sorbet_constant!(:Variants) do
  T.type_alias {
    T.any(
      String,
      OpenAI::Admin::Organization::Projects::ProjectSpendLimit::Enforcement::Status::TaggedSymbol
    )
  }
end