XuqmGroup-Server/update-service/src/main/java/com/xuqm/update/model/PreflightSubmitResult.java

36 行
1.2 KiB
Java

package com.xuqm.update.model;
import java.util.List;
/**
* Result of preflight check before submitting to app stores.
*/
public class PreflightSubmitResult {
private String versionId;
private String versionName;
private int versionCode;
private List<StoreRemoteState> stores;
public static PreflightSubmitResult of(String versionId, String versionName, int versionCode, List<StoreRemoteState> stores) {
PreflightSubmitResult r = new PreflightSubmitResult();
r.versionId = versionId;
r.versionName = versionName;
r.versionCode = versionCode;
r.stores = stores;
return r;
}
public String getVersionId() { return versionId; }
public void setVersionId(String versionId) { this.versionId = versionId; }
public String getVersionName() { return versionName; }
public void setVersionName(String versionName) { this.versionName = versionName; }
public int getVersionCode() { return versionCode; }
public void setVersionCode(int versionCode) { this.versionCode = versionCode; }
public List<StoreRemoteState> getStores() { return stores; }
public void setStores(List<StoreRemoteState> stores) { this.stores = stores; }
}