Class: OpenAI::Models::Admin::Organization::AdminAPIKeyCreateResponse
- Inherits:
-
AdminAPIKey
- Object
- Internal::Type::BaseModel
- AdminAPIKey
- OpenAI::Models::Admin::Organization::AdminAPIKeyCreateResponse
- Defined in:
- lib/openai/models/admin/organization/admin_api_key_create_response.rb
Overview
Instance Attribute Summary collapse
-
#value ⇒ String
The value of the API key.
Attributes inherited from AdminAPIKey
#created_at, #id, #last_used_at, #name, #object, #owner, #redacted_value
Instance Method Summary collapse
-
#initialize(value:) ⇒ Object
constructor
Represents an individual Admin API key in an org.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, 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(value:) ⇒ Object
Represents an individual Admin API key in an org.
|
|
# File 'lib/openai/models/admin/organization/admin_api_key_create_response.rb', line 15
|
Instance Attribute Details
#value ⇒ String
The value of the API key. Only shown on create.
13 |
# File 'lib/openai/models/admin/organization/admin_api_key_create_response.rb', line 13 required :value, String |