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

package com.azure.resourcemanager.billing.models;

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

/** Reason for the specified billing profile status. */
public final class StatusReasonCodeForBillingProfile extends ExpandableStringEnum<StatusReasonCodeForBillingProfile> {
    /** Static value PastDue for StatusReasonCodeForBillingProfile. */
    public static final StatusReasonCodeForBillingProfile PAST_DUE = fromString("PastDue");

    /** Static value SpendingLimitReached for StatusReasonCodeForBillingProfile. */
    public static final StatusReasonCodeForBillingProfile SPENDING_LIMIT_REACHED = fromString("SpendingLimitReached");

    /** Static value SpendingLimitExpired for StatusReasonCodeForBillingProfile. */
    public static final StatusReasonCodeForBillingProfile SPENDING_LIMIT_EXPIRED = fromString("SpendingLimitExpired");

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

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

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