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

package com.azure.resourcemanager.security.models;

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

/** Workspace type. */
public final class AdditionalWorkspaceType extends ExpandableStringEnum<AdditionalWorkspaceType> {
    /** Static value Sentinel for AdditionalWorkspaceType. */
    public static final AdditionalWorkspaceType SENTINEL = fromString("Sentinel");

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

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

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