@@ -240,7 +240,7 @@ dotnet run
240
240
"key" : " string" ,
241
241
"labelOperator" : " equal" ,
242
242
"value" : 5 ,
243
- "ttl " : " P3Y6M4DT12H30M5S "
243
+ "ttlSeconds " : 60.0
244
244
}
245
245
]
246
246
},
@@ -260,8 +260,8 @@ dotnet run
260
260
| channelReference | ` string ` | ❌ |
261
261
| channelId | ` string ` | ❌ |
262
262
| classificationPolicyId | ` string ` | ❌ | |
263
- | queueId | ` string ` | ✔️ | | ` null ` when ` classificationPolicy ` is not used for queue selection
264
- | priority | ` int ` | ✔️ | | ` null ` when ` classificationPolicy ` is not used for applying priority on job
263
+ | queueId | ` string ` | ❌ | |
264
+ | priority | ` int ` | ❌ | |
265
265
| labels | ` Dictionary<string, object> ` | ✔️ | | Based on user input
266
266
| tags | ` Dictionary<string, object> ` | ✔️ | | Based on user input
267
267
| attachedWorkerSelectors | ` List<WorkerSelector> ` | ✔️ | | List of worker selectors attached by a classification policy
@@ -296,15 +296,15 @@ dotnet run
296
296
"key" : " string" ,
297
297
"labelOperator" : " equal" ,
298
298
"value" : 5 ,
299
- "ttl " : " P3Y6M4DT12H30M5S "
299
+ "ttlSeconds " : 60.0
300
300
}
301
301
],
302
302
"attachedWorkerSelectors" : [
303
303
{
304
304
"key" : " string" ,
305
305
"labelOperator" : " equal" ,
306
306
"value" : 5 ,
307
- "ttl " : " P3Y6M4DT12H30M5S "
307
+ "ttlSeconds " : 60.0
308
308
}
309
309
]
310
310
},
@@ -594,20 +594,20 @@ dotnet run
594
594
"Segment" : " Enterprise" ,
595
595
"Token" : " FooToken"
596
596
},
597
- "requestedWorkerSelectorsExpired " : [
597
+ "expiredRequestedWorkerSelectors " : [
598
598
{
599
599
"key" : " string" ,
600
600
"labelOperator" : " equal" ,
601
601
"value" : 5 ,
602
- "ttl " : " P3Y6M4DT12H30M5S "
602
+ "ttlSeconds " : 60.0
603
603
}
604
604
],
605
- "attachedWorkerSelectorsExpired " : [
605
+ "expiredAttachedWorkerSelectors " : [
606
606
{
607
607
"key" : " string" ,
608
608
"labelOperator" : " equal" ,
609
609
"value" : 5 ,
610
- "ttl " : " P3Y6M4DT12H30M5S "
610
+ "ttlSeconds " : 60.0
611
611
}
612
612
]
613
613
},
@@ -628,8 +628,8 @@ dotnet run
628
628
| channelId | ` string ` | ❌ |
629
629
| labels | ` Dictionary<string, object> ` | ✔️ | | Based on user input
630
630
| tags | ` Dictionary<string, object> ` | ✔️ | | Based on user input
631
- | requestedWorkerSelectorsExpired | ` List<WorkerSelector> ` | ✔️ | | Based on user input while creating a job
632
- | attachedWorkerSelectorsExpired | ` List<WorkerSelector> ` | ✔️ | | List of worker selectors attached by a classification policy
631
+ | expiredRequestedWorkerSelectors | ` List<WorkerSelector> ` | ✔️ | | Based on user input while creating a job
632
+ | expiredAttachedWorkerSelectors | ` List<WorkerSelector> ` | ✔️ | | List of worker selectors attached by a classification policy
633
633
634
634
### Microsoft.Communication.RouterJobUnassigned
635
635
@@ -708,15 +708,15 @@ dotnet run
708
708
"key" : " string" ,
709
709
"labelOperator" : " equal" ,
710
710
"value" : 5 ,
711
- "ttl " : " P3Y6M4DT12H30M5S "
711
+ "ttlSeconds " : 60.0
712
712
}
713
713
],
714
714
"attachedWorkerSelectors" : [
715
715
{
716
716
"key" : " string" ,
717
717
"labelOperator" : " equal" ,
718
718
"value" : 5 ,
719
- "ttl " : " P3Y6M4DT12H30M5S "
719
+ "ttlSeconds " : 60.0
720
720
}
721
721
],
722
722
"scheduledOn" : " 2022-02-17T00:55:25.1736293Z" ,
@@ -775,15 +775,15 @@ dotnet run
775
775
"key" : " string" ,
776
776
"labelOperator" : " equal" ,
777
777
"value" : 5 ,
778
- "ttl " : " P3Y6M4DT12H30M5S "
778
+ "ttlSeconds " : 60.0
779
779
}
780
780
],
781
781
"attachedWorkerSelectors" : [
782
782
{
783
783
"key" : " string" ,
784
784
"labelOperator" : " equal" ,
785
785
"value" : 5 ,
786
- "ttl " : " P3Y6M4DT12H30M5S "
786
+ "ttlSeconds " : 60.0
787
787
}
788
788
],
789
789
"scheduledOn" : " 2022-02-17T00:55:25.1736293Z" ,
@@ -890,6 +890,16 @@ dotnet run
890
890
"Segment" : " Enterprise" ,
891
891
"Token" : " FooToken"
892
892
},
893
+ "workerLabels" : {
894
+ "Locale" : " en-us" ,
895
+ "Segment" : " Enterprise" ,
896
+ "Token" : " FooToken"
897
+ },
898
+ "workerTags" : {
899
+ "Locale" : " en-us" ,
900
+ "Segment" : " Enterprise" ,
901
+ "Token" : " FooToken"
902
+ },
893
903
"channelReference" : " test-abc" ,
894
904
"channelId" : " FooVoiceChannelId" ,
895
905
"queueId" : " 625fec06-ab81-4e60-b780-f364ed96ade1" ,
@@ -912,6 +922,8 @@ dotnet run
912
922
| jobPriority| ` int ` | ❌ |
913
923
| jobLabels | ` Dictionary<string, object> ` | ✔️ | | Based on user input
914
924
| jobTags | ` Dictionary<string, object> ` | ✔️ | | Based on user input
925
+ | workerLabels | ` Dictionary<string, object> ` | ✔️ | | Based on user input
926
+ | workerTags | ` Dictionary<string, object> ` | ✔️ | | Based on user input
915
927
| channelReference | ` string ` | ❌ |
916
928
| channelId | ` string ` | ❌ |
917
929
| queueId | ` string ` | ❌ |
@@ -1235,7 +1247,7 @@ public class WorkerSelector
1235
1247
public object Value { get ; set ; }
1236
1248
public double ? TTLSeconds { get ; set ; }
1237
1249
public WorkerSelectorState State { get ; set ; }
1238
- public DateTimeOffset ? ExpireTime { get ; set ; }
1250
+ public DateTimeOffset ? ExpirationTime { get ; set ; }
1239
1251
}
1240
1252
1241
1253
public enum WorkerSelectorState
0 commit comments