// 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;

/**
 * Determines the set of audio analysis operations to be performed. If unspecified, the Standard AudioAnalysisMode would
 * be chosen.
 */
public final class AudioAnalysisMode extends ExpandableStringEnum<AudioAnalysisMode> {
    /** Static value Standard for AudioAnalysisMode. */
    public static final AudioAnalysisMode STANDARD = fromString("Standard");

    /** Static value Basic for AudioAnalysisMode. */
    public static final AudioAnalysisMode BASIC = fromString("Basic");

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

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

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