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

com.azure.communication.chat.models.ListParticipantsOptions Maven / Gradle / Ivy

There is a newer version: 1.5.7
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.communication.chat.models;

import com.azure.core.annotation.Fluent;

/**
 * Additional parameters for list participants operation.
 */
@Fluent
public final class ListParticipantsOptions {
    private Integer maxPageSize;
    private Integer skip;

    /**
     * Gets the maximum page size. It represents the number of participants being requested.
     *
     * @return The maximum page size.
     */
    public Integer getMaxPageSize() {
        return maxPageSize;
    }

    /**
     * Set the maximum page size. It represents the number of participants being requested.
     *
     * @param maxPageSize The maximum page size.
     * @return The {@link ListParticipantsOptions} object itself.
     */
    public ListParticipantsOptions setMaxPageSize(Integer maxPageSize) {
        this.maxPageSize = maxPageSize;
        return this;
    }

    /**
     * Gets the skip for the range to query.
     *
     * @return The skip.
     */
    public Integer getSkip() {
        return skip;
    }

    /**
     * Sets the skip for the range to query.
     *
     * @param skip The number of items to skip.
     * @return The {@link ListParticipantsOptions} object itself.
     */
    public ListParticipantsOptions setSkip(Integer skip) {
        this.skip = skip;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy