Back to project page pequeno-android-spotify.
The source code is released under:
Apache License
If you think the Android project pequeno-android-spotify listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * Copyright 2015 ze-pequeno// w w w. j av a 2 s . c o m * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.pequeno.android.spotify.api.business; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; public class Paging<T> { @JsonProperty("href") protected String href; @JsonProperty("items") protected ArrayList<T> items; @JsonProperty("limit") protected Integer limit; @JsonProperty("offset") protected Integer offset; @JsonProperty("total") protected Integer total; @JsonProperty("next") protected String next; @JsonProperty("previous") protected String previous; public String getHref() { return href; } public void setHref(String href) { this.href = href; } public ArrayList<T> getItems() { return items; } public void setItems(ArrayList<T> items) { this.items = items; } public Integer getLimit() { return limit; } public void setLimit(Integer limit) { this.limit = limit; } public Integer getOffset() { return offset; } public void setOffset(Integer offset) { this.offset = offset; } public Integer getTotal() { return total; } public void setTotal(Integer total) { this.total = total; } public String getNext() { return next; } public void setNext(String next) { this.next = next; } public String getPrevious() { return previous; } public void setPrevious(String previous) { this.previous = previous; } }