Package com.sendly.models
Class BatchList
java.lang.Object
com.sendly.models.BatchList
- All Implemented Interfaces:
Iterable<BatchMessageResponse>
A list of message batches with pagination metadata.
-
Constructor Details
-
BatchList
public BatchList(com.google.gson.JsonObject json)
-
-
Method Details
-
getData
Get all batches in this page. -
getTotal
public int getTotal()Get the total number of batches. -
getLimit
public int getLimit()Get the limit used for this request. -
getOffset
public int getOffset()Get the offset used for this request. -
hasMore
public boolean hasMore()Check if there are more batches to fetch. -
iterator
- Specified by:
iteratorin interfaceIterable<BatchMessageResponse>
-