-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
KnowledgeStoreProjectionSelector.cs
47 lines (41 loc) · 2.16 KB
/
KnowledgeStoreProjectionSelector.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
namespace Azure.Search.Documents.Indexes.Models
{
/// <summary> Abstract class to share properties between concrete selectors. </summary>
public partial class KnowledgeStoreProjectionSelector
{
/// <summary> Initializes a new instance of <see cref="KnowledgeStoreProjectionSelector"/>. </summary>
public KnowledgeStoreProjectionSelector()
{
Inputs = new ChangeTrackingList<InputFieldMappingEntry>();
}
/// <summary> Initializes a new instance of <see cref="KnowledgeStoreProjectionSelector"/>. </summary>
/// <param name="referenceKeyName"> Name of reference key to different projection. </param>
/// <param name="generatedKeyName"> Name of generated key to store projection under. </param>
/// <param name="source"> Source data to project. </param>
/// <param name="sourceContext"> Source context for complex projections. </param>
/// <param name="inputs"> Nested inputs for complex projections. </param>
internal KnowledgeStoreProjectionSelector(string referenceKeyName, string generatedKeyName, string source, string sourceContext, IList<InputFieldMappingEntry> inputs)
{
ReferenceKeyName = referenceKeyName;
GeneratedKeyName = generatedKeyName;
Source = source;
SourceContext = sourceContext;
Inputs = inputs;
}
/// <summary> Name of reference key to different projection. </summary>
public string ReferenceKeyName { get; set; }
/// <summary> Name of generated key to store projection under. </summary>
public string GeneratedKeyName { get; set; }
/// <summary> Source data to project. </summary>
public string Source { get; set; }
/// <summary> Source context for complex projections. </summary>
public string SourceContext { get; set; }
/// <summary> Nested inputs for complex projections. </summary>
public IList<InputFieldMappingEntry> Inputs { get; }
}
}