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

com.messagebird.objects.ListBase Maven / Gradle / Ivy

Go to download

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy