Class: Braintrust::Models::Project
- Defined in:
- lib/braintrust/models/project.rb
Instance Attribute Summary collapse
-
#created ⇒ DateTime
Date of project creation.
-
#deleted_at ⇒ DateTime
Date of project deletion, or null if the project is still active.
-
#id ⇒ String
Unique identifier for the project.
-
#name_ ⇒ String
Name of the project.
-
#org_id ⇒ String
Unique id for the organization that the project belongs under.
- #settings ⇒ Braintrust::Models::ProjectSettings
-
#user_id ⇒ String
Identifies the user who created the project.
Method Summary
Methods inherited from BaseModel
#[], #initialize, #inspect, #to_h, #to_s
Constructor Details
This class inherits a constructor from Braintrust::BaseModel
Instance Attribute Details
#created ⇒ DateTime
Date of project creation
24 |
# File 'lib/braintrust/models/project.rb', line 24 optional :created, DateTime |
#deleted_at ⇒ DateTime
Date of project deletion, or null if the project is still active
29 |
# File 'lib/braintrust/models/project.rb', line 29 optional :deleted_at, DateTime |
#id ⇒ String
Unique identifier for the project
9 |
# File 'lib/braintrust/models/project.rb', line 9 required :id, String |
#name_ ⇒ String
Name of the project
14 |
# File 'lib/braintrust/models/project.rb', line 14 required :name_, String |
#org_id ⇒ String
Unique id for the organization that the project belongs under
19 |
# File 'lib/braintrust/models/project.rb', line 19 required :org_id, String |
#settings ⇒ Braintrust::Models::ProjectSettings
33 |
# File 'lib/braintrust/models/project.rb', line 33 optional :settings, -> { Braintrust::Models::ProjectSettings } |
#user_id ⇒ String
Identifies the user who created the project
38 |
# File 'lib/braintrust/models/project.rb', line 38 optional :user_id, String |