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

/** Dataset reference type. */
public final class DatasetReferenceType extends ExpandableStringEnum<DatasetReferenceType> {
    /** Static value DatasetReference for DatasetReferenceType. */
    public static final DatasetReferenceType DATASET_REFERENCE = fromString("DatasetReference");

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

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