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

org.openmetadata.schema.dataInsight.custom.DataInsightCustomChartResult Maven / Gradle / Ivy

There is a newer version: 1.6.0-rc1
Show newest version

package org.openmetadata.schema.dataInsight.custom;

import javax.annotation.processing.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;


/**
 * DataInsightCustomChartResult
 * 

* Data Insight Custom Chart Result * */ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "count", "day", "group", "metric", "term" }) @Generated("jsonschema2pojo") public class DataInsightCustomChartResult { /** * Count of Result * */ @JsonProperty("count") @JsonPropertyDescription("Count of Result") private Double count; /** * Date of Result * */ @JsonProperty("day") @JsonPropertyDescription("Date of Result") private Double day; /** * Group of Result * */ @JsonProperty("group") @JsonPropertyDescription("Group of Result") private String group; /** * Metric Name * */ @JsonProperty("metric") @JsonPropertyDescription("Metric Name") private String metric; /** * Term of Result, used in case of horizontal axis not timestamp * */ @JsonProperty("term") @JsonPropertyDescription("Term of Result, used in case of horizontal axis not timestamp") private String term; /** * Count of Result * */ @JsonProperty("count") public Double getCount() { return count; } /** * Count of Result * */ @JsonProperty("count") public void setCount(Double count) { this.count = count; } public DataInsightCustomChartResult withCount(Double count) { this.count = count; return this; } /** * Date of Result * */ @JsonProperty("day") public Double getDay() { return day; } /** * Date of Result * */ @JsonProperty("day") public void setDay(Double day) { this.day = day; } public DataInsightCustomChartResult withDay(Double day) { this.day = day; return this; } /** * Group of Result * */ @JsonProperty("group") public String getGroup() { return group; } /** * Group of Result * */ @JsonProperty("group") public void setGroup(String group) { this.group = group; } public DataInsightCustomChartResult withGroup(String group) { this.group = group; return this; } /** * Metric Name * */ @JsonProperty("metric") public String getMetric() { return metric; } /** * Metric Name * */ @JsonProperty("metric") public void setMetric(String metric) { this.metric = metric; } public DataInsightCustomChartResult withMetric(String metric) { this.metric = metric; return this; } /** * Term of Result, used in case of horizontal axis not timestamp * */ @JsonProperty("term") public String getTerm() { return term; } /** * Term of Result, used in case of horizontal axis not timestamp * */ @JsonProperty("term") public void setTerm(String term) { this.term = term; } public DataInsightCustomChartResult withTerm(String term) { this.term = term; return this; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(DataInsightCustomChartResult.class.getName()).append('@').append(Integer.toHexString(System.identityHashCode(this))).append('['); sb.append("count"); sb.append('='); sb.append(((this.count == null)?"":this.count)); sb.append(','); sb.append("day"); sb.append('='); sb.append(((this.day == null)?"":this.day)); sb.append(','); sb.append("group"); sb.append('='); sb.append(((this.group == null)?"":this.group)); sb.append(','); sb.append("metric"); sb.append('='); sb.append(((this.metric == null)?"":this.metric)); sb.append(','); sb.append("term"); sb.append('='); sb.append(((this.term == null)?"":this.term)); sb.append(','); if (sb.charAt((sb.length()- 1)) == ',') { sb.setCharAt((sb.length()- 1), ']'); } else { sb.append(']'); } return sb.toString(); } @Override public int hashCode() { int result = 1; result = ((result* 31)+((this.count == null)? 0 :this.count.hashCode())); result = ((result* 31)+((this.term == null)? 0 :this.term.hashCode())); result = ((result* 31)+((this.day == null)? 0 :this.day.hashCode())); result = ((result* 31)+((this.metric == null)? 0 :this.metric.hashCode())); result = ((result* 31)+((this.group == null)? 0 :this.group.hashCode())); return result; } @Override public boolean equals(Object other) { if (other == this) { return true; } if ((other instanceof DataInsightCustomChartResult) == false) { return false; } DataInsightCustomChartResult rhs = ((DataInsightCustomChartResult) other); return ((((((this.count == rhs.count)||((this.count!= null)&&this.count.equals(rhs.count)))&&((this.term == rhs.term)||((this.term!= null)&&this.term.equals(rhs.term))))&&((this.day == rhs.day)||((this.day!= null)&&this.day.equals(rhs.day))))&&((this.metric == rhs.metric)||((this.metric!= null)&&this.metric.equals(rhs.metric))))&&((this.group == rhs.group)||((this.group!= null)&&this.group.equals(rhs.group)))); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy