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

    /** Static value summaryOnly for RouteRepresentationForBestOrder. */
    public static final RouteRepresentationForBestOrder SUMMARY_ONLY = fromString("summaryOnly");

    /** Static value none for RouteRepresentationForBestOrder. */
    public static final RouteRepresentationForBestOrder NONE = fromString("none");

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

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