@Override
    public APIUserGroup toExternalObject(UserGroup object)
            throws GuacamoleException {
        return new APIUserGroup(object);
    }
Translator which converts between UserGroup objects and APIUserGroup
objects.
guacamole/src/main/java/org/apache/guacamole/rest/usergroup/UserGroupObjectTranslator.java