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

package com.azure.resourcemanager.mediaservices.models;

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

/** Type of the track. */
public final class LiveEventStreamEventMediaType extends ExpandableStringEnum<LiveEventStreamEventMediaType> {
    /** Static value audio for LiveEventStreamEventMediaType. */
    public static final LiveEventStreamEventMediaType AUDIO = fromString("audio");

    /** Static value video for LiveEventStreamEventMediaType. */
    public static final LiveEventStreamEventMediaType VIDEO = fromString("video");

    /**
     * Creates a new instance of LiveEventStreamEventMediaType value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public LiveEventStreamEventMediaType() {
    }

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

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