com.grafana.foundation.dashboard.VariableSort 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;
// Sort variable options
// Accepted values are:
// `0`: No sorting
// `1`: Alphabetical ASC
// `2`: Alphabetical DESC
// `3`: Numerical ASC
// `4`: Numerical DESC
// `5`: Alphabetical Case Insensitive ASC
// `6`: Alphabetical Case Insensitive DESC
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum VariableSort {
DISABLED(0),
ALPHABETICAL_ASC(1),
ALPHABETICAL_DESC(2),
NUMERICAL_ASC(3),
NUMERICAL_DESC(4),
ALPHABETICAL_CASE_INSENSITIVE_ASC(5),
ALPHABETICAL_CASE_INSENSITIVE_DESC(6);
private final Integer value;
private VariableSort(Integer value) {
this.value = value;
}
@JsonValue
public Integer Value() {
return value;
}
}