Examples of ReaderPermissionsResponse


Examples of org.graylog2.restclient.models.api.responses.ReaderPermissionsResponse

    public List<String> readerPermissions(String username) {
        List<String> permissions = Lists.newArrayList();

        try {
            final ReaderPermissionsResponse response = api
                    .path(routes.SystemResource().readerPermissions(username), ReaderPermissionsResponse.class)
                    .execute();
            permissions.addAll(response.permissions);
        } catch (APIException e) {
            throw new RuntimeException(e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.