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,
sig/openai/models/admin/organization/admin_api_key.rbs
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.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize(id: nil, created_at: nil, name: nil, object: nil, role: nil, type: nil) ⇒ Object constructor
- #to_hash ⇒ {
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_with_error, 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 120
|
Instance Attribute Details
#created_at ⇒ Integer?
The Unix timestamp (in seconds) of when the user was created
94 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 94 optional :created_at, Integer |
#id ⇒ String?
The identifier, which can be referenced in API endpoints
88 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 88 optional :id, String |
#name ⇒ String?
The name of the user
100 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 100 optional :name, String |
#object ⇒ String?
The object type, which is always organization.user
106 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 106 optional :object, String |
#role ⇒ String?
Always owner
112 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 112 optional :role, String |
#type ⇒ String?
Always user
118 |
# File 'lib/openai/models/admin/organization/admin_api_key.rb', line 118 optional :type, String |
Instance Method Details
#to_hash ⇒ {
145 |
# File 'sig/openai/models/admin/organization/admin_api_key.rbs', line 145
def to_hash: -> {
|