com.penalara.ghc.jsonghcfile.engineghcfile.Classroom 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;
/**
* Classroom
*
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"id",
"capacity",
"frameTemplate",
"refBuilding",
"fullDay"
})
public class Classroom {
/**
* Identifier name of the classroom.
* (Required)
*
*/
@JsonProperty("id")
@JsonPropertyDescription("Identifier name of the classroom.")
private String id;
/**
* The maximum number of students the classroom can hold.
*
*/
@JsonProperty("capacity")
@JsonPropertyDescription("The maximum number of students the classroom can hold.")
private Integer capacity;
/**
* BannedFrameTemplate
*
* Template with only banned preferences.It is used when the element cannot have non-preferred sections.
*
*/
@JsonProperty("frameTemplate")
@JsonPropertyDescription("Template with only banned preferences.")
private List frameTemplate = new ArrayList();
/**
* Building identifier where the class is located.
*
*/
@JsonProperty("refBuilding")
@JsonPropertyDescription("Building identifier where the class is located.")
private String refBuilding;
/**
* This indicates whether the classroom should be booked all day after holding a subject.
*
*/
@JsonProperty("fullDay")
@JsonPropertyDescription("This indicates whether the classroom should be booked all day after holding a subject.")
private Boolean fullDay = false;
@JsonIgnore
private Map additionalProperties = new LinkedHashMap();
/**
* Identifier name of the classroom.
* (Required)
*
*/
@JsonProperty("id")
public String getId() {
return id;
}
/**
* Identifier name of the classroom.
* (Required)
*
*/
@JsonProperty("id")
public void setId(String id) {
this.id = id;
}
/**
* The maximum number of students the classroom can hold.
*
*/
@JsonProperty("capacity")
public Integer getCapacity() {
return capacity;
}
/**
* The maximum number of students the classroom can hold.
*
*/
@JsonProperty("capacity")
public void setCapacity(Integer capacity) {
this.capacity = capacity;
}
/**
* BannedFrameTemplate
*
* Template with only banned preferences.It is used when the element cannot have non-preferred sections.
*
*/
@JsonProperty("frameTemplate")
public List getFrameTemplate() {
return frameTemplate;
}
/**
* BannedFrameTemplate
*
* Template with only banned preferences.It is used when the element cannot have non-preferred sections.
*
*/
@JsonProperty("frameTemplate")
public void setFrameTemplate(List frameTemplate) {
this.frameTemplate = frameTemplate;
}
/**
* Building identifier where the class is located.
*
*/
@JsonProperty("refBuilding")
public String getRefBuilding() {
return refBuilding;
}
/**
* Building identifier where the class is located.
*
*/
@JsonProperty("refBuilding")
public void setRefBuilding(String refBuilding) {
this.refBuilding = refBuilding;
}
/**
* This indicates whether the classroom should be booked all day after holding a subject.
*
*/
@JsonProperty("fullDay")
public Boolean getFullDay() {
return fullDay;
}
/**
* This indicates whether the classroom should be booked all day after holding a subject.
*
*/
@JsonProperty("fullDay")
public void setFullDay(Boolean fullDay) {
this.fullDay = fullDay;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}