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

package com.azure.resourcemanager.applicationinsights.models;

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

/** Defines values for MyWorkbookManagedIdentityType. */
public final class MyWorkbookManagedIdentityType extends ExpandableStringEnum<MyWorkbookManagedIdentityType> {
    /** Static value UserAssigned for MyWorkbookManagedIdentityType. */
    public static final MyWorkbookManagedIdentityType USER_ASSIGNED = fromString("UserAssigned");

    /** Static value None for MyWorkbookManagedIdentityType. */
    public static final MyWorkbookManagedIdentityType NONE = fromString("None");

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

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