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

/** Type of integration runtime. */
public final class IntegrationRuntimeReferenceType extends ExpandableStringEnum<IntegrationRuntimeReferenceType> {
    /** Static value IntegrationRuntimeReference for IntegrationRuntimeReferenceType. */
    public static final IntegrationRuntimeReferenceType INTEGRATION_RUNTIME_REFERENCE =
            fromString("IntegrationRuntimeReference");

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

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