All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.easypost.model.EventCollection Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy