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

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

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

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

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

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