com.github.jamesnetherton.zulip.client.api.stream.response.SubscribeStreamsApiResponse 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.stream.response;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.jamesnetherton.zulip.client.api.core.ZulipApiResponse;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Zulip API response class for subscribing to streams.
*
* @see https://zulip.com/api/subscribe#response
*/
public class SubscribeStreamsApiResponse extends ZulipApiResponse {
@JsonProperty
private Map> subscribed = new HashMap<>();
@JsonProperty
private Map> alreadySubscribed = new HashMap<>();
@JsonProperty
private List unauthorized = new ArrayList<>();
public Map> getSubscribed() {
return subscribed;
}
public Map> getAlreadySubscribed() {
return alreadySubscribed;
}
public List getUnauthorized() {
return unauthorized;
}
}