48 lines
906 B
Java
48 lines
906 B
Java
package it.acxent.rd.json;
|
|
|
|
public class RdResponseJ {
|
|
public static final long STATUS_ALTRO_ERRORE = 99L;
|
|
|
|
public static final long STATUS_TOKEN_GIA_ASSEGNATO = 2L;
|
|
|
|
public static final long STATUS_TOKEN_NON_TROVATO = 1L;
|
|
|
|
public static final long STATUS_OK = 0L;
|
|
|
|
private String msg;
|
|
|
|
public RdResponseJ(long status, String msg) {
|
|
this.status = status;
|
|
this.msg = msg;
|
|
}
|
|
|
|
private long status = 0L;
|
|
|
|
private String appVersion;
|
|
|
|
public RdResponseJ() {}
|
|
|
|
public String getMsg() {
|
|
return this.msg;
|
|
}
|
|
|
|
public void setMsg(String msg) {
|
|
this.msg = msg;
|
|
}
|
|
|
|
public long getStatus() {
|
|
return this.status;
|
|
}
|
|
|
|
public void setStatus(long status) {
|
|
this.status = status;
|
|
}
|
|
|
|
public String getAppVersion() {
|
|
return this.appVersion;
|
|
}
|
|
|
|
public void setAppVersion(String appVersion) {
|
|
this.appVersion = appVersion;
|
|
}
|
|
}
|