Constructor
new User(client, response)
Instantiate a User object.
Name | Type | Description |
---|---|---|
client |
Client | The client that is instantiating the object. |
response |
Object | The data for the object. |
- Source:
Members
(private) _client :Client
The client that instantiated this object.
- Client
- Source:
anonymous :Boolean
Whether or not the user is anonymous.
- Boolean
- Source:
avatar :String
The Avatar URL of the user.
- String
- Source:
avatar_large_thumb :String
The large avatar URL of the user.
- String
- Source:
avatar_small_thumb :String
The small avatar URL of the user.
- String
- Source:
backend_type :String
The type of user that the user is on the back-end.
- String
- Source:
bio :String
The bio of the user.
- String
- Source:
created_at :Number
The timestamp when the user was created.
- Number
- Source:
disabled :Boolean
Whether or not the user is disabled.
- Boolean
- Source:
facebook :String
The facebook account of the user.
- String
- Source:
forename :String
The forename of the user.
- String
- Source:
id :Number
The ID of the user.
- Number
- Source:
left_at :Number
The timestamp of when the user left.
- Number
- Source:
linked_in :String
The LinkedIn account of the user.
- String
- Source:
mobile_beta_user :Boolean
Whether or not the user is a mobile beta user.
- Boolean
- Source:
pintrest :String
The Pintrest account of the user.
- String
- Source:
push_notifications_enabled :Boolean
Whether or not the user has push notifications enabled.
- Boolean
- Source:
school_id :Number
The ID of the school that the user belongs to.
- Number
- Source:
sims_id :String
The ID of the user on SIMS.
- String
- Source:
student_friday_summary :Boolean
- Boolean
- Source:
student_marked_homework :Boolean
- Boolean
- Source:
student_overdue_summary :Boolean
- Boolean
- Source:
surname :String
The surname of the user.
- String
- Source:
teacher_stats :Boolean
- Boolean
- Source:
teacher_summary :Boolean
- Boolean
- Source:
title :String
The title of the user.
- String
- Source:
twitter :String
The twitter account of the user.
- String
- Source:
updated_at :Number
The timestamp of when the user was updated.
- Number
- Source:
user_identity_id :Number
The ID of the user's private information.
- Number
- Source:
user_private_info_id :Number
The ID of the user's private information.
- Number
- Source: