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

package com.azure.resourcemanager.appcomplianceautomation.models;

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

/** Indicates the compliance category type. */
public final class CategoryType extends ExpandableStringEnum<CategoryType> {
    /** Static value FullyAutomated for CategoryType. */
    public static final CategoryType FULLY_AUTOMATED = fromString("FullyAutomated");

    /** Static value PartiallyAutomated for CategoryType. */
    public static final CategoryType PARTIALLY_AUTOMATED = fromString("PartiallyAutomated");

    /** Static value Manual for CategoryType. */
    public static final CategoryType MANUAL = fromString("Manual");

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

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