// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.communication.callautomation.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for MediaStreamingAudioChannelType. */
public final class MediaStreamingAudioChannel extends ExpandableStringEnum<MediaStreamingAudioChannel> {
    /** Static value mixed for MediaStreamingAudioChannelType. */
    public static final MediaStreamingAudioChannel MIXED = fromString("mixed");

    /** Static value unmixed for MediaStreamingAudioChannelType. */
    public static final MediaStreamingAudioChannel UNMIXED = fromString("unmixed");

    /**
     * Creates or finds a MediaStreamingAudioChannelType from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding MediaStreamingAudioChannelType.
     */
    @JsonCreator
    public static MediaStreamingAudioChannel fromString(String name) {
        return fromString(name, MediaStreamingAudioChannel.class);
    }

    /** @return known MediaStreamingAudioChannelType values. */
    public static Collection<MediaStreamingAudioChannel> values() {
        return values(MediaStreamingAudioChannel.class);
    }
}
