com.envisioniot.enos.api.common.constant.request.Scroll Maven / Gradle / Ivy
package com.envisioniot.enos.api.common.constant.request;
import java.io.Serializable;
import java.util.List;
/**
* @author : gaozhijun
* @date : 2019/5/15 2:37
*/
public class Scroll implements Serializable {
private Integer pageSize;
private String pageToken;
private List sorters;
public Scroll() {}
public Scroll(Integer pageSize, String pageToken, List sorters) {
this.pageSize = pageSize;
this.pageToken = pageToken;
this.sorters = sorters;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public String getPageToken() {
return this.pageToken;
}
public void setPageToken(String pageToken) {
this.pageToken = pageToken;
}
public List getSorters() {
return this.sorters;
}
public void setSorters(List sorters) {
this.sorters = sorters;
}
@Override
public String toString() {
return "Scroll(pageSize=" + this.getPageSize() + ", pageToken=" + this.getPageToken() + ", sorters="
+ this.getSorters() + ")";
}
}