package mn.devfest.api.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.Map;

/**
 * Created by chris.black on 12/5/15.
 */
public class Session {
    public boolean all;
    public String description;
    public Date endTime;
    public String room;
    public ArrayList<String> speakers;
    public Date startTime;
    public String title;
    public String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}

@@ -24,16 +24,73 @@
 model;%0A%0A
+import android.os.Parcel;%0Aimport android.os.Parcelable;%0A%0A
 import j
@@ -109,16 +109,16 @@
 ayList;%0A
-
 import j
@@ -135,30 +135,8 @@
 ate;
-%0Aimport java.util.Map;
 %0A%0A/*
@@ -200,16 +200,38 @@
 Session 
+implements Parcelable 
 %7B%0A    pu
@@ -415,24 +415,24 @@
 ring title;%0A
-
     public S
@@ -442,16 +442,1135 @@
 ng id;%0A%0A
+    protected Session(Parcel in) %7B%0A        all = in.readByte() != 0;%0A        description = in.readString();%0A        endTime = new Date(in.readLong());%0A        room = in.readString();%0A        speakers = in.createStringArrayList();%0A        startTime = new Date(in.readLong());%0A        title = in.readString();%0A        id = in.readString();%0A    %7D%0A%0A    @Override%0A    public void writeToParcel(Parcel dest, int flags) %7B%0A        dest.writeByte((byte) (all ? 1 : 0));%0A        dest.writeString(description);%0A        dest.writeLong(endTime.getTime());%0A        dest.writeString(room);%0A        dest.writeStringList(speakers);%0A        dest.writeLong(startTime.getTime());%0A        dest.writeString(title);%0A        dest.writeString(id);%0A    %7D%0A%0A    @Override%0A    public int describeContents() %7B%0A        return 0;%0A    %7D%0A%0A    public static final Creator%3CSession%3E CREATOR = new Creator%3CSession%3E() %7B%0A        @Override%0A        public Session createFromParcel(Parcel in) %7B%0A            return new Session(in);%0A        %7D%0A%0A        @Override%0A        public Session%5B%5D newArray(int size) %7B%0A            return new Session%5Bsize%5D;%0A        %7D%0A    %7D;%0A%0A
     publ

Make Session implement parcelable