// 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 whether all the resource(s) are compliant. */
public final class IsPass extends ExpandableStringEnum<IsPass> {
    /** Static value True for IsPass. */
    public static final IsPass TRUE = fromString("True");

    /** Static value False for IsPass. */
    public static final IsPass FALSE = fromString("False");

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

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