com.tinypass.client.publisher.model.TeamMember 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;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class TeamMember {
/* The user's first name */
private String firstName = null;
/* The user's last name */
private String lastName = null;
/* The user's personal name. Name and surname ordered as per locale */
private String personalName = null;
/* The user's email address (single) */
private String email = null;
/* The user's ID */
private String uid = null;
/* The creation date */
private Integer createDate = null;
/* The last login stamp */
private Integer lastLogin = null;
/* Whether the invitation is expired */
private Boolean invitationExpired = null;
private List permissions = new ArrayList();
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getPersonalName() {
return personalName;
}
public void setPersonalName(String personalName) {
this.personalName = personalName;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public Integer getCreateDate() {
return createDate;
}
public void setCreateDate(Integer createDate) {
this.createDate = createDate;
}
public Integer getLastLogin() {
return lastLogin;
}
public void setLastLogin(Integer lastLogin) {
this.lastLogin = lastLogin;
}
public Boolean getInvitationExpired() {
return invitationExpired;
}
public void setInvitationExpired(Boolean invitationExpired) {
this.invitationExpired = invitationExpired;
}
public List getPermissions() {
return permissions;
}
public void setPermissions(List permissions) {
this.permissions = permissions;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TeamMember {\n");
sb.append(" firstName: ").append(firstName).append("\n");
sb.append(" lastName: ").append(lastName).append("\n");
sb.append(" personalName: ").append(personalName).append("\n");
sb.append(" email: ").append(email).append("\n");
sb.append(" uid: ").append(uid).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" lastLogin: ").append(lastLogin).append("\n");
sb.append(" invitationExpired: ").append(invitationExpired).append("\n");
sb.append(" permissions: ").append(permissions).append("\n");
sb.append("}\n");
return sb.toString();
}
}