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

package com.azure.resourcemanager.providerhub.models;

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

/** Defines values for LoggingDetails. */
public final class LoggingDetails extends ExpandableStringEnum<LoggingDetails> {
    /** Static value None for LoggingDetails. */
    public static final LoggingDetails NONE = fromString("None");

    /** Static value Body for LoggingDetails. */
    public static final LoggingDetails BODY = fromString("Body");

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

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

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