com.tinypass.client.publisher.model.ContractUser Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class ContractUser {
/* The user's email address (single) */
private String email = null;
/* The user's last name */
private String lastName = null;
/* The user's first name */
private String firstName = null;
/* The contract user's public ID */
private String contractUserId = null;
/* The status of the user access redemption */
private String status = null;
//public enum statusEnum { invalid, pending, active, revoked, };
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getContractUserId() {
return contractUserId;
}
public void setContractUserId(String contractUserId) {
this.contractUserId = contractUserId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ContractUser {\n");
sb.append(" email: ").append(email).append("\n");
sb.append(" lastName: ").append(lastName).append("\n");
sb.append(" firstName: ").append(firstName).append("\n");
sb.append(" contractUserId: ").append(contractUserId).append("\n");
sb.append(" status: ").append(status).append("\n");
sb.append("}\n");
return sb.toString();
}
}