com.github.jamesnetherton.zulip.client.api.stream.response.GetSubscriptionStatusApiResponse 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;
/**
* Zulip API response class for getting a stream subscription status.
*
* @see https://zulip.com/api/get-subscription-status#response
*/
public class GetSubscriptionStatusApiResponse extends ZulipApiResponse {
@JsonProperty
private boolean isSubscribed;
public boolean isSubscribed() {
return isSubscribed;
}
}