com.versionone.apiclient

## Class Paging

- java.lang.Object
- - com.versionone.apiclient.Paging

-     public class Paging
      extends Object

  Provides support for paging parameter in query.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Paging()` Create with default paging - 0 to Max Integer
    `Paging(int start, int pagesize)` Create with a specific start element and page size

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getPageSize()`
    `int` | `getStart()`
    `String` | `getToken()` Get the paging token
    `void` | `setPageSize(int value)`
    `void` | `setStart(int value)`
    `String` | `toString()` Return object as a string (the token)

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Paging

          public Paging()

      Create with default paging - 0 to Max Integer

    - #### Paging

          public Paging(int start,
                        int pagesize)

      Create with a specific start element and page size
      Parameters:
        `start` - - int
        `pagesize` - - int

  - ### Method Detail

    - #### getPageSize

          public int getPageSize()

    - #### setPageSize

          public void setPageSize(int value)

    - #### getStart

          public int getStart()

    - #### setStart

          public void setStart(int value)

    - #### getToken

          public String getToken()

      Get the paging token
      Returns:
        String

    - #### toString

          public String toString()

      Return object as a string (the token)
      Overrides:
        `toString` in class `Object`

Copyright © 2022 VersionOne, Inc.. All rights reserved.