com.github.jamesnetherton.zulip.client.api.stream.response.GetSubscribedStreamsApiResponse 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 com.github.jamesnetherton.zulip.client.api.stream.StreamSubscription;
import java.util.ArrayList;
import java.util.List;
/**
* Zulip API response class for getting subscribed streams.
*
* @see https://zulip.com/api/get-subscriptions#response
*/
public class GetSubscribedStreamsApiResponse extends ZulipApiResponse {
@JsonProperty
private List subscriptions = new ArrayList<>();
public List getSubscriptions() {
return subscriptions;
}
}