com.julienvey.trello.domain.AddMemberToBoardResult Maven / Gradle / Ivy
package com.julienvey.trello.domain;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.julienvey.trello.Trello;
@JsonIgnoreProperties(ignoreUnknown = true)
public class AddMemberToBoardResult extends TrelloEntity {
private String id;
private List members = new ArrayList<>();
private List memberships = new ArrayList<>();
@Override
public void setInternalTrello(Trello trelloService) {
this.trelloService = trelloService;
members.forEach(member -> member.setInternalTrello(trelloService));
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public List getMembers() {
return members;
}
public void setMembers(List members) {
this.members = members;
}
public List getMemberships() {
return memberships;
}
public void setMemberships(List memberships) {
this.memberships = memberships;
}
}