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

com.github.jamesnetherton.zulip.client.api.stream.response.SubscribeStreamsApiResponse 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;
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy