/
PassThroughQueueSelectorAttachment.cs
35 lines (29 loc) · 1.59 KB
/
PassThroughQueueSelectorAttachment.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.Communication.JobRouter
{
/// <summary> Attaches a queue selector where the value is passed through from a job's label with the same key. </summary>
public partial class PassThroughQueueSelectorAttachment : QueueSelectorAttachment
{
/// <summary> Initializes a new instance of <see cref="PassThroughQueueSelectorAttachment"/>. </summary>
/// <param name="kind"> The type discriminator describing a sub-type of QueueSelectorAttachment. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="key"> The label key to query against. </param>
/// <param name="labelOperator"> Describes how the value of the label is compared to the value pass through. </param>
internal PassThroughQueueSelectorAttachment(QueueSelectorAttachmentKind kind, IDictionary<string, BinaryData> serializedAdditionalRawData, string key, LabelOperator labelOperator) : base(kind, serializedAdditionalRawData)
{
Key = key;
LabelOperator = labelOperator;
}
/// <summary> Initializes a new instance of <see cref="PassThroughQueueSelectorAttachment"/> for deserialization. </summary>
internal PassThroughQueueSelectorAttachment()
{
}
/// <summary> The label key to query against. </summary>
public string Key { get; }
}
}