com.azure.communication.rooms.models.ParticipantRole 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
The newest version!
// 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.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for ParticipantRole. */
public final class ParticipantRole extends ExpandableStringEnum {
/** Static value Presenter for ParticipantRole. */
public static final ParticipantRole PRESENTER = fromString("Presenter");
/** Static value Attendee for ParticipantRole. */
public static final ParticipantRole ATTENDEE = fromString("Attendee");
/** Static value Consumer for ParticipantRole. */
public static final ParticipantRole CONSUMER = fromString("Consumer");
/**
* Creates or finds a ParticipantRole from its string representation.
*
* @param name a name to look for.
* @return the corresponding ParticipantRole.
*/
@JsonCreator
public static ParticipantRole fromString(String name) {
return fromString(name, ParticipantRole.class);
}
/**
* Gets known ParticipantRole values.
*
* @return known ParticipantRole values.
*/
public static Collection values() {
return values(ParticipantRole.class);
}
}