com.messagebird.objects.ListBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of messagebird-api Show documentation
Show all versions of messagebird-api Show documentation
The MessageBird API provides a API to the MessageBird SMS and voicemail services located at https://www.messagebird.com.
The newest version!
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;
}
}