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

package com.azure.resourcemanager.synapse.models;

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

/** The state of integration runtime auto update. */
public final class IntegrationRuntimeAutoUpdate extends ExpandableStringEnum<IntegrationRuntimeAutoUpdate> {
    /** Static value On for IntegrationRuntimeAutoUpdate. */
    public static final IntegrationRuntimeAutoUpdate ON = fromString("On");

    /** Static value Off for IntegrationRuntimeAutoUpdate. */
    public static final IntegrationRuntimeAutoUpdate OFF = fromString("Off");

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

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

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