Examples of AlertConditionsResponse


Examples of org.graylog2.restclient.models.api.responses.alerts.AlertConditionsResponse

    }

    public List<AlertCondition> allOfStream(Stream stream) throws APIException, IOException {
        List<AlertCondition> conditions = Lists.newArrayList();

        AlertConditionsResponse response = api.path(routes.StreamAlertConditionResource().list(stream.getId()), AlertConditionsResponse.class)
                .execute();

        for (AlertConditionSummaryResponse c : response.conditions) {
            conditions.add(alertConditionFactory.fromSummaryResponse(c));
        }
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.