org.openmetadata.schema.dataInsight.DataInsightChartResult Maven / Gradle / Ivy
package org.openmetadata.schema.dataInsight;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.processing.Generated;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* DataInsightChartResult
*
* DataInsightChartResult represents data that will be consumed by a specific chart
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"chartType",
"total",
"data"
})
@Generated("jsonschema2pojo")
public class DataInsightChartResult {
/**
* chart type. Must match `name` of a `dataInsightChartDefinition`.
* (Required)
*
*/
@JsonProperty("chartType")
@JsonPropertyDescription("chart type. Must match `name` of a `dataInsightChartDefinition`.")
@NotNull
private DataInsightChartResult.DataInsightChartType chartType;
/**
* Total number of hits returned by the aggregation.
*
*/
@JsonProperty("total")
@JsonPropertyDescription("Total number of hits returned by the aggregation.")
private Integer total;
/**
* Array of consumable data.
*
*/
@JsonProperty("data")
@JsonPropertyDescription("Array of consumable data.")
@Valid
private List