org.teamapps.dto.UiCalendarEventClientRecord Maven / Gradle / Ivy
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 = UiCalendarEventClientRecord.class)
public class UiCalendarEventClientRecord extends UiIdentifiableClientRecord implements UiObject {
protected String timeGridTemplateId;
protected String dayGridTemplateId;
protected String monthGridTemplateId;
protected long start;
protected long end;
protected boolean allDay;
protected boolean allowDragOperations;
protected String icon;
protected String title;
protected String backgroundColor;
protected String borderColor;
protected UiCalendarEventRenderingStyle rendering;
public UiCalendarEventClientRecord() {
super();
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_CALENDAR_EVENT_CLIENT_RECORD;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("id=" + id).append(", ")
.append("timeGridTemplateId=" + timeGridTemplateId).append(", ")
.append("dayGridTemplateId=" + dayGridTemplateId).append(", ")
.append("monthGridTemplateId=" + monthGridTemplateId).append(", ")
.append("values=" + values).append(", ")
.append("asString=" + asString).append(", ")
.append("start=" + start).append(", ")
.append("end=" + end).append(", ")
.append("allDay=" + allDay).append(", ")
.append("allowDragOperations=" + allowDragOperations).append(", ")
.append("icon=" + icon).append(", ")
.append("title=" + title).append(", ")
.append("backgroundColor=" + backgroundColor).append(", ")
.append("borderColor=" + borderColor).append(", ")
.append("rendering=" + rendering)
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("timeGridTemplateId")
public String getTimeGridTemplateId() {
return timeGridTemplateId;
}
@com.fasterxml.jackson.annotation.JsonGetter("dayGridTemplateId")
public String getDayGridTemplateId() {
return dayGridTemplateId;
}
@com.fasterxml.jackson.annotation.JsonGetter("monthGridTemplateId")
public String getMonthGridTemplateId() {
return monthGridTemplateId;
}
@com.fasterxml.jackson.annotation.JsonGetter("start")
public long getStart() {
return start;
}
@com.fasterxml.jackson.annotation.JsonGetter("end")
public long getEnd() {
return end;
}
@com.fasterxml.jackson.annotation.JsonGetter("allDay")
public boolean getAllDay() {
return allDay;
}
@com.fasterxml.jackson.annotation.JsonGetter("allowDragOperations")
public boolean getAllowDragOperations() {
return allowDragOperations;
}
@com.fasterxml.jackson.annotation.JsonGetter("icon")
public String getIcon() {
return icon;
}
@com.fasterxml.jackson.annotation.JsonGetter("title")
public String getTitle() {
return title;
}
@com.fasterxml.jackson.annotation.JsonGetter("backgroundColor")
public String getBackgroundColor() {
return backgroundColor;
}
@com.fasterxml.jackson.annotation.JsonGetter("borderColor")
public String getBorderColor() {
return borderColor;
}
@com.fasterxml.jackson.annotation.JsonGetter("rendering")
public UiCalendarEventRenderingStyle getRendering() {
return rendering;
}
@com.fasterxml.jackson.annotation.JsonSetter("values")
public UiCalendarEventClientRecord setValues(Map values) {
this.values = values;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("asString")
public UiCalendarEventClientRecord setAsString(String asString) {
this.asString = asString;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("id")
public UiCalendarEventClientRecord setId(int id) {
this.id = id;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("timeGridTemplateId")
public UiCalendarEventClientRecord setTimeGridTemplateId(String timeGridTemplateId) {
this.timeGridTemplateId = timeGridTemplateId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("dayGridTemplateId")
public UiCalendarEventClientRecord setDayGridTemplateId(String dayGridTemplateId) {
this.dayGridTemplateId = dayGridTemplateId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("monthGridTemplateId")
public UiCalendarEventClientRecord setMonthGridTemplateId(String monthGridTemplateId) {
this.monthGridTemplateId = monthGridTemplateId;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("start")
public UiCalendarEventClientRecord setStart(long start) {
this.start = start;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("end")
public UiCalendarEventClientRecord setEnd(long end) {
this.end = end;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("allDay")
public UiCalendarEventClientRecord setAllDay(boolean allDay) {
this.allDay = allDay;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("allowDragOperations")
public UiCalendarEventClientRecord setAllowDragOperations(boolean allowDragOperations) {
this.allowDragOperations = allowDragOperations;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("icon")
public UiCalendarEventClientRecord setIcon(String icon) {
this.icon = icon;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("title")
public UiCalendarEventClientRecord setTitle(String title) {
this.title = title;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("backgroundColor")
public UiCalendarEventClientRecord setBackgroundColor(String backgroundColor) {
this.backgroundColor = backgroundColor;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("borderColor")
public UiCalendarEventClientRecord setBorderColor(String borderColor) {
this.borderColor = borderColor;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("rendering")
public UiCalendarEventClientRecord setRendering(UiCalendarEventRenderingStyle rendering) {
this.rendering = rendering;
return this;
}
}