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

package com.azure.communication.jobrouter.models;

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

/** Defines values for ExpressionLanguage. */
public final class ExpressionRouterRuleLanguage extends ExpandableStringEnum<ExpressionRouterRuleLanguage> {
    /** Static value powerFx for ExpressionLanguage. */
    public static final ExpressionRouterRuleLanguage POWER_FX = fromString("powerFx");

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

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