|  |  | 1 |  | // Copyright (c) Microsoft Corporation. All rights reserved. | 
|  |  | 2 |  | // Licensed under the MIT License. | 
|  |  | 3 |  |  | 
|  |  | 4 |  | // <auto-generated/> | 
|  |  | 5 |  |  | 
|  |  | 6 |  | #nullable disable | 
|  |  | 7 |  |  | 
|  |  | 8 |  | using System; | 
|  |  | 9 |  | using System.ComponentModel; | 
|  |  | 10 |  |  | 
|  |  | 11 |  | namespace Azure.ResourceManager.Network.Models | 
|  |  | 12 |  | { | 
|  |  | 13 |  |     /// <summary> Transforms applied before matching. </summary> | 
|  |  | 14 |  |     public readonly partial struct WebApplicationFirewallTransform : IEquatable<WebApplicationFirewallTransform> | 
|  |  | 15 |  |     { | 
|  |  | 16 |  |         private readonly string _value; | 
|  |  | 17 |  |  | 
|  |  | 18 |  |         /// <summary> Determines if two <see cref="WebApplicationFirewallTransform"/> values are the same. </summary> | 
|  |  | 19 |  |         public WebApplicationFirewallTransform(string value) | 
|  |  | 20 |  |         { | 
|  | 0 | 21 |  |             _value = value ?? throw new ArgumentNullException(nameof(value)); | 
|  | 0 | 22 |  |         } | 
|  |  | 23 |  |  | 
|  |  | 24 |  |         private const string LowercaseValue = "Lowercase"; | 
|  |  | 25 |  |         private const string TrimValue = "Trim"; | 
|  |  | 26 |  |         private const string UrlDecodeValue = "UrlDecode"; | 
|  |  | 27 |  |         private const string UrlEncodeValue = "UrlEncode"; | 
|  |  | 28 |  |         private const string RemoveNullsValue = "RemoveNulls"; | 
|  |  | 29 |  |         private const string HtmlEntityDecodeValue = "HtmlEntityDecode"; | 
|  |  | 30 |  |  | 
|  |  | 31 |  |         /// <summary> Lowercase. </summary> | 
|  | 0 | 32 |  |         public static WebApplicationFirewallTransform Lowercase { get; } = new WebApplicationFirewallTransform(Lowercase | 
|  |  | 33 |  |         /// <summary> Trim. </summary> | 
|  | 0 | 34 |  |         public static WebApplicationFirewallTransform Trim { get; } = new WebApplicationFirewallTransform(TrimValue); | 
|  |  | 35 |  |         /// <summary> UrlDecode. </summary> | 
|  | 0 | 36 |  |         public static WebApplicationFirewallTransform UrlDecode { get; } = new WebApplicationFirewallTransform(UrlDecode | 
|  |  | 37 |  |         /// <summary> UrlEncode. </summary> | 
|  | 0 | 38 |  |         public static WebApplicationFirewallTransform UrlEncode { get; } = new WebApplicationFirewallTransform(UrlEncode | 
|  |  | 39 |  |         /// <summary> RemoveNulls. </summary> | 
|  | 0 | 40 |  |         public static WebApplicationFirewallTransform RemoveNulls { get; } = new WebApplicationFirewallTransform(RemoveN | 
|  |  | 41 |  |         /// <summary> HtmlEntityDecode. </summary> | 
|  | 0 | 42 |  |         public static WebApplicationFirewallTransform HtmlEntityDecode { get; } = new WebApplicationFirewallTransform(Ht | 
|  |  | 43 |  |         /// <summary> Determines if two <see cref="WebApplicationFirewallTransform"/> values are the same. </summary> | 
|  | 0 | 44 |  |         public static bool operator ==(WebApplicationFirewallTransform left, WebApplicationFirewallTransform right) => l | 
|  |  | 45 |  |         /// <summary> Determines if two <see cref="WebApplicationFirewallTransform"/> values are not the same. </summary | 
|  | 0 | 46 |  |         public static bool operator !=(WebApplicationFirewallTransform left, WebApplicationFirewallTransform right) => ! | 
|  |  | 47 |  |         /// <summary> Converts a string to a <see cref="WebApplicationFirewallTransform"/>. </summary> | 
|  | 0 | 48 |  |         public static implicit operator WebApplicationFirewallTransform(string value) => new WebApplicationFirewallTrans | 
|  |  | 49 |  |  | 
|  |  | 50 |  |         /// <inheritdoc /> | 
|  |  | 51 |  |         [EditorBrowsable(EditorBrowsableState.Never)] | 
|  | 0 | 52 |  |         public override bool Equals(object obj) => obj is WebApplicationFirewallTransform other && Equals(other); | 
|  |  | 53 |  |         /// <inheritdoc /> | 
|  | 0 | 54 |  |         public bool Equals(WebApplicationFirewallTransform other) => string.Equals(_value, other._value, StringCompariso | 
|  |  | 55 |  |  | 
|  |  | 56 |  |         /// <inheritdoc /> | 
|  |  | 57 |  |         [EditorBrowsable(EditorBrowsableState.Never)] | 
|  | 0 | 58 |  |         public override int GetHashCode() => _value?.GetHashCode() ?? 0; | 
|  |  | 59 |  |         /// <inheritdoc /> | 
|  | 0 | 60 |  |         public override string ToString() => _value; | 
|  |  | 61 |  |     } | 
|  |  | 62 |  | } |