// 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;

/** Indicates whether activity logs are being sent. */
public final class SendActivityLogsStatus extends ExpandableStringEnum<SendActivityLogsStatus> {
    /** Static value Enabled for SendActivityLogsStatus. */
    public static final SendActivityLogsStatus ENABLED = fromString("Enabled");

    /** Static value Disabled for SendActivityLogsStatus. */
    public static final SendActivityLogsStatus DISABLED = fromString("Disabled");

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

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

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