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

package com.azure.analytics.synapse.artifacts.models;

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

/** Pipeline reference type. */
public final class PipelineReferenceType extends ExpandableStringEnum<PipelineReferenceType> {
    /** Static value PipelineReference for PipelineReferenceType. */
    public static final PipelineReferenceType PIPELINE_REFERENCE = fromString("PipelineReference");

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

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