Constructor
new Manager()
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
uuid |
string | UUID is unique identifier for user. UUID for visitor sets automatically on starting. Managers have UUID in their account. |
name |
string | |
email |
string | |
avatarUrl |
string | null | URL for visitor avatar image |
avatarThumb100 |
string | null | URL for 100px avatar preview |
avatarThumb300 |
string | null | URL for 300px avatar preview |
Extends
Methods
(static) buildFromInfo(data) → {Manager}
- Source:
Static builder for manager instance
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Returns:
- Type
- Manager
getAvatarUrl() → {string|null}
- Source:
Getter for manager avatar.
Returns:
- Type
- string | null
getEmail() → {string|*}
- Source:
- Inherited From:
Getter for email
Returns:
- Type
- string | *
getIsOnline() → {boolean}
- Source:
- Inherited From:
Getter for isOnline
Returns:
- Type
- boolean
getName() → {string}
- Source:
- Inherited From:
Getter for name
Returns:
- Type
- string
getUuid() → {string|*}
- Source:
- Inherited From:
Getter for UUID
Returns:
- Type
- string | *
setEmail(email)
- Source:
- Inherited From:
Setter for email
Parameters:
| Name | Type | Description |
|---|---|---|
email |
string |
setIsOnline(isOnline)
- Source:
- Inherited From:
Setter for isOnline
Parameters:
| Name | Type | Description |
|---|---|---|
isOnline |
boolean |
setName(name)
- Source:
- Inherited From:
Setter for name
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string |
setUuid(uuid)
- Source:
- Inherited From:
Setter for UUID
Parameters:
| Name | Type | Description |
|---|---|---|
uuid |
string |