All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.grafana.foundation.dashboard.VariableSort Maven / Gradle / Ivy

There is a newer version: 11.3.0-1730898216
Show newest version
// 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
// `7`: Natural ASC
// `8`: Natural 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),
    NATURAL_ASC(7),
    NATURAL_DESC(8);

    private final Integer value;

    private VariableSort(Integer value) {
        this.value = value;
    }

    @JsonValue
    public Integer Value() {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy