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

package com.azure.resourcemanager.logic.models;

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

/** The integration service environment network endpoint accessibility state. */
public final class IntegrationServiceEnvironmentNetworkEndPointAccessibilityState
    extends ExpandableStringEnum<IntegrationServiceEnvironmentNetworkEndPointAccessibilityState> {
    /** Static value NotSpecified for IntegrationServiceEnvironmentNetworkEndPointAccessibilityState. */
    public static final IntegrationServiceEnvironmentNetworkEndPointAccessibilityState NOT_SPECIFIED =
        fromString("NotSpecified");

    /** Static value Unknown for IntegrationServiceEnvironmentNetworkEndPointAccessibilityState. */
    public static final IntegrationServiceEnvironmentNetworkEndPointAccessibilityState UNKNOWN = fromString("Unknown");

    /** Static value Available for IntegrationServiceEnvironmentNetworkEndPointAccessibilityState. */
    public static final IntegrationServiceEnvironmentNetworkEndPointAccessibilityState AVAILABLE =
        fromString("Available");

    /** Static value NotAvailable for IntegrationServiceEnvironmentNetworkEndPointAccessibilityState. */
    public static final IntegrationServiceEnvironmentNetworkEndPointAccessibilityState NOT_AVAILABLE =
        fromString("NotAvailable");

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

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

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