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

package com.azure.resourcemanager.alertsmanagement.models;

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

/** Identification of the information to be retrieved by API call. */
public final class MetadataIdentifier extends ExpandableStringEnum<MetadataIdentifier> {
    /** Static value MonitorServiceList for MetadataIdentifier. */
    public static final MetadataIdentifier MONITOR_SERVICE_LIST = fromString("MonitorServiceList");

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

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