package org.joinmastodon.android.api.requests.lists;

import org.joinmastodon.android.api.MastodonAPIRequest;
import java.util.List;

public class AddAccountsToList extends MastodonAPIRequest<Object> {
    public AddAccountsToList(String listId, List<String> accountIds){
        super(HttpMethod.POST, "/lists/"+listId+"/accounts", Object.class);
        Request req = new Request();
        req.accountIds = accountIds;
        setRequestBody(req);
    }

    public static class Request{
        public List<String> accountIds;
    }
}
