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

package com.azure.maps.weather.models;

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

/** Type of pollutant. Please note that more may be added at any time. */
public final class DominantPollutant extends ExpandableStringEnum<DominantPollutant> {
    /** Static value Carbon Monoxide for DominantPollutant. */
    public static final DominantPollutant CARBON_MONOXIDE = fromString("Carbon Monoxide");

    /** Static value Nitrogen Dioxide for DominantPollutant. */
    public static final DominantPollutant NITROGEN_DIOXIDE = fromString("Nitrogen Dioxide");

    /** Static value Ozone for DominantPollutant. */
    public static final DominantPollutant OZONE = fromString("Ozone");

    /** Static value Particulate Matter 2.5 for DominantPollutant. */
    public static final DominantPollutant PARTICULATE_MATTER25 = fromString("Particulate Matter 2.5");

    /** Static value Particulate Matter 10 for DominantPollutant. */
    public static final DominantPollutant PARTICULATE_MATTER10 = fromString("Particulate Matter 10");

    /** Static value Sulfur Dioxide for DominantPollutant. */
    public static final DominantPollutant SULFUR_DIOXIDE = fromString("Sulfur Dioxide");

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

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