Constructor
# new UserGroup()
Properties:
Name | Type | Description |
---|---|---|
info |
Object
|
|
avatar |
string
|
|
permissions |
Object
|
|
userrelations |
Array.<Object>
|
|
invitations |
Array.<Object>
|
|
users |
Array.<string>
|
|
roles |
Object.<string, any>
|
Classes
Methods
# setAvatar(avatar) → {void}
Set the avatar of the user group.
Parameters:
Name | Type | Description |
---|---|---|
avatar |
string
|
The avatar base64 string |
void
# setFromJSON(userGroup)
Set the user group from a JSON object.
Parameters:
Name | Type | Description |
---|---|---|
userGroup |
UserGroup
|