// 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 DataMaskingMode. */
public final class DataMaskingMode extends ExpandableStringEnum<DataMaskingMode> {
    /** Static value Mask for DataMaskingMode. */
    public static final DataMaskingMode MASK = fromString("Mask");

    /** Static value Hide for DataMaskingMode. */
    public static final DataMaskingMode HIDE = fromString("Hide");

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

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