com.github.jamesnetherton.zulip.client.api.message.MessageFlagsUpdateResult 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.message;
import com.github.jamesnetherton.zulip.client.api.message.response.UpdateMessageFlagsForNarrowApiResponse;
/**
* Defines the result of a Zulip add or remove personal message flags request.
*/
public class MessageFlagsUpdateResult {
private UpdateMessageFlagsForNarrowApiResponse delegate;
public MessageFlagsUpdateResult(UpdateMessageFlagsForNarrowApiResponse delegate) {
this.delegate = delegate;
}
public int getFirstProcessedId() {
return delegate.getFirstProcessedId();
}
public boolean isFoundNewest() {
return delegate.isFoundNewest();
}
public boolean isFoundOldest() {
return delegate.isFoundOldest();
}
public int getLastProcessedId() {
return delegate.getLastProcessedId();
}
public int getProcessedCount() {
return delegate.getProcessedCount();
}
public int getUpdatedCount() {
return delegate.getUpdatedCount();
}
}