// 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 category status. */
public final class CategoryStatus extends ExpandableStringEnum<CategoryStatus> {
    /** Static value Healthy for CategoryStatus. */
    public static final CategoryStatus HEALTHY = fromString("Healthy");

    /** Static value Unhealthy for CategoryStatus. */
    public static final CategoryStatus UNHEALTHY = fromString("Unhealthy");

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

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