// 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;

/** Synapse notebook reference type. */
public final class NotebookReferenceType extends ExpandableStringEnum<NotebookReferenceType> {
    /** Static value NotebookReference for NotebookReferenceType. */
    public static final NotebookReferenceType NOTEBOOK_REFERENCE = fromString("NotebookReference");

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

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

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