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

com.ringcentral.definitions.GlipDataExportPagingInfo Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package com.ringcentral.definitions;


public class GlipDataExportPagingInfo {
    /**
     * The current page number. 1-indexed, so the first page is 1 by default. May be omitted if result is empty (because non-existent page was specified or perPage=0 was requested)
     * Format: int32
     */
    public Long page;
    /**
     * Current page size, describes how many items are in each page. Default value is 100. Maximum value is 1000. If perPage value in the request is greater than 1000, the maximum value (1000) is applied
     * Format: int32
     */
    public Long perPage;
    /**
     * The zero-based number of the first element on the current page. Omitted if the page is omitted or result is empty
     * Format: int32
     */
    public Long pageStart;
    /**
     * The zero-based index of the last element on the current page. Omitted if the page is omitted or result is empty
     * Format: int32
     */
    public Long pageEnd;
    /**
     * The total number of pages in a dataset. May be omitted for some resources due to performance reasons
     * Format: int32
     */
    public Long totalPages;
    /**
     * The total number of elements in a dataset. May be omitted for some resource due to performance reasons
     * Format: int32
     */
    public Long totalElements;

    public GlipDataExportPagingInfo page(Long page) {
        this.page = page;
        return this;
    }

    public GlipDataExportPagingInfo perPage(Long perPage) {
        this.perPage = perPage;
        return this;
    }

    public GlipDataExportPagingInfo pageStart(Long pageStart) {
        this.pageStart = pageStart;
        return this;
    }

    public GlipDataExportPagingInfo pageEnd(Long pageEnd) {
        this.pageEnd = pageEnd;
        return this;
    }

    public GlipDataExportPagingInfo totalPages(Long totalPages) {
        this.totalPages = totalPages;
        return this;
    }

    public GlipDataExportPagingInfo totalElements(Long totalElements) {
        this.totalElements = totalElements;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy