Construct a pagination object.
Optionalmax: numberthe maximum number of results to return
Optionaloffset: numberthe 0-based starting offset
Get the maximum number of results to return.
the maximum number of results
Get the results starting offset.
The first available result starts at offset 0. Note this is
a raw offset value, not a "page" offset.
the starting result offset
Get this object as a standard URI encoded (query parameters) string value.
the URI encoded string
Copy constructor with a new offset value.
the new offset to use
a new instance
A pagination criteria object.