Class: Braintrust::Models::Project

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/project.rb

Instance Attribute Summary collapse

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

#createdDateTime

Date of project creation

Returns:

  • (DateTime)


24
# File 'lib/braintrust/models/project.rb', line 24

optional :created, DateTime

#deleted_atDateTime

Date of project deletion, or null if the project is still active

Returns:

  • (DateTime)


29
# File 'lib/braintrust/models/project.rb', line 29

optional :deleted_at, DateTime

#idString

Unique identifier for the project

Returns:

  • (String)


9
# File 'lib/braintrust/models/project.rb', line 9

required :id, String

#name_String

Name of the project

Returns:

  • (String)


14
# File 'lib/braintrust/models/project.rb', line 14

required :name_, String

#org_idString

Unique id for the organization that the project belongs under

Returns:

  • (String)


19
# File 'lib/braintrust/models/project.rb', line 19

required :org_id, String

#settingsBraintrust::Models::ProjectSettings



33
# File 'lib/braintrust/models/project.rb', line 33

optional :settings, -> { Braintrust::Models::ProjectSettings }

#user_idString

Identifies the user who created the project

Returns:

  • (String)


38
# File 'lib/braintrust/models/project.rb', line 38

optional :user_id, String