com.messagebird.objects.ListBase Maven / Gradle / Ivy
package com.messagebird.objects;
import java.util.List;
/**
* Provides an object to deserialize to for endpoints returning listings.
*
* @param Type of the items, e.g. Contact or Message.
*/
public class ListBase {
private Integer offset;
private Integer limit;
private Integer totalCount;
private Links links;
public ListBase() {
}
@Override
public String toString() {
return "ListBase{" +
"offset=" + offset +
", limit=" + limit +
", totalCount=" + totalCount +
", links=" + links +
", items=" + items +
'}';
}
private List items;
public Integer getOffset() {
return offset;
}
public Integer getLimit() {
return limit;
}
public Integer getTotalCount() {
return totalCount;
}
public Links getLinks() {
return links;
}
public List getItems() {
return items;
}
public void setItems(List items) {
this.items = items;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy