package io.particle.android.sdk.devicesetup;

public class SetupResult {
    private boolean wasSuccessful;
    private String configuredDeviceId;

    public SetupResult(boolean wasSuccessful, String configuredDeviceId) {
        this.wasSuccessful = wasSuccessful;
        this.configuredDeviceId = configuredDeviceId;
    }

    public boolean wasSuccessful() {
        return wasSuccessful;
    }

    public void setWasSuccessful(boolean wasSuccessful) {
        this.wasSuccessful = wasSuccessful;
    }

    public String getConfiguredDeviceId() {
        return configuredDeviceId;
    }

    public void setConfiguredDeviceId(String configuredDeviceId) {
        this.configuredDeviceId = configuredDeviceId;
    }
}

@@ -39,16 +39,73 @@
 setup;%0A%0A
+import android.os.Parcel;%0Aimport android.os.Parcelable;%0A%0A
 public c
@@ -121,16 +121,38 @@
 pResult 
+implements Parcelable 
 %7B%0A    pr
@@ -157,16 +157,22 @@
 private 
+final 
 boolean 
@@ -198,16 +198,22 @@
 private 
+final 
 String c
@@ -501,311 +501,831 @@
 lic 
-void setWasSuccessful(boolean wasSuccessful) %7B%0A        this.wasSuccessful = wasSuccessful;%0A    %7D%0A%0A    public String getConfiguredDeviceId() %7B%0A        return configuredDeviceId;%0A    %7D%0A%0A    public void setConfiguredDeviceId(String configuredDeviceId) %7B%0A        this.configuredDeviceId = configuredDeviceId
+String getConfiguredDeviceId() %7B%0A        return configuredDeviceId;%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.writeInt(wasSuccessful ? 1 : 0);%0A        dest.writeString(configuredDeviceId);%0A    %7D%0A%0A    public static final Parcelable.Creator%3CSetupResult%3E CREATOR = new Parcelable.Creator%3CSetupResult%3E() %7B%0A        @Override%0A        public SetupResult createFromParcel(Parcel source) %7B%0A            return new SetupResult(source);%0A        %7D%0A%0A        @Override%0A        public SetupResult%5B%5D newArray(int size) %7B%0A            return new SetupResult%5Bsize%5D;%0A        %7D%0A    %7D;%0A%0A    private SetupResult(Parcel source) %7B%0A        wasSuccessful = source.readInt() == 1;%0A        configuredDeviceId = source.readString()
 ;%0A  

Make SetupResult Parcelable.