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

package type.property.valuetypes.models;

import com.azure.core.annotation.Generated;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * Defines values for ExtendedEnum.
 */
public final class ExtendedEnum extends ExpandableStringEnum<ExtendedEnum> {
    /**
     * Static value value2 for ExtendedEnum.
     */
    @Generated
    public static final ExtendedEnum ENUM_VALUE2 = fromString("value2");

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

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

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