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

package com.azure.resourcemanager.dynatrace.models;

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

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

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

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

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