// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.communication.rooms.implementation.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;

/** Participants to be updated in the room. */
@Fluent
public final class UpdateParticipantsRequest {
    /*
     * Participants to be updated.
     */
    @JsonProperty(value = "participants")
    private Map<String, ParticipantProperties> participants;

    /** Creates an instance of UpdateParticipantsRequest class. */
    public UpdateParticipantsRequest() {}

    /**
     * Get the participants property: Participants to be updated.
     *
     * @return the participants value.
     */
    public Map<String, ParticipantProperties> getParticipants() {
        return this.participants;
    }

    /**
     * Set the participants property: Participants to be updated.
     *
     * @param participants the participants value to set.
     * @return the UpdateParticipantsRequest object itself.
     */
    public UpdateParticipantsRequest setParticipants(Map<String, ParticipantProperties> participants) {
        this.participants = participants;
        return this;
    }
}
