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

com.pubnub.api.java.models.consumer.objects_api.EntityArrayEnvelope Maven / Gradle / Ivy

package com.pubnub.api.java.models.consumer.objects_api;

import com.pubnub.api.models.consumer.objects.PNPage;
import lombok.Getter;
import lombok.ToString;

import java.util.List;

@Getter
@ToString
public class EntityArrayEnvelope extends EntityEnvelope> {

    protected Integer totalCount;
    protected String next;
    protected String prev;

    public PNPage nextPage() {
        return new PNPage.PNNext(next);
    }

    public PNPage previousPage() {
        return new PNPage.PNPrev(prev);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy