-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
DistributionPolicy.cs
35 lines (31 loc) · 1.37 KB
/
DistributionPolicy.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
namespace Azure.Communication.JobRouter
{
/// <summary> Policy governing how jobs are distributed to workers. </summary>
public partial class DistributionPolicy
{
/// <summary> Initializes a new instance of DistributionPolicy. </summary>
internal DistributionPolicy()
{
}
/// <summary> Initializes a new instance of DistributionPolicy. </summary>
/// <param name="etag"> The entity tag for this resource. </param>
/// <param name="id"> Id of a distribution policy. </param>
/// <param name="name"> Friendly name of this policy. </param>
/// <param name="offerExpiresAfterSeconds"> Number of seconds after which any offers created under this policy will be expired. </param>
/// <param name="mode"> Mode governing the specific distribution method. </param>
internal DistributionPolicy(string etag, string id, string name, double? offerExpiresAfterSeconds, DistributionMode mode)
{
_etag = etag;
Id = id;
Name = name;
_offerExpiresAfterSeconds = offerExpiresAfterSeconds;
Mode = mode;
}
/// <summary> Id of a distribution policy. </summary>
public string Id { get; }
}
}