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

org.teamapps.dto.UiIncidentGraph Maven / Gradle / Ivy

There is a newer version: 0.9.194
Show 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 = UiIncidentGraph.class)
public class UiIncidentGraph implements UiGraph, UiObject {


	protected String id;
	protected boolean yAxisVisible;
	protected String yAxisColor;
	protected String yAxisLabel;
	protected int maxTickDigits;
	protected UiScaleType yScaleType;
	protected UiLongInterval intervalY;
	protected UiLineChartYScaleZoomMode yScaleZoomMode;
	protected boolean yZeroLineVisible;

	public UiIncidentGraph() {
	}

	@com.fasterxml.jackson.annotation.JsonIgnore
	public UiObjectType getUiObjectType() {
		return UiObjectType.UI_INCIDENT_GRAPH;
	}

	@SuppressWarnings("unchecked")
	public String toString() {
		return new StringBuilder(getClass().getSimpleName()).append(": ")
				.append("id=" + id).append(", ")
				.append("yAxisVisible=" + yAxisVisible).append(", ")
				.append("yAxisColor=" + yAxisColor).append(", ")
				.append("yAxisLabel=" + yAxisLabel).append(", ")
				.append("maxTickDigits=" + maxTickDigits).append(", ")
				.append("yScaleType=" + yScaleType).append(", ")
				.append("yScaleZoomMode=" + yScaleZoomMode).append(", ")
				.append("yZeroLineVisible=" + yZeroLineVisible).append(", ")
				.append(intervalY != null ? "intervalY={" + intervalY.toString() + "}" : "")
				.toString();
	}

	@com.fasterxml.jackson.annotation.JsonGetter("id")
	public String getId() {
		return id;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yAxisVisible")
	public boolean getYAxisVisible() {
		return yAxisVisible;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yAxisColor")
	public String getYAxisColor() {
		return yAxisColor;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yAxisLabel")
	public String getYAxisLabel() {
		return yAxisLabel;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("maxTickDigits")
	public int getMaxTickDigits() {
		return maxTickDigits;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yScaleType")
	public UiScaleType getYScaleType() {
		return yScaleType;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("intervalY")
	public UiLongInterval getIntervalY() {
		return intervalY;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yScaleZoomMode")
	public UiLineChartYScaleZoomMode getYScaleZoomMode() {
		return yScaleZoomMode;
	}

	@com.fasterxml.jackson.annotation.JsonGetter("yZeroLineVisible")
	public boolean getYZeroLineVisible() {
		return yZeroLineVisible;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("id")
	public UiIncidentGraph setId(String id) {
		this.id = id;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yAxisVisible")
	public UiIncidentGraph setYAxisVisible(boolean yAxisVisible) {
		this.yAxisVisible = yAxisVisible;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yAxisColor")
	public UiIncidentGraph setYAxisColor(String yAxisColor) {
		this.yAxisColor = yAxisColor;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yAxisLabel")
	public UiIncidentGraph setYAxisLabel(String yAxisLabel) {
		this.yAxisLabel = yAxisLabel;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("maxTickDigits")
	public UiIncidentGraph setMaxTickDigits(int maxTickDigits) {
		this.maxTickDigits = maxTickDigits;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yScaleType")
	public UiIncidentGraph setYScaleType(UiScaleType yScaleType) {
		this.yScaleType = yScaleType;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("intervalY")
	public UiIncidentGraph setIntervalY(UiLongInterval intervalY) {
		this.intervalY = intervalY;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yScaleZoomMode")
	public UiIncidentGraph setYScaleZoomMode(UiLineChartYScaleZoomMode yScaleZoomMode) {
		this.yScaleZoomMode = yScaleZoomMode;
		return this;
	}

	@com.fasterxml.jackson.annotation.JsonSetter("yZeroLineVisible")
	public UiIncidentGraph setYZeroLineVisible(boolean yZeroLineVisible) {
		this.yZeroLineVisible = yZeroLineVisible;
		return this;
	}




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy