com.airbus_cyber_security.graylog.events.notifications.types.LoggingAlertFields Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graylog-plugin-logging-alert Show documentation
Show all versions of graylog-plugin-logging-alert Show documentation
Graylog ${project.artifactId} plugin.
/*
* Copyright (C) 2018 Airbus CyberSecurity (SAS)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Server Side Public License for more details.
*
* You should have received a copy of the Server Side Public License
* along with this program. If not, see
* .
*/
package com.airbus_cyber_security.graylog.events.notifications.types;
import org.joda.time.DateTime;
public class LoggingAlertFields {
private final String id;
private final String severity;
private final DateTime detect_time;
private final String messages_url;
public LoggingAlertFields(String id, String severity, DateTime detectTime, String messages_url) {
this.id = id;
this.severity = severity;
this.detect_time = detectTime;
this.messages_url = messages_url;
}
public String getId() {
return id;
}
public String getSeverity() {
return severity;
}
public DateTime getDetect_time() {
return detect_time;
}
public String getMessages_url() {
return messages_url;
}
}