![]() |
Infohub JS API
|
Public Member Functions | |
| constructor (userGroup=({})) | |
| getAvatar () | |
| setAvatar (avatar) | |
| setFromJSON (userGroup=({})) | |
| toJSON () | |
Static Public Member Functions | |
| static | createFromJSON (userGroup=({})) |
| constructor | ( | userGroup = ({}) | ) |
|
static |
| getAvatar | ( | ) |
Get the avatar of the user group.
| setAvatar | ( | avatar | ) |
Set the avatar of the user group.
| {string} | avatar - The avatar base64 string |
| setFromJSON | ( | userGroup = ({}) | ) |
Set the user group from a JSON object.
| {UserGroup} | userGroup |
| toJSON | ( | ) |
Convert the user group to a JSON object.