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

package client.naming.unionenum.models;

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

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

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

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

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