issue- cloanable not added in model class - FreeBusyDateModel
Lakshmi-s-rao-28 opened this issue · comments
Lakshmi-s-rao-28 commented
FreeBusyDateModel is returning null. Need to add Cloanable.
public class FreeBusyDateModel implements Serializable, Cloneable {
@JsonProperty("time")
private String time;
@JsonProperty("tzid")
private String tzid;
private FreeBusyDateModel(String time, String tzid) {
this.time = time;
this.tzid = tzid;
}
public static FreeBusyDateModel of(String time) {
return new FreeBusyDateModel(time, null);
}
public static FreeBusyDateModel of(String time, String tzid) {
return new FreeBusyDateModel(time, tzid);
}
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
}