// 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 Api deployment parameter visibility. */
public final class ApiDeploymentParameterVisibility extends ExpandableStringEnum<ApiDeploymentParameterVisibility> {
    /** Static value NotSpecified for ApiDeploymentParameterVisibility. */
    public static final ApiDeploymentParameterVisibility NOT_SPECIFIED = fromString("NotSpecified");

    /** Static value Default for ApiDeploymentParameterVisibility. */
    public static final ApiDeploymentParameterVisibility DEFAULT = fromString("Default");

    /** Static value Internal for ApiDeploymentParameterVisibility. */
    public static final ApiDeploymentParameterVisibility INTERNAL = fromString("Internal");

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

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

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