/**
* Copyright (C) 2011 Talend Inc. - www.talend.com
*/
package oauth2.common;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class ReservationConfirmation {
private String address;
private int hour;
private boolean calendarUpdated;
public ReservationConfirmation() {
}
public ReservationConfirmation(String address, int hour, boolean updated) {
this.address = address;
this.hour = hour;
this.calendarUpdated = updated;
}
public void setHour(int hour) {
this.hour = hour;
}
public int getHour() {
return hour;
}
public void setAddress(String address) {
this.address = address;
}
public String getAddress() {
return address;
}
public void setCalendarUpdated(boolean calendarUpdated) {
this.calendarUpdated = calendarUpdated;
}
public boolean isCalendarUpdated() {
return calendarUpdated;
}
}