// 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 Org creation. */
public final class OrgCreationSource extends ExpandableStringEnum<OrgCreationSource> {
    /** Static value LIFTR for OrgCreationSource. */
    public static final OrgCreationSource LIFTR = fromString("LIFTR");

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

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

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

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