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

package com.azure.resourcemanager.appservice.models;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/** Defines values for IpFilterTag. */
public enum IpFilterTag {
    /** Enum value Default. */
    DEFAULT("Default"),

    /** Enum value XffProxy. */
    XFF_PROXY("XffProxy");

    /** The actual serialized value for a IpFilterTag instance. */
    private final String value;

    IpFilterTag(String value) {
        this.value = value;
    }

    /**
     * Parses a serialized value to a IpFilterTag instance.
     *
     * @param value the serialized value to parse.
     * @return the parsed IpFilterTag object, or null if unable to parse.
     */
    @JsonCreator
    public static IpFilterTag fromString(String value) {
        IpFilterTag[] items = IpFilterTag.values();
        for (IpFilterTag item : items) {
            if (item.toString().equalsIgnoreCase(value)) {
                return item;
            }
        }
        return null;
    }

    @JsonValue
    @Override
    public String toString() {<commit_msg>mgmt, appservice, fix issue caused by service (#18359)<commit_after>// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.appservice.models;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

/** Defines values for IpFilterTag. */
public enum IpFilterTag {
    /** Enum value Default. */
    DEFAULT("Default"),

    /** Enum value XffProxy. */
    XFF_PROXY("XffProxy"),

    /** Enum value ServiceTag. */
    SERVICE_TAG("ServiceTag");

    /** The actual serialized value for a IpFilterTag instance. */
    private final String value;

    IpFilterTag(String value) {
        this.value = value;
    }

    /**
     * Parses a serialized value to a IpFilterTag instance.
     *
     * @param value the serialized value to parse.
     * @return the parsed IpFilterTag object, or null if unable to parse.
     */
    @JsonCreator
    public static IpFilterTag fromString(String value) {
        IpFilterTag[] items = IpFilterTag.values();
        for (IpFilterTag item : items) {
            if (item.toString().equalsIgnoreCase(value)) {
                return item;
            }
        }
        return null;
    }

    @JsonValue
    @Override
    public String toString() {
{'fraction_non_alphanumeric': 0.10011376564277588, 'fraction_numerical': 0.0018960940462646946, 'mean_word_length': 2.6136986301369864, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5666146', 'n_tokens_mistral': 751, 'n_tokens_neox': 720, 'n_words': 227}