Class: OpenAI::Models::Admin::Organization::ExternalKeyListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::ExternalKeyListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/admin/organization/external_key_list_params.rb,
sig/openai/models/admin/organization/external_key_list_params.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
- #after ⇒ String?
- #limit ⇒ Integer?
- #order ⇒ Symbol, ...
-
#purpose ⇒ OpenAI::Models::Admin::Organization::ExternalKeyListParams::purpose?
Filter by key purpose.
Attributes included from Internal::Type::RequestParameters
Attributes inherited from Internal::Type::BaseModel
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ExternalKeyListParams
constructor
A new instance of ExternalKeyListParams.
- #to_hash ⇒ { ?after: String?, ?limit: Integer, ?order: OpenAI::Models::Admin::Organization::ExternalKeyListParams::order, ?purpose: OpenAI::Models::Admin::Organization::ExternalKeyListParams::purpose, ?request_options: OpenAI::RequestOptions }
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #inspect, inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
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
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ ExternalKeyListParams
Returns a new instance of ExternalKeyListParams.
40 41 42 43 44 45 46 |
# File 'sig/openai/models/admin/organization/external_key_list_params.rbs', line 40
def initialize: (
?after: String?,
?limit: Integer,
?order: OpenAI::Models::Admin::Organization::ExternalKeyListParams::order,
?purpose: OpenAI::Models::Admin::Organization::ExternalKeyListParams::purpose,
?request_options: OpenAI::request_opts
) -> void
|
Instance Attribute Details
#after ⇒ String?
15 |
# File 'lib/openai/models/admin/organization/external_key_list_params.rb', line 15 optional :after, String, nil?: true |
#limit ⇒ Integer?
20 |
# File 'lib/openai/models/admin/organization/external_key_list_params.rb', line 20 optional :limit, Integer |
#order ⇒ Symbol, ...
25 |
# File 'lib/openai/models/admin/organization/external_key_list_params.rb', line 25 optional :order, enum: -> { OpenAI::Admin::Organization::ExternalKeyListParams::Order } |
#purpose ⇒ OpenAI::Models::Admin::Organization::ExternalKeyListParams::purpose?
Filter by key purpose. When omitted, returns keys of all purposes.
31 |
# File 'lib/openai/models/admin/organization/external_key_list_params.rb', line 31 optional :purpose, enum: -> { OpenAI::Admin::Organization::ExternalKeyListParams::Purpose } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/admin/organization/external_key_list_params.rb', line 51
|
Instance Method Details
#to_hash ⇒ { ?after: String?, ?limit: Integer, ?order: OpenAI::Models::Admin::Organization::ExternalKeyListParams::order, ?purpose: OpenAI::Models::Admin::Organization::ExternalKeyListParams::purpose, ?request_options: OpenAI::RequestOptions }
48 49 50 51 52 53 54 |
# File 'sig/openai/models/admin/organization/external_key_list_params.rbs', line 48
def to_hash: -> {
?after: String?,
?limit: Integer,
?order: OpenAI::Models::Admin::Organization::ExternalKeyListParams::order,
?purpose: OpenAI::Models::Admin::Organization::ExternalKeyListParams::purpose,
?request_options: OpenAI::RequestOptions
}
|