org.teamapps.dto.UiLinearGaugeOptions Maven / Gradle / Ivy
The newest version!
package org.teamapps.dto;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.function.Supplier;
import java.util.stream.Collectors;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonTypeIdResolver;
/**
* THIS IS GENERATED CODE!
* PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.CUSTOM, property = "_type", defaultImpl = UiLinearGaugeOptions.class)
public class UiLinearGaugeOptions implements UiObject {
protected Double borderRadius;
protected Double barBeginCircle;
protected String colorBarEnd;
protected String colorBarProgressEnd;
protected String tickSide;
protected String needleSide;
protected String numberSide;
protected Double ticksWidth;
protected Double ticksWidthMinor;
protected Double ticksPadding;
protected Double barLength;
public UiLinearGaugeOptions() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_LINEAR_GAUGE_OPTIONS;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("borderRadius=" + borderRadius).append(", ")
.append("barBeginCircle=" + barBeginCircle).append(", ")
.append("colorBarEnd=" + colorBarEnd).append(", ")
.append("colorBarProgressEnd=" + colorBarProgressEnd).append(", ")
.append("tickSide=" + tickSide).append(", ")
.append("needleSide=" + needleSide).append(", ")
.append("numberSide=" + numberSide).append(", ")
.append("ticksWidth=" + ticksWidth).append(", ")
.append("ticksWidthMinor=" + ticksWidthMinor).append(", ")
.append("ticksPadding=" + ticksPadding).append(", ")
.append("barLength=" + barLength)
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("borderRadius")
public Double getBorderRadius() {
return borderRadius;
}
@com.fasterxml.jackson.annotation.JsonGetter("barBeginCircle")
public Double getBarBeginCircle() {
return barBeginCircle;
}
@com.fasterxml.jackson.annotation.JsonGetter("colorBarEnd")
public String getColorBarEnd() {
return colorBarEnd;
}
@com.fasterxml.jackson.annotation.JsonGetter("colorBarProgressEnd")
public String getColorBarProgressEnd() {
return colorBarProgressEnd;
}
@com.fasterxml.jackson.annotation.JsonGetter("tickSide")
public String getTickSide() {
return tickSide;
}
@com.fasterxml.jackson.annotation.JsonGetter("needleSide")
public String getNeedleSide() {
return needleSide;
}
@com.fasterxml.jackson.annotation.JsonGetter("numberSide")
public String getNumberSide() {
return numberSide;
}
@com.fasterxml.jackson.annotation.JsonGetter("ticksWidth")
public Double getTicksWidth() {
return ticksWidth;
}
@com.fasterxml.jackson.annotation.JsonGetter("ticksWidthMinor")
public Double getTicksWidthMinor() {
return ticksWidthMinor;
}
@com.fasterxml.jackson.annotation.JsonGetter("ticksPadding")
public Double getTicksPadding() {
return ticksPadding;
}
@com.fasterxml.jackson.annotation.JsonGetter("barLength")
public Double getBarLength() {
return barLength;
}
@com.fasterxml.jackson.annotation.JsonSetter("borderRadius")
public UiLinearGaugeOptions setBorderRadius(Double borderRadius) {
this.borderRadius = borderRadius;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("barBeginCircle")
public UiLinearGaugeOptions setBarBeginCircle(Double barBeginCircle) {
this.barBeginCircle = barBeginCircle;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("colorBarEnd")
public UiLinearGaugeOptions setColorBarEnd(String colorBarEnd) {
this.colorBarEnd = colorBarEnd;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("colorBarProgressEnd")
public UiLinearGaugeOptions setColorBarProgressEnd(String colorBarProgressEnd) {
this.colorBarProgressEnd = colorBarProgressEnd;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("tickSide")
public UiLinearGaugeOptions setTickSide(String tickSide) {
this.tickSide = tickSide;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("needleSide")
public UiLinearGaugeOptions setNeedleSide(String needleSide) {
this.needleSide = needleSide;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("numberSide")
public UiLinearGaugeOptions setNumberSide(String numberSide) {
this.numberSide = numberSide;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("ticksWidth")
public UiLinearGaugeOptions setTicksWidth(Double ticksWidth) {
this.ticksWidth = ticksWidth;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("ticksWidthMinor")
public UiLinearGaugeOptions setTicksWidthMinor(Double ticksWidthMinor) {
this.ticksWidthMinor = ticksWidthMinor;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("ticksPadding")
public UiLinearGaugeOptions setTicksPadding(Double ticksPadding) {
this.ticksPadding = ticksPadding;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("barLength")
public UiLinearGaugeOptions setBarLength(Double barLength) {
this.barLength = barLength;
return this;
}
}