co.fusionx.spotify.model.jackson.JacksonPagingObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spotify-model Show documentation
Show all versions of spotify-model Show documentation
Spotify Model classes for Spotify APIs
The newest version!
package co.fusionx.spotify.model.jackson;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import co.fusionx.spotify.model.PagingObject;
public class JacksonPagingObject implements PagingObject {
@JsonProperty(value = "href")
private String mHref;
@JsonProperty(value = "items")
private List mItems;
@JsonProperty(value = "limit")
private int mLimit;
@JsonProperty(value = "next")
private String mNext;
@JsonProperty(value = "offset")
private int mOffset;
@JsonProperty(value = "previous")
private String mPrevious;
@JsonProperty(value = "total")
private int mTotal;
@Override
public String getHref() {
return mHref;
}
@Override
public List getItems() {
return mItems;
}
@Override
public int getLimit() {
return mLimit;
}
@Override
public String getNext() {
return mNext;
}
@Override
public int getOffset() {
return mOffset;
}
@Override
public String getPrevious() {
return mPrevious;
}
@Override
public int getTotal() {
return mTotal;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy