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

package com.azure.maps.route.models;

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

/** Defines values for WindingnessLevel. */
public final class WindingnessLevel extends ExpandableStringEnum<WindingnessLevel> {
    /** Static value low for WindingnessLevel. */
    public static final WindingnessLevel LOW = fromString("low");

    /** Static value normal for WindingnessLevel. */
    public static final WindingnessLevel NORMAL = fromString("normal");

    /** Static value high for WindingnessLevel. */
    public static final WindingnessLevel HIGH = fromString("high");

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

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