67 lines
1.4 KiB
Java
67 lines
1.4 KiB
Java
|
|
package com.cowr.model;
|
||
|
|
|
||
|
|
public class PostLicenseResult {
|
||
|
|
private String license;
|
||
|
|
private boolean uploaded;
|
||
|
|
private String transport_id;
|
||
|
|
private String flow;
|
||
|
|
|
||
|
|
public String getFlow() {
|
||
|
|
return flow;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setFlow(String flow) {
|
||
|
|
this.flow = flow;
|
||
|
|
}
|
||
|
|
|
||
|
|
private boolean access;
|
||
|
|
|
||
|
|
public PostLicenseResult(String license) {
|
||
|
|
this.license = license;
|
||
|
|
this.uploaded = false;
|
||
|
|
this.transport_id = null;
|
||
|
|
this.access = false;
|
||
|
|
this.flow = null;
|
||
|
|
}
|
||
|
|
|
||
|
|
public PostLicenseResult(String license, boolean uploaded, String transport_id, boolean access) {
|
||
|
|
this.license = license;
|
||
|
|
this.uploaded = uploaded;
|
||
|
|
this.transport_id = transport_id;
|
||
|
|
this.access = access;
|
||
|
|
this.flow = null;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getLicense() {
|
||
|
|
return license;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setLicense(String license) {
|
||
|
|
this.license = license;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isUploaded() {
|
||
|
|
return uploaded;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setUploaded(boolean uploaded) {
|
||
|
|
this.uploaded = uploaded;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getTransportId() {
|
||
|
|
return transport_id;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTransportId(String transport_id) {
|
||
|
|
this.transport_id = transport_id;
|
||
|
|
}
|
||
|
|
|
||
|
|
public boolean isAccess() {
|
||
|
|
return access;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAccess(boolean access) {
|
||
|
|
this.access = access;
|
||
|
|
}
|
||
|
|
}
|