com.commercetools.sunrise.common.pagination.PaginationBean Maven / Gradle / Ivy
package com.commercetools.sunrise.common.pagination;
import com.commercetools.sunrise.common.models.LinkBean;
import com.commercetools.sunrise.common.models.ViewModel;
import java.util.List;
public class PaginationBean extends ViewModel {
private String previousUrl;
private String nextUrl;
private LinkBean firstPage;
private LinkBean lastPage;
private List pages;
public PaginationBean() {
}
public List getPages() {
return pages;
}
public void setPages(final List pages) {
this.pages = pages;
}
public LinkBean getFirstPage() {
return firstPage;
}
public void setFirstPage(final LinkBean firstPage) {
this.firstPage = firstPage;
}
public LinkBean getLastPage() {
return lastPage;
}
public void setLastPage(final LinkBean lastPage) {
this.lastPage = lastPage;
}
public String getPreviousUrl() {
return previousUrl;
}
public void setPreviousUrl(final String previousUrl) {
this.previousUrl = previousUrl;
}
public String getNextUrl() {
return nextUrl;
}
public void setNextUrl(final String nextUrl) {
this.nextUrl = nextUrl;
}
}