com.azure.communication.rooms.implementation.models.RoomParticipantInternal 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;
/** A participant of the room. */
@Fluent
public final class RoomParticipantInternal {
/*
* Role Name.
*/
@JsonProperty(value = "role")
private String role;
/**
* Get the role property: Role Name.
*
* @return the role value.
*/
public String getRole() {
return this.role;
}
/**
* Set the role property: Role Name.
*
* @param role the role value to set.
* @return the RoomParticipantInternal object itself.
*/
public RoomParticipantInternal setRole(String role) {
this.role = role;
return this;
}
}