Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.med.ars.model.response;

import java.util.Set;

import com.fasterxml.jackson.annotation.JsonInclude;

import net.minidev.json.JSONObject;

public class UserInfoResponse {
private String userName;
private String lastLogin;
private Set<String> userRoles;
private JSONObject permissions;
/* private String enableEdit;
private String enableExport;*/

@JsonInclude(JsonInclude.Include.NON_NULL)
private String attachmentId;

/*public String getEnableEdit() {
return enableEdit;
}

public void setEnableEdit(String enableEdit) {
this.enableEdit = enableEdit;
}

public String getEnableExport() {
return enableExport;
}

public void setEnableExport(String enableExport) {
this.enableExport = enableExport;
}*/

public UserInfoResponse() {

}

/**
* @return the userName
*/
public String getUserName() {
return userName;
}

/**
* @param userName
* the userName to set
*/
public void setUserName(String userName) {
this.userName = userName;
}

/**
* @return the lastLogin
*/
public String getLastLogin() {
return lastLogin;
}

/**
* @param lastLogin
* the lastLogin to set
*/
public void setLastLogin(String lastLogin) {
this.lastLogin = lastLogin;
}

/**
* @return the userRoles
*/
public Set<String> getUserRoles() {
return userRoles;
}

/**
* @param userRoles
* the userRoles to set
*/
public void setUserRoles(Set<String> userRoles) {
this.userRoles = userRoles;
}

/**
* @return the permissions
*/
public JSONObject getPermissions() {
return permissions;
}

/**
* @param permissions
* the permissions to set
*/
public void setPermissions(JSONObject permissions) {
this.permissions = permissions;
}

/**
* @return the attachmentId
*/
public String getAttachmentId() {
return attachmentId;
}

/**
* @param attachmentId
* the attachmentId to set
*/
public void setAttachmentId(String attachmentId) {
this.attachmentId = attachmentId;
}

/**
* @param userName
* @param lastLogin
* @param userRoles
*/
public UserInfoResponse(String userName, String lastLogin, Set<String> userRoles) {
super();
this.userName = userName;
this.lastLogin = lastLogin;
this.userRoles = userRoles;
}

}