package org.commcare.suite.model;

/**
 * Created by amstone326 on 2/3/17.
 */

public class AppAvailableForInstall {

    private String domain;
    private String appName;
    private String appVersion;
    private boolean isOnProd;
    private String profileRef;
    private String mediaProfileRef;

    public AppAvailableForInstall(String domain, String appName, String appVersion,
                                  boolean isOnProd, String profileRef, String mediaProfileRef) {
        this.domain = domain;
        this.appName = appName;
        this.appVersion = appVersion;
        this.isOnProd = isOnProd;
        this.profileRef = profileRef;
        this.mediaProfileRef = mediaProfileRef;
    }

    public String getAppName() {
        return appName;
    }

    public String getMediaProfileRef() {
        return mediaProfileRef;
    }
}

@@ -28,16 +28,46 @@
 model;%0A%0A
+import java.io.Serializable;%0A%0A
 /**%0A * C
@@ -139,16 +139,40 @@
 Install 
+implements Serializable 
 %7B%0A%0A    p

enable persisting app list on rotation