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

    /** Static value s2 for TrafficIncidentTileStyle. */
    public static final TrafficIncidentTileStyle S2 = fromString("s2");

    /** Static value s3 for TrafficIncidentTileStyle. */
    public static final TrafficIncidentTileStyle S3 = fromString("s3");

    /** Static value night for TrafficIncidentTileStyle. */
    public static final TrafficIncidentTileStyle NIGHT = fromString("night");

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

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