| | | 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> Represents an item-level warning. </summary> |
| | | 13 | | public partial class SearchIndexerWarning |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of SearchIndexerWarning. </summary> |
| | | 16 | | /// <param name="message"> The message describing the warning that occurred while processing the item. </param> |
| | | 17 | | /// <exception cref="ArgumentNullException"> <paramref name="message"/> is null. </exception> |
| | 0 | 18 | | internal SearchIndexerWarning(string message) |
| | | 19 | | { |
| | 0 | 20 | | if (message == null) |
| | | 21 | | { |
| | 0 | 22 | | throw new ArgumentNullException(nameof(message)); |
| | | 23 | | } |
| | | 24 | | |
| | 0 | 25 | | Message = message; |
| | 0 | 26 | | } |
| | | 27 | | |
| | | 28 | | /// <summary> Initializes a new instance of SearchIndexerWarning. </summary> |
| | | 29 | | /// <param name="key"> The key of the item which generated a warning. </param> |
| | | 30 | | /// <param name="message"> The message describing the warning that occurred while processing the item. </param> |
| | | 31 | | /// <param name="name"> The name of the source at which the warning originated. For example, this could refer to |
| | | 32 | | /// <param name="details"> Additional, verbose details about the warning to assist in debugging the indexer. Thi |
| | | 33 | | /// <param name="documentationLink"> A link to a troubleshooting guide for these classes of warnings. This may n |
| | 2 | 34 | | internal SearchIndexerWarning(string key, string message, string name, string details, string documentationLink) |
| | | 35 | | { |
| | 2 | 36 | | Key = key; |
| | 2 | 37 | | Message = message; |
| | 2 | 38 | | Name = name; |
| | 2 | 39 | | Details = details; |
| | 2 | 40 | | DocumentationLink = documentationLink; |
| | 2 | 41 | | } |
| | | 42 | | |
| | | 43 | | /// <summary> The key of the item which generated a warning. </summary> |
| | 0 | 44 | | public string Key { get; } |
| | | 45 | | /// <summary> The message describing the warning that occurred while processing the item. </summary> |
| | 0 | 46 | | public string Message { get; } |
| | | 47 | | /// <summary> The name of the source at which the warning originated. For example, this could refer to a particu |
| | 0 | 48 | | public string Name { get; } |
| | | 49 | | /// <summary> Additional, verbose details about the warning to assist in debugging the indexer. This may not be |
| | 0 | 50 | | public string Details { get; } |
| | | 51 | | /// <summary> A link to a troubleshooting guide for these classes of warnings. This may not be always available. |
| | 0 | 52 | | public string DocumentationLink { get; } |
| | | 53 | | } |
| | | 54 | | } |