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

com.grafana.foundation.logs.Options 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.logs;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectWriter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.grafana.foundation.common.LogsSortOrder;
import com.grafana.foundation.common.LogsDedupStrategy;
import java.util.List;

public class Options {
    @JsonProperty("showLabels")
    public Boolean showLabels;
    @JsonProperty("showCommonLabels")
    public Boolean showCommonLabels;
    @JsonProperty("showTime")
    public Boolean showTime;
    @JsonProperty("showLogContextToggle")
    public Boolean showLogContextToggle;
    @JsonProperty("wrapLogMessage")
    public Boolean wrapLogMessage;
    @JsonProperty("prettifyLogMessage")
    public Boolean prettifyLogMessage;
    @JsonProperty("enableLogDetails")
    public Boolean enableLogDetails;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("sortOrder")
    public LogsSortOrder sortOrder;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonProperty("dedupStrategy")
    public LogsDedupStrategy dedupStrategy;
    // TODO: figure out how to define callbacks
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("onClickFilterLabel")
    public Object onClickFilterLabel;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("onClickFilterOutLabel")
    public Object onClickFilterOutLabel;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("isFilterLabelActive")
    public Object isFilterLabelActive;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("onClickFilterString")
    public Object onClickFilterString;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("onClickFilterOutString")
    public Object onClickFilterOutString;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("onClickShowField")
    public Object onClickShowField;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("onClickHideField")
    public Object onClickHideField;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonProperty("displayedFields")
    public List displayedFields;
    
    public String toJSON() throws JsonProcessingException {
        ObjectWriter ow = new ObjectMapper().writer().withDefaultPrettyPrinter();
        return ow.writeValueAsString(this);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy