// 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 StopTonesInternal. */
public final class StopTonesInternal extends ExpandableStringEnum<StopTonesInternal> {
    /** Static value zero for StopTonesInternal. */
    public static final StopTonesInternal ZERO = fromString("zero");

    /** Static value one for StopTonesInternal. */
    public static final StopTonesInternal ONE = fromString("one");

    /** Static value two for StopTonesInternal. */
    public static final StopTonesInternal TWO = fromString("two");

    /** Static value three for StopTonesInternal. */
    public static final StopTonesInternal THREE = fromString("three");

    /** Static value four for StopTonesInternal. */
    public static final StopTonesInternal FOUR = fromString("four");

    /** Static value five for StopTonesInternal. */
    public static final StopTonesInternal FIVE = fromString("five");

    /** Static value six for StopTonesInternal. */
    public static final StopTonesInternal SIX = fromString("six");

    /** Static value seven for StopTonesInternal. */
    public static final StopTonesInternal SEVEN = fromString("seven");

    /** Static value eight for StopTonesInternal. */
    public static final StopTonesInternal EIGHT = fromString("eight");

    /** Static value nine for StopTonesInternal. */
    public static final StopTonesInternal NINE = fromString("nine");

    /** Static value a for StopTonesInternal. */
    public static final StopTonesInternal A = fromString("a");

    /** Static value b for StopTonesInternal. */
    public static final StopTonesInternal B = fromString("b");

    /** Static value c for StopTonesInternal. */
    public static final StopTonesInternal C = fromString("c");

    /** Static value d for StopTonesInternal. */
    public static final StopTonesInternal D = fromString("d");

    /** Static value pound for StopTonesInternal. */
    public static final StopTonesInternal POUND = fromString("pound");

    /** Static value asterisk for StopTonesInternal. */
    public static final StopTonesInternal ASTERISK = fromString("asterisk");

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

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