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

io.intercom.api.ContactCollection Maven / Gradle / Ivy

The newest version!
package io.intercom.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Iterator;
import java.util.List;

@SuppressWarnings("UnusedDeclaration")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ContactCollection extends TypedDataCollection {


    public ContactCollection() {
    }

    public ContactCollection(List contacts) {
        this();
        this.page = contacts;
    }

    @SuppressWarnings("EmptyMethod")
    @JsonProperty("contacts")
    @Override
    public List getPage() {
        return super.getPage();
    }

    @Override
    public ContactCollection nextPage() {
        return fetchNextPage(ContactCollection.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy