RoleModel Data Type

Model for a role

Properties
name data type description
id number Role ID
name string Get name in the current language
description string Get the description in the current language
nameI18n map of string Name in all possible translations
descriptionI18n map of string Description in all possible translations

Example

{
  "id" : 12345,
  "name" : "...",
  "description" : "...",
  "nameI18n" : {
    "property1" : "...",
    "property2" : "..."
  },
  "descriptionI18n" : {
    "property1" : "...",
    "property2" : "..."
  }
}