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

com.azure.communication.rooms.implementation.models.ParticipantProperties Maven / Gradle / Ivy

// 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;

/** The ParticipantProperties model. */
@Fluent
public final class ParticipantProperties {
    /*
     * The role of a room participant. The default value is Attendee.
     */
    @JsonProperty(value = "role", required = true)
    private ParticipantRole role;

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

    /**
     * Get the role property: The role of a room participant. The default value is Attendee.
     *
     * @return the role value.
     */
    public ParticipantRole getRole() {
        return this.role;
    }

    /**
     * Set the role property: The role of a room participant. The default value is Attendee.
     *
     * @param role the role value to set.
     * @return the ParticipantProperties object itself.
     */
    public ParticipantProperties setRole(ParticipantRole role) {
        this.role = role;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy