Class: Braintrust::Models::ProjectTag

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/project_tag.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

#colorString

Color of the tag for the UI

Returns:

  • (String)


28
# File 'lib/braintrust/models/project_tag.rb', line 28

optional :color, String

#createdDateTime

Date of project tag creation

Returns:

  • (DateTime)


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

optional :created, DateTime

#descriptionString

Textual description of the project tag

Returns:

  • (String)


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

optional :description, String

#idString

Unique identifier for the project tag

Returns:

  • (String)


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

required :id, String

#name_String

Name of the project tag

Returns:

  • (String)


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

required :name_, String

#project_idString

Unique identifier for the project that the project tag belongs under

Returns:

  • (String)


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

required :project_id, String

#user_idString

Returns:

  • (String)


23
# File 'lib/braintrust/models/project_tag.rb', line 23

required :user_id, String