org.teamapps.dto.UiLocation 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 = UiLocation.class)
public class UiLocation implements UiObject {
protected String href;
protected String origin;
protected String protocol;
protected String host;
protected String hostname;
protected Integer port;
protected String pathname;
protected String search;
protected String hash;
public UiLocation() {
}
@com.fasterxml.jackson.annotation.JsonIgnore
public UiObjectType getUiObjectType() {
return UiObjectType.UI_LOCATION;
}
@SuppressWarnings("unchecked")
public String toString() {
return new StringBuilder(getClass().getSimpleName()).append(": ")
.append("href=" + href).append(", ")
.append("origin=" + origin).append(", ")
.append("protocol=" + protocol).append(", ")
.append("host=" + host).append(", ")
.append("hostname=" + hostname).append(", ")
.append("port=" + port).append(", ")
.append("pathname=" + pathname).append(", ")
.append("search=" + search).append(", ")
.append("hash=" + hash)
.toString();
}
@com.fasterxml.jackson.annotation.JsonGetter("href")
public String getHref() {
return href;
}
@com.fasterxml.jackson.annotation.JsonGetter("origin")
public String getOrigin() {
return origin;
}
@com.fasterxml.jackson.annotation.JsonGetter("protocol")
public String getProtocol() {
return protocol;
}
@com.fasterxml.jackson.annotation.JsonGetter("host")
public String getHost() {
return host;
}
@com.fasterxml.jackson.annotation.JsonGetter("hostname")
public String getHostname() {
return hostname;
}
@com.fasterxml.jackson.annotation.JsonGetter("port")
public Integer getPort() {
return port;
}
@com.fasterxml.jackson.annotation.JsonGetter("pathname")
public String getPathname() {
return pathname;
}
@com.fasterxml.jackson.annotation.JsonGetter("search")
public String getSearch() {
return search;
}
@com.fasterxml.jackson.annotation.JsonGetter("hash")
public String getHash() {
return hash;
}
@com.fasterxml.jackson.annotation.JsonSetter("href")
public UiLocation setHref(String href) {
this.href = href;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("origin")
public UiLocation setOrigin(String origin) {
this.origin = origin;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("protocol")
public UiLocation setProtocol(String protocol) {
this.protocol = protocol;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("host")
public UiLocation setHost(String host) {
this.host = host;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("hostname")
public UiLocation setHostname(String hostname) {
this.hostname = hostname;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("port")
public UiLocation setPort(Integer port) {
this.port = port;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("pathname")
public UiLocation setPathname(String pathname) {
this.pathname = pathname;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("search")
public UiLocation setSearch(String search) {
this.search = search;
return this;
}
@com.fasterxml.jackson.annotation.JsonSetter("hash")
public UiLocation setHash(String hash) {
this.hash = hash;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy