com.microsoft.graph.generated.models.ManagedAppFlaggedReason Maven / Gradle / Ivy
package com.microsoft.graph.models;
import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;
/**
* The reason for which a user has been flagged
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum ManagedAppFlaggedReason implements ValuedEnum {
/** No issue. */
None("none"),
/** The app registration is running on a rooted/unlocked device. */
RootedDevice("rootedDevice");
public final String value;
ManagedAppFlaggedReason(final String value) {
this.value = value;
}
@jakarta.annotation.Nonnull
public String getValue() { return this.value; }
@jakarta.annotation.Nullable
public static ManagedAppFlaggedReason forValue(@jakarta.annotation.Nonnull final String searchValue) {
Objects.requireNonNull(searchValue);
switch(searchValue) {
case "none": return None;
case "rootedDevice": return RootedDevice;
default: return null;
}
}
}