org.teamapps.dto.UiConfiguration 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 = UiConfiguration.class)
public class UiConfiguration implements UiObject {
protected String locale = "en";
protected String themeClassName = null;
protected boolean optimizedForTouch = false;
protected ClosedSessionHandlingType closedSessionHandling;
public UiConfiguration() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_CONFIGURATION;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("themeClassName=" + themeClassName).append(", ")
.append("locale=" + locale).append(", ")
.append("optimizedForTouch=" + optimizedForTouch).append(", ")
.append("closedSessionHandling=" + closedSessionHandling)
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("locale")
public String getLocale() {
return locale;
}
@com.fasterxml.jackson.annotation.JsonGetter("themeClassName")
public String getThemeClassName() {
return themeClassName;
}
@com.fasterxml.jackson.annotation.JsonGetter("optimizedForTouch")
public boolean getOptimizedForTouch() {
return optimizedForTouch;
}
@com.fasterxml.jackson.annotation.JsonGetter("closedSessionHandling")
public ClosedSessionHandlingType getClosedSessionHandling() {
return closedSessionHandling;
}
@com.fasterxml.jackson.annotation.JsonSetter("locale")
public UiConfiguration setLocale(String locale) {
this.locale = locale;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("themeClassName")
public UiConfiguration setThemeClassName(String themeClassName) {
this.themeClassName = themeClassName;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("optimizedForTouch")
public UiConfiguration setOptimizedForTouch(boolean optimizedForTouch) {
this.optimizedForTouch = optimizedForTouch;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("closedSessionHandling")
public UiConfiguration setClosedSessionHandling(ClosedSessionHandlingType closedSessionHandling) {
this.closedSessionHandling = closedSessionHandling;
return this;
}
}