com.grafana.foundation.dashboard.ThresholdsMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grafana-foundation-sdk Show documentation
Show all versions of grafana-foundation-sdk Show documentation
A set of tools, types and libraries for building and manipulating Grafana objects.
// Code generated - EDITING IS FUTILE. DO NOT EDIT.
package com.grafana.foundation.dashboard;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonValue;
// Thresholds can either be `absolute` (specific number) or `percentage` (relative to min or max, it will be values between 0 and 1).
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ThresholdsMode {
ABSOLUTE("absolute"),
PERCENTAGE("percentage"),
_EMPTY("");
private final String value;
private ThresholdsMode(String value) {
this.value = value;
}
@JsonValue
public String Value() {
return value;
}
}