// 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;

/** mdmAuthority. */
public final class MicrosoftGraphMdmAuthority extends ExpandableStringEnum<MicrosoftGraphMdmAuthority> {
    /** Static value unknown for MicrosoftGraphMdmAuthority. */
    public static final MicrosoftGraphMdmAuthority UNKNOWN = fromString("unknown");

    /** Static value intune for MicrosoftGraphMdmAuthority. */
    public static final MicrosoftGraphMdmAuthority INTUNE = fromString("intune");

    /** Static value sccm for MicrosoftGraphMdmAuthority. */
    public static final MicrosoftGraphMdmAuthority SCCM = fromString("sccm");

    /** Static value office365 for MicrosoftGraphMdmAuthority. */
    public static final MicrosoftGraphMdmAuthority OFFICE365 = fromString("office365");

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

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