import RoleController from 'itslanguage/administrative-sdk/role/role-controller.js'RoleController
Controller class for the Role model.
Constructor Summary
| Public Constructor | ||
| public |
constructor(connection: Connection) |
|
Member Summary
| Private Members | ||
| private |
Object to use for making a connection to the REST API and Websocket server. |
|
Method Summary
| Public Methods | ||
| public |
Get a single role. |
|
| public |
Get and return all roles available in the API. |
|
Public Constructors
public constructor(connection: Connection) source
Params:
| Name | Type | Attribute | Description |
| connection | Connection | Object to use for making a connection to the REST API and Websocket server. |
Private Members
private _connection: Connection source
Object to use for making a connection to the REST API and Websocket server.
