// 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 InclineLevel. */
public final class InclineLevel extends ExpandableStringEnum<InclineLevel> {
    /** Static value low for InclineLevel. */
    public static final InclineLevel LOW = fromString("low");

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

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

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

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