/
LongestIdleMode.cs
26 lines (22 loc) · 1.59 KB
/
LongestIdleMode.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
// 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> Jobs are directed to the worker who has been idle longest. </summary>
public partial class LongestIdleMode : DistributionMode
{
/// <summary> Initializes a new instance of <see cref="LongestIdleMode"/>. </summary>
/// <param name="minConcurrentOffers"> Governs the minimum desired number of active concurrent offers a job can have. </param>
/// <param name="maxConcurrentOffers"> Governs the maximum number of active concurrent offers a job can have. </param>
/// <param name="bypassSelectors"> If set to true, then router will match workers to jobs even if they don't match label selectors. Warning: You may get workers that are not qualified for a job they are matched with if you set this variable to true. This flag is intended more for temporary usage. By default, set to false. </param>
/// <param name="kind"> The type discriminator describing a sub-type of DistributionMode. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
internal LongestIdleMode(int minConcurrentOffers, int maxConcurrentOffers, bool? bypassSelectors, DistributionModeKind kind, IDictionary<string, BinaryData> serializedAdditionalRawData) : base(minConcurrentOffers, maxConcurrentOffers, bypassSelectors, kind, serializedAdditionalRawData)
{
}
}
}