// 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 ResponseSectionType. */
public final class RouteSectionType extends ExpandableStringEnum<RouteSectionType> {
    /** Static value CAR_TRAIN for ResponseSectionType. */
    public static final RouteSectionType CAR_OR_TRAIN = fromString("CAR_TRAIN");

    /** Static value COUNTRY for ResponseSectionType. */
    public static final RouteSectionType COUNTRY = fromString("COUNTRY");

    /** Static value FERRY for ResponseSectionType. */
    public static final RouteSectionType FERRY = fromString("FERRY");

    /** Static value MOTORWAY for ResponseSectionType. */
    public static final RouteSectionType MOTORWAY = fromString("MOTORWAY");

    /** Static value PEDESTRIAN for ResponseSectionType. */
    public static final RouteSectionType PEDESTRIAN = fromString("PEDESTRIAN");

    /** Static value TOLL_ROAD for ResponseSectionType. */
    public static final RouteSectionType TOLL_ROAD = fromString("TOLL_ROAD");

    /** Static value TOLL_VIGNETTE for ResponseSectionType. */
    public static final RouteSectionType TOLL_VIGNETTE = fromString("TOLL_VIGNETTE");

    /** Static value TRAFFIC for ResponseSectionType. */
    public static final RouteSectionType TRAFFIC = fromString("TRAFFIC");

    /** Static value TRAVEL_MODE for ResponseSectionType. */
    public static final RouteSectionType TRAVEL_MODE = fromString("TRAVEL_MODE");

    /** Static value TUNNEL for ResponseSectionType. */
    public static final RouteSectionType TUNNEL = fromString("TUNNEL");

    /** Static value CARPOOL for ResponseSectionType. */
    public static final RouteSectionType CARPOOL = fromString("CARPOOL");

    /** Static value URBAN for ResponseSectionType. */
    public static final RouteSectionType URBAN = fromString("URBAN");

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

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