com.github.jamesnetherton.zulip.client.api.stream.StreamUnsubscribeResult 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;
import com.github.jamesnetherton.zulip.client.api.stream.response.UnsubscribeStreamsApiResponse;
import java.util.List;
/**
* Defines a Zulip stream unsubscribe result.
*/
public class StreamUnsubscribeResult {
private final UnsubscribeStreamsApiResponse delegate;
public StreamUnsubscribeResult(UnsubscribeStreamsApiResponse delegate) {
this.delegate = delegate;
}
/**
* Gets the stream names that the user was not unsubscribed from.
*
* @return List of stream names that the user was not unsubcribed from
*/
public List getNotRemoved() {
return delegate.getNotRemoved();
}
/**
* Gets the stream names that the user was unsubscribed from.
*
* @return List of stream names that the user was unsubcribed from
*/
public List getRemoved() {
return delegate.getRemoved();
}
}