com.github.jamesnetherton.zulip.client.api.user.response.GetAllUserPresenceApiResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zulip-java-client Show documentation
Show all versions of zulip-java-client Show documentation
Java client for the Zulip REST API
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;
}
}