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

com.azure.communication.rooms.models.ParticipantRole Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.1.5
Show 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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy