Class: OpenAI::Models::Admin::Organization::AdminAPIKey::Owner
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::AdminAPIKey::Owner
- Defined in:
- lib/openai/models/admin/organization/admin_api_key.rb
Overview
Instance Attribute Summary collapse
-
#created_at ⇒ Integer?
The Unix timestamp (in seconds) of when the user was created.
-
#id ⇒ String?
The identifier, which can be referenced in API endpoints.
-
#name ⇒ String?
The name of the user.
-
#object ⇒ String?
The object type, which is always organization.user.
-
#role ⇒ String?
Always ‘owner`.
-
#type ⇒ String?
Always ‘user`.
Instance Method Summary collapse
- #initialize(id: nil, created_at: nil, name: nil, object: nil, role: nil, type: nil) ⇒ Object constructor
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(id: nil, created_at: nil, name: nil, object: nil, role: nil, type: nil) ⇒ Object
|
|
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 105
|
Instance Attribute Details
#created_at ⇒ Integer?
The Unix timestamp (in seconds) of when the user was created
79 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 79 optional :created_at, Integer |
#id ⇒ String?
The identifier, which can be referenced in API endpoints
73 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 73 optional :id, String |
#name ⇒ String?
The name of the user
85 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 85 optional :name, String |
#object ⇒ String?
The object type, which is always organization.user
91 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 91 optional :object, String |
#role ⇒ String?
Always ‘owner`
97 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 97 optional :role, String |
#type ⇒ String?
Always ‘user`
103 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 103 optional :type, String |