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

package com.azure.resourcemanager.machinelearning.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Flag for generating lags for the numeric features. */
public final class FeatureLags extends ExpandableStringEnum<FeatureLags> {
    /** Static value None for FeatureLags. */
    public static final FeatureLags NONE = fromString("None");

    /** Static value Auto for FeatureLags. */
    public static final FeatureLags AUTO = fromString("Auto");

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

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

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