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

package com.azure.communication.callingserver.implementation.models;

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

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

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

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

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