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

package com.azure.resourcemanager.managementgroups.models;

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

/** Defines values for EntityViewParameterType. */
public final class EntityViewParameterType extends ExpandableStringEnum<EntityViewParameterType> {
    /** Static value FullHierarchy for EntityViewParameterType. */
    public static final EntityViewParameterType FULL_HIERARCHY = fromString("FullHierarchy");

    /** Static value GroupsOnly for EntityViewParameterType. */
    public static final EntityViewParameterType GROUPS_ONLY = fromString("GroupsOnly");

    /** Static value SubscriptionsOnly for EntityViewParameterType. */
    public static final EntityViewParameterType SUBSCRIPTIONS_ONLY = fromString("SubscriptionsOnly");

    /** Static value Audit for EntityViewParameterType. */
    public static final EntityViewParameterType AUDIT = fromString("Audit");

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

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

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