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

io.intercom.api.UserCollection 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.List;

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


    public UserCollection() {
    }

    public UserCollection(List users) {
        this();
        this.page = users;
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy