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; private List items; public ListBase() { } @Override public String toString() { return "ListBase{" + "offset=" + offset + ", limit=" + limit + ", totalCount=" + totalCount + ", links=" + links + ", items=" + 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; } }