package performa.intercom.resources;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class ScrollableContactCollection  extends ScrollableTypedDataCollection<Contact> {

    @Override
    public ScrollableContactCollection scroll() {
        return DataResource.scroll(getScrollParam(), "contacts", ScrollableContactCollection.class);
    }

    @JsonProperty("contacts")
    @Override
    public List<Contact> getPage() {
        return super.getPage();
    }
}
