package org.synyx.urlaubsverwaltung.holiday.api;

import java.util.ArrayList;
import java.util.List;


class PublicHolidayListResponse {

    private List<PublicHolidayResponse> publicHolidays;

    PublicHolidayListResponse() {

        this.publicHolidays = new ArrayList<>();
    }


    PublicHolidayListResponse(List<PublicHolidayResponse> publicHolidays) {

        this.publicHolidays = publicHolidays;
    }

    public List<PublicHolidayResponse> getPublicHolidays() {

        return publicHolidays;
    }


    public void setPublicHolidays(List<PublicHolidayResponse> publicHolidays) {

        this.publicHolidays = publicHolidays;
    }
}

Revert "remove PublicHolidayListResponse wrapper object"