package com.litmus.worldscope.model;

import java.util.Date;

/**
 * Stream object returned from WorldScope App Server when creating a new stream
 */
public class WorldScopeCreatedStream extends WorldScopeStream {

    private long endedAt;
    private String streamLink;

    public long getEndedAt() {return endedAt;}
    public String getStreamLink() {return streamLink;};

    public void setEndedAt(long endedAt) {this.endedAt = endedAt;}
    public void setStreamLink(String streamLink) {this.streamLink = streamLink;}
}

@@ -42,21 +42,54 @@
 ort 
-java.util.Dat
+android.os.Parcel;%0Aimport android.os.Parcelabl
 e;%0A%0A
@@ -238,16 +238,38 @@
 eStream 
+implements Parcelable 
 %7B%0A%0A    p
@@ -573,10 +573,825 @@
 mLink;%7D%0A
-%7D
 %0A
+    protected WorldScopeCreatedStream(Parcel in) %7B%0A        endedAt = in.readLong();%0A        streamLink = in.readString();%0A    %7D%0A%0A    @Override%0A    public int describeContents() %7B%0A        return 0;%0A    %7D%0A%0A    @Override%0A    public void writeToParcel(Parcel dest, int flags) %7B%0A        dest.writeLong(endedAt);%0A        dest.writeString(streamLink);%0A    %7D%0A%0A    @SuppressWarnings(%22unused%22)%0A    public static final Parcelable.Creator%3CWorldScopeCreatedStream%3E CREATOR = new Parcelable.Creator%3CWorldScopeCreatedStream%3E() %7B%0A        @Override%0A        public WorldScopeCreatedStream createFromParcel(Parcel in) %7B%0A            return new WorldScopeCreatedStream(in);%0A        %7D%0A%0A        @Override%0A        public WorldScopeCreatedStream%5B%5D newArray(int size) %7B%0A            return new WorldScopeCreatedStream%5Bsize%5D;%0A        %7D%0A    %7D;%0A%7D

Make WorldScopeCreatedStream model parcelable