-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
SearchIndexerWarning.cs
52 lines (45 loc) · 2.77 KB
/
SearchIndexerWarning.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.Search.Documents.Indexes.Models
{
/// <summary> Represents an item-level warning. </summary>
public partial class SearchIndexerWarning
{
/// <summary> Initializes a new instance of <see cref="SearchIndexerWarning"/>. </summary>
/// <param name="message"> The message describing the warning that occurred while processing the item. </param>
/// <exception cref="ArgumentNullException"> <paramref name="message"/> is null. </exception>
internal SearchIndexerWarning(string message)
{
Argument.AssertNotNull(message, nameof(message));
Message = message;
}
/// <summary> Initializes a new instance of <see cref="SearchIndexerWarning"/>. </summary>
/// <param name="key"> The key of the item which generated a warning. </param>
/// <param name="message"> The message describing the warning that occurred while processing the item. </param>
/// <param name="name"> The name of the source at which the warning originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available. </param>
/// <param name="details"> Additional, verbose details about the warning to assist in debugging the indexer. This may not be always available. </param>
/// <param name="documentationLink"> A link to a troubleshooting guide for these classes of warnings. This may not be always available. </param>
internal SearchIndexerWarning(string key, string message, string name, string details, string documentationLink)
{
Key = key;
Message = message;
Name = name;
Details = details;
DocumentationLink = documentationLink;
}
/// <summary> The key of the item which generated a warning. </summary>
public string Key { get; }
/// <summary> The message describing the warning that occurred while processing the item. </summary>
public string Message { get; }
/// <summary> The name of the source at which the warning originated. For example, this could refer to a particular skill in the attached skillset. This may not be always available. </summary>
public string Name { get; }
/// <summary> Additional, verbose details about the warning to assist in debugging the indexer. This may not be always available. </summary>
public string Details { get; }
/// <summary> A link to a troubleshooting guide for these classes of warnings. This may not be always available. </summary>
public string DocumentationLink { get; }
}
}