com.github.dikhan.pagerduty.client.events.domain.EventAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pagerduty-client Show documentation
Show all versions of pagerduty-client Show documentation
Simple Java PagerDuty client with full integration with PagerDuty Events APIs
package com.github.dikhan.pagerduty.client.events.domain;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* The type of event used for incidents.
*/
public enum EventAction {
TRIGGER("trigger"),
ACKNOWLEDGE("acknowledge"),
RESOLVE("resolve");
private final String eventAction;
EventAction(String eventAction) {
this.eventAction = eventAction;
}
@JsonValue
public String getEventType() {
return eventAction;
}
@Override
public String toString() {
return getEventType();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy