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

io.getstream.client.model.beans.StreamResponse Maven / Gradle / Ivy

There is a newer version: 2.1.3
Show newest version
package io.getstream.client.model.beans;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * Map Stream's API object response.
 *
 * @param  Type of the items included in the response.
 */
public class StreamResponse {

    private String duration;

    private List results;

    private String next;

    private long unread;

    private long unseen;

    private String version;

    @JsonProperty("app_id")
    private Long appId;

    public List getResults() {
        return results;
    }

    public String getDuration() {
        return duration;
    }

    public String getNext() {
        return next;
    }

    public long getUnread() {
        return unread;
    }

    public long getUnseen() {
        return unseen;
    }

    public String getVersion() {
        return version;
    }

    public Long getAppId() {
        return appId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy