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;
    }
}

package mn.devfest.api.model;

import android.os.Parcel;
import android.os.Parcelable;

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

/**
 * Created by chris.black on 12/5/15.
 */
public class Session implements Parcelable {
    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;

    protected Session(Parcel in) {
        all = in.readByte() != 0;
        description = in.readString();
        endTime = new Date(in.readLong());
        room = in.readString();
        speakers = in.createStringArrayList();
        startTime = new Date(in.readLong());
        title = in.readString();
        id = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeByte((byte) (all ? 1 : 0));
        dest.writeString(description);
        dest.writeLong(endTime.getTime());
        dest.writeString(room);
        dest.writeStringList(speakers);
        dest.writeLong(startTime.getTime());
        dest.writeString(title);
        dest.writeString(id);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<Session> CREATOR = new Creator<Session>() {
        @Override
        public Session createFromParcel(Parcel in) {
            return new Session(in);
        }

        @Override
        public Session[] newArray(int size) {
            return new Session[size];
        }
    };

    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;
    }
}

Make Session implement parcelable