com.sendsafely.dto.response.PackageListResponse Maven / Gradle / Ivy
package com.sendsafely.dto.response;
import java.util.Date;
import java.util.List;
import com.sendsafely.enums.PackageState;
public class PackageListResponse extends BaseResponse {
private String packageId;
private String packageCode;
private String serverSecret;
private List recipients;
private List contactGroups;
private List files;
private List filenames;
private List approverList;
private boolean needsApproval;
private PackageState state;
private int packageState;
private int life;
private String packageLabel;
private boolean packageIsVdr;
private String packageUserName;
private Date packageUpdateTimestamp;
private String packageParentId;
public List getRecipients() {
return recipients;
}
public void setRecipients(List recipients) {
this.recipients = recipients;
}
public List getContactGroups() {
return contactGroups;
}
public void setContactGroups(List contactGroups) {
this.contactGroups = contactGroups;
}
public List getFiles() {
return files;
}
public void setFiles(List files) {
this.files = files;
}
public boolean getNeedsApproval() {
return needsApproval;
}
public void setNeedsApproval(boolean needsApproval) {
this.needsApproval = needsApproval;
}
public PackageState getState() {
return state;
}
public void setState(PackageState state) {
this.state = state;
}
public List getApproverList() {
return approverList;
}
public void setApproverList(List approverList) {
this.approverList = approverList;
}
public String getPackageId() {
return packageId;
}
public void setPackageId(String packageId) {
this.packageId = packageId;
}
public String getPackageCode() {
return packageCode;
}
public void setPackageCode(String packageCode) {
this.packageCode = packageCode;
}
public String getServerSecret() {
return serverSecret;
}
public void setServerSecret(String serverSecret) {
this.serverSecret = serverSecret;
}
public int getLife() {
return life;
}
public void setLife(int life) {
this.life = life;
}
public String getDescription() {
return packageLabel;
}
public void setDescription(String description) {
this.packageLabel = description;
}
public boolean getIsWorkspace() {
return packageIsVdr;
}
public void setIsWorkspace(boolean isWorkspace) {
this.packageIsVdr = isWorkspace;
}
public String getPackageUserName() {
return packageUserName;
}
public void setPackageUserName(String packageOwner) {
if(packageOwner == null){
this.packageUserName = "";
}else{
this.packageUserName = packageOwner;
}
}
public Date getPackageUpdateTimestamp() {
return packageUpdateTimestamp;
}
public void setPackageUpdateTimestamp(Date packageUpdateTimestamp) {
this.packageUpdateTimestamp = packageUpdateTimestamp;
}
public List getFilenames() {
return filenames;
}
public void setFilenames(List filenames) {
this.filenames = filenames;
}
public int getPackageState() {
return packageState;
}
public void setPackageState(int packageState) {
this.packageState = packageState;
}
public String getPackageParentId() {
return packageParentId;
}
public void setPackageParentId(String packageParentId) {
this.packageParentId = packageParentId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy