@Schema(name="id",description="unique identifier of the calendar period",requiredMode=Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("id")
publicStringgetId(){
returnid;
}
publicvoidsetId(Stringid){
this.id=id;
}
publicCalendarPeriodday(Stringday){
this.day=day;
returnthis;
}
/**
* Day where the calendar status applies (e.g.: monday, mon-to-fri, weekdays, weekend, all week, ...)
* @return day
*/
@Schema(name="day",description="Day where the calendar status applies (e.g.: monday, mon-to-fri, weekdays, weekend, all week, ...)",requiredMode=Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("day")
publicStringgetDay(){
returnday;
}
publicvoidsetDay(Stringday){
this.day=day;
}
publicCalendarPeriodtimeZone(StringtimeZone){
this.timeZone=timeZone;
returnthis;
}
/**
* Indication of the timezone applicable to the calendar information (e.g.: Paris, GMT+1)
* @return timeZone
*/
@Schema(name="timeZone",description="Indication of the timezone applicable to the calendar information (e.g.: Paris, GMT+1)",requiredMode=Schema.RequiredMode.NOT_REQUIRED)
* Indication of the availability of the caledar period (e.g.: available, booked, etc.)
* @return status
*/
@NotNull
@Schema(name="status",description="Indication of the availability of the caledar period (e.g.: available, booked, etc.)",requiredMode=Schema.RequiredMode.REQUIRED)
* A URI to a JSON-Schema file that defines additional attributes and relationships
* @return atSchemaLocation
*/
@Schema(name="@schemaLocation",description="A URI to a JSON-Schema file that defines additional attributes and relationships",requiredMode=Schema.RequiredMode.NOT_REQUIRED)