-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
RouterQueue.cs
35 lines (31 loc) · 1.54 KB
/
RouterQueue.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.Collections.Generic;
using Azure.Core;
namespace Azure.Communication.JobRouter
{
/// <summary> A queue that can contain jobs to be routed. </summary>
public partial class RouterQueue
{
/// <summary> Initializes a new instance of RouterQueue. </summary>
/// <param name="etag"> The entity tag for this resource. </param>
/// <param name="id"> Id of a queue. </param>
/// <param name="name"> Friendly name of this queue. </param>
/// <param name="distributionPolicyId"> Id of a distribution policy that will determine how a job is distributed to workers. </param>
/// <param name="labels"> A set of key/value pairs that are identifying attributes used by the rules engines to make decisions. Values must be primitive values - number, string, boolean. </param>
/// <param name="exceptionPolicyId"> Id of an exception policy that determines various job escalation rules. </param>
internal RouterQueue(string etag, string id, string name, string distributionPolicyId, IDictionary<string, object> labels, string exceptionPolicyId)
{
_etag = etag;
Id = id;
Name = name;
DistributionPolicyId = distributionPolicyId;
_labels = labels;
ExceptionPolicyId = exceptionPolicyId;
}
/// <summary> Id of a queue. </summary>
public string Id { get; }
}
}