@Override
    public void applyExternalChanges(UserGroup existingObject,
            APIUserGroup object) throws GuacamoleException {

        // Update disabled status
        existingObject.setDisabled(object.isDisabled());
        
        // Update user attributes
        existingObject.setAttributes(object.getAttributes());

    }
Translator which converts between UserGroup objects and APIUserGroup
objects.
guacamole/src/main/java/org/apache/guacamole/rest/usergroup/UserGroupObjectTranslator.java