Class: OpenAI::Models::Admin::Organization::Project
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Admin::Organization::Project
- Defined in:
- lib/openai/models/admin/organization/project.rb
Overview
Instance Attribute Summary collapse
-
#archived_at ⇒ Integer?
The Unix timestamp (in seconds) of when the project was archived or ‘null`.
-
#created_at ⇒ Integer
The Unix timestamp (in seconds) of when the project was created.
-
#external_key_id ⇒ String?
The external key associated with the project.
-
#id ⇒ String
The identifier, which can be referenced in API endpoints.
-
#name ⇒ String?
The name of the project.
-
#object ⇒ Symbol, :"organization.project"
The object type, which is always ‘organization.project`.
-
#status ⇒ String?
‘active` or `archived`.
Instance Method Summary collapse
-
#initialize(id:, created_at:, archived_at: nil, external_key_id: nil, name: nil, status: nil, object: :"organization.project") ⇒ Object
constructor
Represents an individual project.
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:, created_at:, archived_at: nil, external_key_id: nil, name: nil, status: nil, object: :"organization.project") ⇒ Object
Represents an individual project.
|
|
# File 'lib/openai/models/admin/organization/project.rb', line 51
|
Instance Attribute Details
#archived_at ⇒ Integer?
The Unix timestamp (in seconds) of when the project was archived or ‘null`.
31 |
# File 'lib/openai/models/admin/organization/project.rb', line 31 optional :archived_at, Integer, nil?: true |
#created_at ⇒ Integer
The Unix timestamp (in seconds) of when the project was created.
19 |
# File 'lib/openai/models/admin/organization/project.rb', line 19 required :created_at, Integer |
#external_key_id ⇒ String?
The external key associated with the project.
37 |
# File 'lib/openai/models/admin/organization/project.rb', line 37 optional :external_key_id, String, nil?: true |
#id ⇒ String
The identifier, which can be referenced in API endpoints
13 |
# File 'lib/openai/models/admin/organization/project.rb', line 13 required :id, String |
#name ⇒ String?
The name of the project. This appears in reporting.
43 |
# File 'lib/openai/models/admin/organization/project.rb', line 43 optional :name, String, nil?: true |
#object ⇒ Symbol, :"organization.project"
The object type, which is always ‘organization.project`
25 |
# File 'lib/openai/models/admin/organization/project.rb', line 25 required :object, const: :"organization.project" |
#status ⇒ String?
‘active` or `archived`
49 |
# File 'lib/openai/models/admin/organization/project.rb', line 49 optional :status, String, nil?: true |