com.microsoft.graph.generated.models.OperatingSystemUpgradeEligibility Maven / Gradle / Ivy
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;
/**
* Work From Anywhere windows device upgrade eligibility status.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum OperatingSystemUpgradeEligibility implements ValuedEnum {
/** The device is upgraded to latest version of windows. */
Upgraded("upgraded"),
/** Not enough data available to compute the eligibility of device for windows upgrade. */
Unknown("unknown"),
/** The device is not capable for windows upgrade. */
NotCapable("notCapable"),
/** The device is capable for windows upgrade. */
Capable("capable"),
/** Evolvable enumeration sentinel value. Do not use. */
UnknownFutureValue("unknownFutureValue");
public final String value;
OperatingSystemUpgradeEligibility(final String value) {
this.value = value;
}
@jakarta.annotation.Nonnull
public String getValue() { return this.value; }
@jakarta.annotation.Nullable
public static OperatingSystemUpgradeEligibility forValue(@jakarta.annotation.Nonnull final String searchValue) {
Objects.requireNonNull(searchValue);
switch(searchValue) {
case "upgraded": return Upgraded;
case "unknown": return Unknown;
case "notCapable": return NotCapable;
case "capable": return Capable;
case "unknownFutureValue": return UnknownFutureValue;
default: return null;
}
}
}