com.azure.maps.traffic.models.DelayMagnitude Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-maps-traffic Show documentation
Show all versions of azure-maps-traffic Show documentation
This package contains Microsoft Azure SDK for Traffic Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Maps Traffic REST APIs. 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.traffic.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for DelayMagnitude. */
public final class DelayMagnitude extends ExpandableStringEnum {
/** Static value 0 for DelayMagnitude. */
public static final DelayMagnitude UNKNOWN = fromInt(0);
/** Static value 1 for DelayMagnitude. */
public static final DelayMagnitude MINOR = fromInt(1);
/** Static value 2 for DelayMagnitude. */
public static final DelayMagnitude MODERATE = fromInt(2);
/** Static value 3 for DelayMagnitude. */
public static final DelayMagnitude MAJOR = fromInt(3);
/** Static value 4 for DelayMagnitude. */
public static final DelayMagnitude INDEFINITE = fromInt(4);
/**
* Creates or finds a DelayMagnitude from its string representation.
*
* @param name a name to look for.
* @return the corresponding DelayMagnitude.
*/
@JsonCreator
public static DelayMagnitude fromInt(int name) {
return fromString(String.valueOf(name), DelayMagnitude.class);
}
/**
* Gets known DelayMagnitude values.
*
* @return known DelayMagnitude values.
*/
public static Collection values() {
return values(DelayMagnitude.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy