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

package com.azure.resourcemanager.apimanagement.models;

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

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

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

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