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

package com.azure.resourcemanager.authorization.fluent.models;

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

/** onenotePatchInsertPosition. */
public final class MicrosoftGraphOnenotePatchInsertPosition
    extends ExpandableStringEnum<MicrosoftGraphOnenotePatchInsertPosition> {
    /** Static value After for MicrosoftGraphOnenotePatchInsertPosition. */
    public static final MicrosoftGraphOnenotePatchInsertPosition AFTER = fromString("After");

    /** Static value Before for MicrosoftGraphOnenotePatchInsertPosition. */
    public static final MicrosoftGraphOnenotePatchInsertPosition BEFORE = fromString("Before");

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

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