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

com.github.jamesnetherton.zulip.client.api.stream.response.GetSubscriptionStatusApiResponse Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy