| | 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 | |
|
| | 10 | | namespace Azure.Search.Documents.Indexes.Models |
| | 11 | | { |
| | 12 | | /// <summary> Converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII cha |
| | 13 | | public partial class AsciiFoldingTokenFilter : TokenFilter |
| | 14 | | { |
| | 15 | | /// <summary> Initializes a new instance of AsciiFoldingTokenFilter. </summary> |
| | 16 | | /// <param name="name"> The name of the token filter. It must only contain letters, digits, spaces, dashes or un |
| | 17 | | /// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception> |
| 0 | 18 | | public AsciiFoldingTokenFilter(string name) : base(name) |
| | 19 | | { |
| 0 | 20 | | if (name == null) |
| | 21 | | { |
| 0 | 22 | | throw new ArgumentNullException(nameof(name)); |
| | 23 | | } |
| | 24 | |
|
| 0 | 25 | | ODataType = "#Microsoft.Azure.Search.AsciiFoldingTokenFilter"; |
| 0 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> Initializes a new instance of AsciiFoldingTokenFilter. </summary> |
| | 29 | | /// <param name="oDataType"> Identifies the concrete type of the token filter. </param> |
| | 30 | | /// <param name="name"> The name of the token filter. It must only contain letters, digits, spaces, dashes or un |
| | 31 | | /// <param name="preserveOriginal"> A value indicating whether the original token will be kept. Default is false |
| 0 | 32 | | internal AsciiFoldingTokenFilter(string oDataType, string name, bool? preserveOriginal) : base(oDataType, name) |
| | 33 | | { |
| 0 | 34 | | PreserveOriginal = preserveOriginal; |
| 0 | 35 | | ODataType = oDataType ?? "#Microsoft.Azure.Search.AsciiFoldingTokenFilter"; |
| 0 | 36 | | } |
| | 37 | |
|
| | 38 | | /// <summary> A value indicating whether the original token will be kept. Default is false. </summary> |
| 0 | 39 | | public bool? PreserveOriginal { get; set; } |
| | 40 | | } |
| | 41 | | } |