// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.authorization.fluent.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** managedAppFlaggedReason. */
public final class MicrosoftGraphManagedAppFlaggedReason
    extends ExpandableStringEnum<MicrosoftGraphManagedAppFlaggedReason> {
    /** Static value none for MicrosoftGraphManagedAppFlaggedReason. */
    public static final MicrosoftGraphManagedAppFlaggedReason NONE = fromString("none");

    /** Static value rootedDevice for MicrosoftGraphManagedAppFlaggedReason. */
    public static final MicrosoftGraphManagedAppFlaggedReason ROOTED_DEVICE = fromString("rootedDevice");

    /**
     * Creates or finds a MicrosoftGraphManagedAppFlaggedReason from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding MicrosoftGraphManagedAppFlaggedReason.
     */
    @JsonCreator
    public static MicrosoftGraphManagedAppFlaggedReason fromString(String name) {
        return fromString(name, MicrosoftGraphManagedAppFlaggedReason.class);
    }

    /**
     * Gets known MicrosoftGraphManagedAppFlaggedReason values.
     *
     * @return known MicrosoftGraphManagedAppFlaggedReason values.
     */
    public static Collection<MicrosoftGraphManagedAppFlaggedReason> values() {
        return values(MicrosoftGraphManagedAppFlaggedReason.class);
    }
}
