Class: Braintrust::Models::User

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

#avatar_urlString

URL of the user's Avatar image

Returns:

  • (String)


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

optional :avatar_url, String

#createdDateTime

Date of user creation

Returns:

  • (DateTime)


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

optional :created, DateTime

#emailString

The user's email

Returns:

  • (String)


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

optional :email, String

#family_nameString

Family name of the user

Returns:

  • (String)


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

optional :family_name, String

#given_nameString

Given name of the user

Returns:

  • (String)


34
# File 'lib/braintrust/models/user.rb', line 34

optional :given_name, String

#idString

Unique identifier for the user

Returns:

  • (String)


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

required :id, String