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

package com.azure.maps.traffic.models;

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

/** Defines values for TrafficFlowTileStyle. */
public final class TrafficFlowTileStyle extends ExpandableStringEnum<TrafficFlowTileStyle> {
    /** Static value absolute for TrafficFlowTileStyle. */
    public static final TrafficFlowTileStyle ABSOLUTE = fromString("absolute");

    /** Static value relative for TrafficFlowTileStyle. */
    public static final TrafficFlowTileStyle RELATIVE = fromString("relative");

    /** Static value relative-delay for TrafficFlowTileStyle. */
    public static final TrafficFlowTileStyle RELATIVE_DELAY = fromString("relative-delay");

    /** Static value reduced-sensitivity for TrafficFlowTileStyle. */
    public static final TrafficFlowTileStyle REDUCED_SENSITIVITY = fromString("reduced-sensitivity");

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

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