redox.datamodel.common.Location Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redox-java-data-model Show documentation
Show all versions of redox-java-data-model Show documentation
This project contains Java POJOs representing the data model of Redox API
package redox.datamodel.common;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import redox.datamodel.common.Address;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"Type",
"Facility",
"Department",
"Room"
})
public class Location {
@JsonProperty("Type")
private Object type;
@JsonProperty("Facility")
private Object facility;
@JsonProperty("Department")
private Object department;
@JsonProperty("Room")
private Object room;
@JsonProperty("Address")
private Address address;
@JsonProperty("Name")
private String name;
@JsonIgnore
private Map additionalProperties = new HashMap();
@JsonProperty("Type")
public Object getType() {
return type;
}
@JsonProperty("Type")
public void setType(Object type) {
this.type = type;
}
@JsonProperty("Facility")
public Object getFacility() {
return facility;
}
@JsonProperty("Facility")
public void setFacility(Object facility) {
this.facility = facility;
}
@JsonProperty("Department")
public Object getDepartment() {
return department;
}
@JsonProperty("Department")
public void setDepartment(Object department) {
this.department = department;
}
@JsonProperty("Room")
public Object getRoom() {
return room;
}
@JsonProperty("Room")
public void setRoom(Object room) {
this.room = room;
}
@JsonProperty("Address")
public Address getAddress() {
return address;
}
@JsonProperty("Address")
public void setAddress(Address address) {
this.address = address;
}
@JsonProperty("Name")
public String getName() {
return name;
}
@JsonProperty("Name")
public void setName(String name) {
this.name = name;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}