Class Paging<T>

java.lang.Object
de.sonallux.spotify.api.models.Paging<T>

public class Paging<T> extends Object
PagingObject
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    A link to the Web API endpoint returning the full result of the request
    The requested data.
    int
    The maximum number of items in the response (as set in the query or by default).
    URL to the next page of items.
    int
    The offset of the items returned (as set in the query or by default)
    URL to the previous page of items.
    int
    The total number of items available to return.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • items

      public List<T> items

      The requested data.

    • href

      public String href

      A link to the Web API endpoint returning the full result of the request

    • limit

      public int limit

      The maximum number of items in the response (as set in the query or by default).

    • next

      public String next

      URL to the next page of items. ( null if none)

    • offset

      public int offset

      The offset of the items returned (as set in the query or by default)

    • previous

      public String previous

      URL to the previous page of items. ( null if none)

    • total

      public int total

      The total number of items available to return.

  • Constructor Details

    • Paging

      public Paging()