com.azure.communication.rooms.implementation.models.ParticipantProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-communication-rooms Show documentation
Show all versions of azure-communication-rooms Show documentation
This package contains clients and data structures used to create, update, get, delete the Azure Communication Room Service.
For this release, see notes
Microsoft Azure Communication Rooms quickstart
// 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;
}
}