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

package com.azure.resourcemanager.paloaltonetworks.ngfw.models;

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

/** Boolean Enum. */
public final class BooleanEnum extends ExpandableStringEnum<BooleanEnum> {
    /** Static value TRUE for BooleanEnum. */
    public static final BooleanEnum TRUE = fromString("TRUE");

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

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

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

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