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

package com.azure.resourcemanager.datafactory.models;

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

/** Data flow reference type. */
public final class DataFlowReferenceType extends ExpandableStringEnum<DataFlowReferenceType> {
    /** Static value DataFlowReference for DataFlowReferenceType. */
    public static final DataFlowReferenceType DATA_FLOW_REFERENCE = fromString("DataFlowReference");

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

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

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