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

package com.azure.resourcemanager.azureadexternalidentities.models;

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

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

    /** Static value Auths for BillingType. */
    public static final BillingType AUTHS = fromString("Auths");

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

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