/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.cognitiveservices.knowledge.qnamaker.models;

import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;

/**
 * Defines values for StrictFiltersCompoundOperationType.
 */
public final class StrictFiltersCompoundOperationType extends ExpandableStringEnum<StrictFiltersCompoundOperationType> {
    /** Static value AND for StrictFiltersCompoundOperationType. */
    public static final StrictFiltersCompoundOperationType AND = fromString("AND");

    /** Static value OR for StrictFiltersCompoundOperationType. */
    public static final StrictFiltersCompoundOperationType OR = fromString("OR");

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

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