package de.beyondsoft.ownchat.data.api.responses;

import com.google.gson.annotations.SerializedName;

import de.beyondsoft.ownchat.model.common.BaseResponse;

import java.util.ArrayList;

import de.beyondsoft.ownchat.model.Message;

/**
 * Created by imarneanu on 3/1/17.
 */
public class MessagesResponse extends BaseResponse {
    @SerializedName("response")
    public Response response;

    public static class Response {

        @SerializedName("messages")
        public ArrayList<Message> messages;

        @SerializedName("hasMorePages")
        public boolean hasMorePages;

    }
}