com.easypost.model.EventCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easypost-api-client Show documentation
Show all versions of easypost-api-client Show documentation
EasyPost Java Client Library for the EasyPost Shipping API
The newest version!
package com.easypost.model;
import com.easypost.net.EasyPostResource;
import java.util.List;
public final class EventCollection extends EasyPostResource {
private List events;
private Boolean hasMore;
/**
* Get a list of events.
*
* @return List of Event objects.
*/
public List getEvents() {
return events;
}
/**
* Set a list of events.
*
* @param events List of Event objects.
*/
public void setEvents(final List events) {
this.events = events;
}
/**
* Get whether there are more events to retrieve.
*
* @return whether there are more events to retrieve.
*/
public Boolean getHasMore() {
return hasMore;
}
/**
* Set whether there are more events to retrieve.
*
* @param hasMore whether there are more events to retrieve.
*/
public void setHasMore(final Boolean hasMore) {
this.hasMore = hasMore;
}
}