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

package com.azure.resourcemanager.azurestack.models;

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

/** Identity system of the device. */
public final class Category extends ExpandableStringEnum<Category> {
    /** Static value AzureAD for Category. */
    public static final Category AZURE_AD = fromString("AzureAD");

    /** Static value ADFS for Category. */
    public static final Category ADFS = fromString("ADFS");

    /**
     * Creates a new instance of Category value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public Category() {
    }

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

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