All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.maps.weather.models.DominantPollutant Maven / Gradle / Ivy

Go to download

This package contains the Microsoft Azure SDK for Weather SDK. For documentation on how to use this package, please see https://docs.microsoft.com/en-us/rest/api/maps/weather. Package tag 1.0-preview.

The newest version!
// 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 java.util.Collection;

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

    /**
     * Nitrogen dioxide ("NO2").
     */
    public static final DominantPollutant NITROGEN_DIOXIDE = fromString("Nitrogen Dioxide");

    /**
     * Ozone ("O3").
     */
    public static final DominantPollutant OZONE = fromString("Ozone");

    /**
     * Particulate matter 2.5 ("PM2.5").
     */
    public static final DominantPollutant PARTICULATE_MATTER25 = fromString("Particulate Matter 2.5");

    /**
     * Particulate matter 10 ("PM10").
     */
    public static final DominantPollutant PARTICULATE_MATTER10 = fromString("Particulate Matter 10");

    /**
     * Sulfur dioxide ("SO2").
     */
    public static final DominantPollutant SULFUR_DIOXIDE = fromString("Sulfur Dioxide");

    /**
     * Creates a new instance of DominantPollutant value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public DominantPollutant() {
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy