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

package tsptest.internal.models;

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

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

    /**
     * Static value Weekend for UnusedEnum.
     */
    @Generated
    public static final UnusedEnum WEEKEND = fromString("Weekend");

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

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

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