com.sendsafely.dto.response.UserInformationResponse Maven / Gradle / Ivy
package com.sendsafely.dto.response;
public class UserInformationResponse extends BaseResponse {
private String email;
private String clientKey;
private String firstName;
private String lastName;
private boolean betaUser;
private boolean adminUser;
/**
* The email address connected to the user.
* @return email
*/
public String getEmail() {
return email;
}
/**
* Set the email address for the connected user.
* @param email
*/
public void setEmail(String email) {
this.email = email;
}
/**
* The client key for the current user. The client key is a unique token for every user.
* This token can be used to encrypt secrets belonging to the user.
* @return client key
*/
public String getClientKey() {
return clientKey;
}
/**
* Set the client key.
* @param clientKey
*/
public void setClientKey(String clientKey) {
this.clientKey = clientKey;
}
/**
* Get the first name of the current user.
* @return firstName
*/
public String getFirstName() {
return firstName;
}
/**
* Set the first name of the current user.
* @param firstName
*/
public void setFirstName(String firstName) {
this.firstName = firstName;
}
/**
* Get the last name of the current user.
* @return lastName
*/
public String getLastName() {
return lastName;
}
/**
* Set the last name of the current user.
* @param lastName
*/
public void setLastName(String lastName) {
this.lastName = lastName;
}
/**
* Flag indicating if user is eligible to receive beta features.
* @return betaUser
*/
public boolean getBetaUser() {
return betaUser;
}
/**
* Set the betaUser flag
* @param betaUser
*/
public void setBetaUser(boolean betaUser) {
this.betaUser = betaUser;
}
/**
* Flag indicating if usser is admin
* @return
*/
public boolean getAdminUser() {
return adminUser;
}
/**
* Set the isAdmin flag
* @param isAdmin
*/
public void setAdminUser(boolean adminUser) {
this.adminUser = adminUser;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy