/*
 * Copyright 2013 - 2014 Eveoh
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package nl.eveoh.mytimetable.apiclient.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;
import java.util.List;

/**
 * A timetable event.
 *
 * @author Marco Krikke
 */
public class Event {

    /**
     * Description of the activity.
     */
    @JsonProperty(required = true)
    private String activityDescription;

    /**
     * Start date of the activity.
     */
    @JsonProperty(required = true)
    private Date startDate;

    /**
     * End date of the activity.
     */
    @JsonProperty(required = true)
    private Date endDate;

    /**
     * List of locations for this activity.
     */
    @JsonProperty(required = true)
    private List<Location> locations;

    @JsonProperty(required = true)
    private String activityTypeDescription;

    public Event() {}

    public Event(String activityDescription, Date startDate, Date endDate, List<Location> locations, String activityTypeDescription) {
        this.activityDescription = activityDescription;
        this.startDate = startDate;
        this.endDate = endDate;
        this.locations = locations;
        this.activityTypeDescription = activityTypeDescription;
    }

    public String getActivityDescription() {
        return activityDescription;
    }

    public void setActivityDescription(String activityDescription) {
        this.activityDescription = activityDescription;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public List<Location> getLocations() {
        return locations;
    }

    public void setLocations(List<Location> locations) {
        this.locations = locations;
    }

    public String getActivityType() {
        return activityTypeDescription;
    }

    public void setActivityType(String activityTypeDescription) {
        this.activityTypeDescription = activityTypeDescription;
    }
}
@@ -1306,16 +1306,155 @@
 tions;%0A%0A
+    /**%0A     * List of staff members for this activity.%0A     */%0A    @JsonProperty(required = true)%0A    private List%3CString%3E staffMembers;%0A%0A
     @Jso
@@ -1648,16 +1648,43 @@
 cations,
+ List%3CString%3E staffMembers,
  String 
@@ -1866,24 +1866,66 @@
  locations;%0A
+        this.staffMembers = staffMembers;%0A
         this
@@ -2671,32 +2671,222 @@
 cations;%0A    %7D%0A%0A
+    public List%3CString%3E getStaffMembers() %7B%0A        return staffMembers;%0A    %7D%0A%0A    public void setStaffMembers(List%3CString%3E staffMembers) %7B%0A        this.staffMembers = staffMembers;%0A    %7D%0A%0A
     public Strin
@@ -3091,8 +3091,9 @@
 %0A    %7D%0A%7D
+%0A

Add support for members of staff.