Class: OpenAI::Models::Admin::Organization::AdminAPIKeyListParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::AdminAPIKeyListParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/openai/models/admin/organization/admin_api_key_list_params.rb,
sig/openai/models/admin/organization/admin_api_key_list_params.rbs
Overview
Defined Under Namespace
Modules: Order
Instance Attribute Summary collapse
-
#after ⇒ String?
Return keys with IDs that come after this ID in the pagination order.
-
#limit ⇒ Integer?
Maximum number of keys to return.
-
#order ⇒ OpenAI::Models::Admin::Organization::AdminAPIKeyListParams::order?
Order results by creation time, ascending or descending.
Attributes included from Internal::Type::RequestParameters
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(after: nil, limit: nil, order: nil, request_options: {}) ⇒ AdminAPIKeyListParams
constructor
A new instance of AdminAPIKeyListParams.
- #to_hash ⇒ { ?after: String?, ?limit: Integer, ?order: OpenAI::Models::Admin::Organization::AdminAPIKeyListParams::order, ?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(after: nil, limit: nil, order: nil, request_options: {}) ⇒ AdminAPIKeyListParams
Returns a new instance of AdminAPIKeyListParams.
|
|
# File 'lib/openai/models/admin/organization/admin_api_key_list_params.rb', line 30
|
Instance Attribute Details
#after ⇒ String?
Return keys with IDs that come after this ID in the pagination order.
16 |
# File 'lib/openai/models/admin/organization/admin_api_key_list_params.rb', line 16 optional :after, String, nil?: true |
#limit ⇒ Integer?
Maximum number of keys to return.
22 |
# File 'lib/openai/models/admin/organization/admin_api_key_list_params.rb', line 22 optional :limit, Integer |
#order ⇒ OpenAI::Models::Admin::Organization::AdminAPIKeyListParams::order?
Order results by creation time, ascending or descending.
28 |
# File 'lib/openai/models/admin/organization/admin_api_key_list_params.rb', line 28 optional :order, enum: -> { OpenAI::Admin::Organization::AdminAPIKeyListParams::Order } |
Instance Method Details
#to_hash ⇒ { ?after: String?, ?limit: Integer, ?order: OpenAI::Models::Admin::Organization::AdminAPIKeyListParams::order, ?request_options: OpenAI::RequestOptions }
47 48 49 50 51 52 |
# File 'sig/openai/models/admin/organization/admin_api_key_list_params.rbs', line 47
def to_hash: -> {
?after: String?,
?limit: Integer,
?order: OpenAI::Models::Admin::Organization::AdminAPIKeyListParams::order,
?request_options: OpenAI::RequestOptions
}
|