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

com.github.jamesnetherton.zulip.client.api.message.MessageFlagsUpdateResult Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy