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

package com.azure.resourcemanager.newrelicobservability.models;

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

/** Source of Account creation. */
public final class AccountCreationSource extends ExpandableStringEnum<AccountCreationSource> {
    /** Static value LIFTR for AccountCreationSource. */
    public static final AccountCreationSource LIFTR = fromString("LIFTR");

    /** Static value NEWRELIC for AccountCreationSource. */
    public static final AccountCreationSource NEWRELIC = fromString("NEWRELIC");

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

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

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