Class: Braintrust::Models::User
- Defined in:
- lib/braintrust/models/user.rb
Instance Attribute Summary collapse
-
#avatar_url ⇒ String
URL of the user's Avatar image.
-
#created ⇒ DateTime
Date of user creation.
-
#email ⇒ String
The user's email.
-
#family_name ⇒ String
Family name of the user.
-
#given_name ⇒ String
Given name of the user.
-
#id ⇒ String
Unique identifier for the user.
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
#avatar_url ⇒ String
URL of the user's Avatar image
14 |
# File 'lib/braintrust/models/user.rb', line 14 optional :avatar_url, String |
#created ⇒ DateTime
Date of user creation
19 |
# File 'lib/braintrust/models/user.rb', line 19 optional :created, DateTime |
#email ⇒ String
The user's email
24 |
# File 'lib/braintrust/models/user.rb', line 24 optional :email, String |
#family_name ⇒ String
Family name of the user
29 |
# File 'lib/braintrust/models/user.rb', line 29 optional :family_name, String |
#given_name ⇒ String
Given name of the user
34 |
# File 'lib/braintrust/models/user.rb', line 34 optional :given_name, String |
#id ⇒ String
Unique identifier for the user
9 |
# File 'lib/braintrust/models/user.rb', line 9 required :id, String |