All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.julienvey.trello.domain.AddMemberToBoardResult Maven / Gradle / Ivy

There is a newer version: 0.14
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy