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

com.github.jamesnetherton.zulip.client.api.user.response.GetAllUserPresenceApiResponse Maven / Gradle / Ivy

The newest version!
package com.github.jamesnetherton.zulip.client.api.user.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.jamesnetherton.zulip.client.api.core.ZulipApiResponse;
import com.github.jamesnetherton.zulip.client.api.user.UserPresenceDetail;
import java.util.HashMap;
import java.util.Map;

/**
 * Zulip API response class for getting all users.
 *
 * @see https://zulip.com/api/get-presence#response
 */
public class GetAllUserPresenceApiResponse extends ZulipApiResponse {
    @JsonProperty
    Map> presences = new HashMap<>();

    @JsonProperty
    private double serverTimestamp;

    public Map> getPresences() {
        return presences;
    }

    public double getServerTimestamp() {
        return serverTimestamp;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy