Module: OpenAI::Models::Admin::Organization::WorkloadIdentityProviderListParams::Order

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

collapse

ASC =

Returns:

  • (:asc)
:asc
DESC =

Returns:

  • (:desc)
:desc

Class Method Summary collapse

Instance 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(Symbol)

Returns:

  • (Array(Symbol))


43
44
45
# File 'lib/openai/models/admin/organization/workload_identity_provider_list_params.rb', line 43

define_sorbet_constant!(:Variants) do
  T.type_alias { OpenAI::Admin::Organization::WorkloadIdentityProviderListParams::Order::TaggedSymbol }
end

Instance Method Details

#initialize(after: nil, limit: nil, order: nil, request_options: {}) ⇒ Object

Parameters:



33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/openai/models/admin/organization/workload_identity_provider_list_params.rb', line 33

module Order
  extend OpenAI::Internal::Type::Union

  variant const: -> { OpenAI::Models::Admin::Organization::WorkloadIdentityProviderListParams::Order::ASC }

  variant const: -> { OpenAI::Models::Admin::Organization::WorkloadIdentityProviderListParams::Order::DESC }

  # @!method self.variants
  #   @return [Array(Symbol)]

  define_sorbet_constant!(:Variants) do
    T.type_alias { OpenAI::Admin::Organization::WorkloadIdentityProviderListParams::Order::TaggedSymbol }
  end

  # @!group

  ASC = :asc
  DESC = :desc

  # @!endgroup
end