com.lajospolya.spotifyapiwrapper.response.Paging Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-api-wrapper Show documentation
Show all versions of spotify-api-wrapper Show documentation
This project wraps the Spotify public API in order to allow users to intuitively use it
package com.lajospolya.spotifyapiwrapper.response;
import java.util.List;
/**
* Spotify's implementation of Paging responses
* @author Lajos Polya
* @param type of the items stored
*/
public class Paging extends CacheableResponse
{
private String href;
private List items;
private Integer limit;
private String next;
private Integer offset;
private String previous;
private Integer total;
public String getHref()
{
return href;
}
public void setHref(String href)
{
this.href = href;
}
public List getItems()
{
return items;
}
public void setItems(List items)
{
this.items = items;
}
public Integer getLimit()
{
return limit;
}
public void setLimit(Integer limit)
{
this.limit = limit;
}
public String getNext()
{
return next;
}
public void setNext(String next)
{
this.next = next;
}
public Integer getOffset()
{
return offset;
}
public void setOffset(Integer offset)
{
this.offset = offset;
}
public String getPrevious()
{
return previous;
}
public void setPrevious(String previous)
{
this.previous = previous;
}
public Integer getTotal()
{
return total;
}
public void setTotal(Integer total)
{
this.total = total;
}
}