com.penalara.ghc.jsonghcfile.engineghcfile.Building Maven / Gradle / Ivy
Show all versions of engineInputGHCFile Show documentation
package com.penalara.ghc.jsonghcfile.engineghcfile;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
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.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* Building
*
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"id",
"distances"
})
public class Building {
/**
* Building identifier.
* (Required)
*
*/
@JsonProperty("id")
@JsonPropertyDescription("Building identifier.")
private String id;
/**
* Distances
*
* Distance in minutes to another school building.
*
*/
@JsonProperty("distances")
@JsonPropertyDescription("Distance in minutes to another school building.")
private List distances = new ArrayList();
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
/**
* Building identifier.
* (Required)
*
*/
@JsonProperty("id")
public String getId() {
return id;
}
/**
* Building identifier.
* (Required)
*
*/
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
/**
* Distances
*
* Distance in minutes to another school building.
*
*/
@JsonProperty("distances")
public List getDistances() {
return distances;
}
/**
* Distances
*
* Distance in minutes to another school building.
*
*/
@JsonProperty("distances")
public void setDistances(List distances) {
this.distances = distances;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}