mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-22 17:10:30 +00:00

Co-authored-by: Harshal Sheth <harshal@acryl.io> Co-authored-by: Dexter Lee <dexter@acryl.io> Co-authored-by: Gabe Lyons <itsgabelyons@gmail.com>
66 lines
1.3 KiB
Java
66 lines
1.3 KiB
Java
package graphql;
|
|
|
|
|
|
@javax.annotation.Generated(
|
|
value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
|
|
date = "2021-05-03T10:56:06-0700"
|
|
)
|
|
public class BarChart implements java.io.Serializable, AnalyticsChart {
|
|
|
|
private String title;
|
|
private java.util.List<NamedBar> bars;
|
|
|
|
public BarChart() {
|
|
}
|
|
|
|
public BarChart(String title, java.util.List<NamedBar> bars) {
|
|
this.title = title;
|
|
this.bars = bars;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public java.util.List<NamedBar> getBars() {
|
|
return bars;
|
|
}
|
|
public void setBars(java.util.List<NamedBar> bars) {
|
|
this.bars = bars;
|
|
}
|
|
|
|
|
|
|
|
public static BarChart.Builder builder() {
|
|
return new BarChart.Builder();
|
|
}
|
|
|
|
public static class Builder {
|
|
|
|
private String title;
|
|
private java.util.List<NamedBar> bars;
|
|
|
|
public Builder() {
|
|
}
|
|
|
|
public Builder setTitle(String title) {
|
|
this.title = title;
|
|
return this;
|
|
}
|
|
|
|
public Builder setBars(java.util.List<NamedBar> bars) {
|
|
this.bars = bars;
|
|
return this;
|
|
}
|
|
|
|
|
|
public BarChart build() {
|
|
return new BarChart(title, bars);
|
|
}
|
|
|
|
}
|
|
}
|