com.julienvey.trello.domain.Member Maven / Gradle / Ivy
package com.julienvey.trello.domain;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.List;
import java.util.Map;
@JsonIgnoreProperties(ignoreUnknown = true)
public class Member extends TrelloEntity {
private String id;
private String username;
private String fullName;
private String avatarHash;
private String avatarSource;
private String bio;
private List idPremOrgsAdmin;
private String initials;
private String memberType;
private String status;
private String url;
private boolean confirmed;
private String email;
private String gravatarHash;
private List idBoards;
private List idBoardsInvited;
private List idBoardsPinned;
private List idOrganizations;
private List idOrganizationsInvited;
private List loginTypes;
private String newEmail;
private List oneTimeMessagesDismissed;
private Map prefs;
private List trophies;
private String uploadedAvatarHash;
public List getBoards(Argument... args) {
return trelloService.getMemberBoards(id, args);
}
/* Accessors */
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getFullName() {
return fullName;
}
public void setFullName(String fullName) {
this.fullName = fullName;
}
public String getAvatarHash() {
return avatarHash;
}
public void setAvatarHash(String avatarHash) {
this.avatarHash = avatarHash;
}
public String getBio() {
return bio;
}
public void setBio(String bio) {
this.bio = bio;
}
public List getIdPremOrgsAdmin() {
return idPremOrgsAdmin;
}
public void setIdPremOrgsAdmin(List idPremOrgsAdmin) {
this.idPremOrgsAdmin = idPremOrgsAdmin;
}
public String getInitials() {
return initials;
}
public void setInitials(String initials) {
this.initials = initials;
}
public String getMemberType() {
return memberType;
}
public void setMemberType(String memberType) {
this.memberType = memberType;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getAvatarSource() {
return avatarSource;
}
public void setAvatarSource(String avatarSource) {
this.avatarSource = avatarSource;
}
public boolean isConfirmed() {
return confirmed;
}
public void setConfirmed(boolean confirmed) {
this.confirmed = confirmed;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getGravatarHash() {
return gravatarHash;
}
public void setGravatarHash(String gravatarHash) {
this.gravatarHash = gravatarHash;
}
public List getIdBoards() {
return idBoards;
}
public void setIdBoards(List idBoards) {
this.idBoards = idBoards;
}
public List getIdBoardsInvited() {
return idBoardsInvited;
}
public void setIdBoardsInvited(List idBoardsInvited) {
this.idBoardsInvited = idBoardsInvited;
}
public List getIdBoardsPinned() {
return idBoardsPinned;
}
public void setIdBoardsPinned(List idBoardsPinned) {
this.idBoardsPinned = idBoardsPinned;
}
public List getIdOrganizations() {
return idOrganizations;
}
public void setIdOrganizations(List idOrganizations) {
this.idOrganizations = idOrganizations;
}
public List getIdOrganizationsInvited() {
return idOrganizationsInvited;
}
public void setIdOrganizationsInvited(List idOrganizationsInvited) {
this.idOrganizationsInvited = idOrganizationsInvited;
}
public List getLoginTypes() {
return loginTypes;
}
public void setLoginTypes(List loginTypes) {
this.loginTypes = loginTypes;
}
public String getNewEmail() {
return newEmail;
}
public void setNewEmail(String newEmail) {
this.newEmail = newEmail;
}
public List getOneTimeMessagesDismissed() {
return oneTimeMessagesDismissed;
}
public void setOneTimeMessagesDismissed(List oneTimeMessagesDismissed) {
this.oneTimeMessagesDismissed = oneTimeMessagesDismissed;
}
public Map getPrefs() {
return prefs;
}
public void setPrefs(Map prefs) {
this.prefs = prefs;
}
public List getTrophies() {
return trophies;
}
public void setTrophies(List trophies) {
this.trophies = trophies;
}
public String getUploadedAvatarHash() {
return uploadedAvatarHash;
}
public void setUploadedAvatarHash(String uploadedAvatarHash) {
this.uploadedAvatarHash = uploadedAvatarHash;
}
}