
com.microsoft.graph.beta.generated.models.DeviceManagementExchangeAccessLevel Maven / Gradle / Ivy
package com.microsoft.graph.beta.models;
import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;
/**
* Access Level in Exchange.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum DeviceManagementExchangeAccessLevel implements ValuedEnum {
/** No device access rule has been configured in Exchange. */
None("none"),
/** Allow the device access to Exchange. */
Allow("allow"),
/** Block the device from accessing Exchange. */
Block("block"),
/** Quarantine the device in Exchange. */
Quarantine("quarantine");
public final String value;
DeviceManagementExchangeAccessLevel(final String value) {
this.value = value;
}
@jakarta.annotation.Nonnull
public String getValue() { return this.value; }
@jakarta.annotation.Nullable
public static DeviceManagementExchangeAccessLevel forValue(@jakarta.annotation.Nonnull final String searchValue) {
Objects.requireNonNull(searchValue);
switch(searchValue) {
case "none": return None;
case "allow": return Allow;
case "block": return Block;
case "quarantine": return Quarantine;
default: return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy