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

com.manywho.sdk.api.social.MessageList Maven / Gradle / Ivy

The newest version!
package com.manywho.sdk.api.social;

import com.google.common.base.MoreObjects;
import com.google.common.collect.Lists;

import java.util.ArrayList;
import java.util.List;

public class MessageList {
    private List messages = Lists.newArrayList();
    private String nextPage;

    public List getMessages() {
        return messages;
    }

    public MessageList setMessages(List messages) {
        this.messages = MoreObjects.firstNonNull(messages, new ArrayList());
        return this;
    }

    public String getNextPage() {
        return nextPage;
    }

    public MessageList setNextPage(String nextPage) {
        this.nextPage = nextPage;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy