Constructor
new User()
- Source:
- See:
-
- Visitor for detailed information about visitor
- Manager for detailed information about manager
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 |
Methods
getEmail() → {string|*}
Getter for email
Returns:
- Type
- string | *
getIsOnline() → {boolean}
Getter for isOnline
Returns:
- Type
- boolean
getName() → {string}
Getter for name
Returns:
- Type
- string
getUuid() → {string|*}
Getter for UUID
Returns:
- Type
- string | *
setEmail(email)
Setter for email
Parameters:
| Name | Type | Description |
|---|---|---|
email |
string |
setIsOnline(isOnline)
Setter for isOnline
Parameters:
| Name | Type | Description |
|---|---|---|
isOnline |
boolean |
setName(name)
Setter for name
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string |
setUuid(uuid)
Setter for UUID
Parameters:
| Name | Type | Description |
|---|---|---|
uuid |
string |