solarnetwork-api-core
    Preparing search index...

    Class Pagination

    A pagination criteria object.

    Implements

    Index

    Constructors

    Accessors

    Methods

    Constructors

    • Construct a pagination object.

      Parameters

      • Optionalmax: number

        the maximum number of results to return

      • Optionaloffset: number

        the 0-based starting offset

      Returns Pagination

    Accessors

    • get offset(): number

      Get the results starting offset.

      The first available result starts at offset 0. Note this is a raw offset value, not a "page" offset.

      Returns number

      the starting result offset

    Methods