AliasPathTokenType.java

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

package com.azure.resourcemanager.resources.models;

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

/** Defines values for AliasPathTokenType. */
public final class AliasPathTokenType extends ExpandableStringEnum<AliasPathTokenType> {
    /** Static value NotSpecified for AliasPathTokenType. */
    public static final AliasPathTokenType NOT_SPECIFIED = fromString("NotSpecified");

    /** Static value Any for AliasPathTokenType. */
    public static final AliasPathTokenType ANY = fromString("Any");

    /** Static value String for AliasPathTokenType. */
    public static final AliasPathTokenType STRING = fromString("String");

    /** Static value Object for AliasPathTokenType. */
    public static final AliasPathTokenType OBJECT = fromString("Object");

    /** Static value Array for AliasPathTokenType. */
    public static final AliasPathTokenType ARRAY = fromString("Array");

    /** Static value Integer for AliasPathTokenType. */
    public static final AliasPathTokenType INTEGER = fromString("Integer");

    /** Static value Number for AliasPathTokenType. */
    public static final AliasPathTokenType NUMBER = fromString("Number");

    /** Static value Boolean for AliasPathTokenType. */
    public static final AliasPathTokenType BOOLEAN = fromString("Boolean");

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

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