com.azure.maps.weather.models.HourlyDuration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-maps-weather Show documentation
Show all versions of azure-maps-weather Show documentation
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;
/**
* Defines values for HourlyDuration.
*/
public final class HourlyDuration extends ExpandableStringEnum {
/**
* 1 Hours.
*/
public static final HourlyDuration ONE_HOUR = fromInt(1);
/**
* 12 Hours.
*/
public static final HourlyDuration TWELVE_HOURS = fromInt(12);
/**
* 24 Hours.
*/
public static final HourlyDuration TWENTY_FOUR_HOURS = fromInt(24);
/**
* 48 Hours.
*/
public static final HourlyDuration FORTY_EIGHT_HOURS = fromInt(48);
/**
* 72 Hours.
*/
public static final HourlyDuration SEVENTY_TWO_HOURS = fromInt(72);
/**
* 96 Hours.
*/
public static final HourlyDuration NINETY_SIX_HOURS = fromInt(96);
/**
* Creates a new instance of HourlyDuration value.
*
* @deprecated Use the {@link #fromInt(int)} factory method.
*/
@Deprecated
public HourlyDuration() {
}
/**
* Creates or finds a HourlyDuration from its string representation.
*
* @param name a name to look for.
* @return the corresponding HourlyDuration.
*/
public static HourlyDuration fromInt(int name) {
return fromString(String.valueOf(name), HourlyDuration.class);
}
/**
* Gets known HourlyDuration values.
*
* @return known HourlyDuration values.
*/
public static Collection values() {
return values(HourlyDuration.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy