@@ -138,9 +138,9 @@ public DeclineJobOfferOptions(string workerId, string offerId) { }
138138 public System . DateTimeOffset ? ReofferTimeUtc { get { throw null ; } set { } }
139139 public string WorkerId { get { throw null ; } }
140140 }
141- public partial class DeclineOfferRequest
141+ public partial class DeclineJobOfferRequest
142142 {
143- public DeclineOfferRequest ( ) { }
143+ public DeclineJobOfferRequest ( ) { }
144144 public System . DateTimeOffset ? ReofferTimeUtc { get { throw null ; } set { } }
145145 }
146146 public partial class DirectMapRule : Azure . Communication . JobRouter . RouterRule
@@ -387,21 +387,21 @@ public RouterAdministrationClient(System.Uri endpoint, Azure.Core.TokenCredentia
387387 public virtual Azure . Pageable < Azure . Communication . JobRouter . Models . JobQueueItem > GetQueues ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
388388 public virtual Azure . AsyncPageable < Azure . Communication . JobRouter . Models . JobQueueItem > GetQueuesAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
389389 public virtual Azure . Response < Azure . Communication . JobRouter . Models . ClassificationPolicy > UpdateClassificationPolicy ( Azure . Communication . JobRouter . UpdateClassificationPolicyOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
390- public virtual Azure . Response < Azure . Communication . JobRouter . Models . ClassificationPolicy > UpdateClassificationPolicy ( string classificationPolicyId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
390+ public virtual Azure . Response UpdateClassificationPolicy ( string classificationPolicyId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
391391 public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . ClassificationPolicy > > UpdateClassificationPolicyAsync ( Azure . Communication . JobRouter . UpdateClassificationPolicyOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
392- public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . ClassificationPolicy > > UpdateClassificationPolicyAsync ( string classificationPolicyId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
392+ public virtual System . Threading . Tasks . Task < Azure . Response > UpdateClassificationPolicyAsync ( string classificationPolicyId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
393393 public virtual Azure . Response < Azure . Communication . JobRouter . Models . DistributionPolicy > UpdateDistributionPolicy ( Azure . Communication . JobRouter . UpdateDistributionPolicyOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
394- public virtual Azure . Response < Azure . Communication . JobRouter . Models . DistributionPolicy > UpdateDistributionPolicy ( string distributionPolicyId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
394+ public virtual Azure . Response UpdateDistributionPolicy ( string distributionPolicyId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
395395 public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . DistributionPolicy > > UpdateDistributionPolicyAsync ( Azure . Communication . JobRouter . UpdateDistributionPolicyOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
396- public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . DistributionPolicy > > UpdateDistributionPolicyAsync ( string distributionPolicyId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
396+ public virtual System . Threading . Tasks . Task < Azure . Response > UpdateDistributionPolicyAsync ( string distributionPolicyId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
397397 public virtual Azure . Response < Azure . Communication . JobRouter . Models . ExceptionPolicy > UpdateExceptionPolicy ( Azure . Communication . JobRouter . UpdateExceptionPolicyOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
398- public virtual Azure . Response < Azure . Communication . JobRouter . Models . ExceptionPolicy > UpdateExceptionPolicy ( string exceptionPolicyId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
398+ public virtual Azure . Response UpdateExceptionPolicy ( string exceptionPolicyId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
399399 public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . ExceptionPolicy > > UpdateExceptionPolicyAsync ( Azure . Communication . JobRouter . UpdateExceptionPolicyOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
400- public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . ExceptionPolicy > > UpdateExceptionPolicyAsync ( string exceptionPolicyId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
400+ public virtual System . Threading . Tasks . Task < Azure . Response > UpdateExceptionPolicyAsync ( string exceptionPolicyId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
401401 public virtual Azure . Response < Azure . Communication . JobRouter . Models . JobQueue > UpdateQueue ( Azure . Communication . JobRouter . UpdateQueueOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
402- public virtual Azure . Response < Azure . Communication . JobRouter . Models . JobQueue > UpdateQueue ( string queueId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
402+ public virtual Azure . Response UpdateQueue ( string queueId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
403403 public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . JobQueue > > UpdateQueueAsync ( Azure . Communication . JobRouter . UpdateQueueOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
404- public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . JobQueue > > UpdateQueueAsync ( string queueId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
404+ public virtual System . Threading . Tasks . Task < Azure . Response > UpdateQueueAsync ( string queueId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
405405 }
406406 public partial class RouterClient
407407 {
@@ -447,13 +447,13 @@ public RouterClient(System.Uri endpoint, Azure.Core.TokenCredential credential,
447447 public virtual Azure . Response < Azure . Communication . JobRouter . Models . UnassignJobResult > UnassignJob ( Azure . Communication . JobRouter . UnassignJobOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
448448 public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . UnassignJobResult > > UnassignJobAsync ( Azure . Communication . JobRouter . UnassignJobOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
449449 public virtual Azure . Response < Azure . Communication . JobRouter . Models . RouterJob > UpdateJob ( Azure . Communication . JobRouter . UpdateJobOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
450- public virtual Azure . Response < Azure . Communication . JobRouter . Models . RouterJob > UpdateJob ( string jobId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
450+ public virtual Azure . Response UpdateJob ( string jobId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
451451 public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . RouterJob > > UpdateJobAsync ( Azure . Communication . JobRouter . UpdateJobOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
452- public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . RouterJob > > UpdateJobAsync ( string jobId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
452+ public virtual System . Threading . Tasks . Task < Azure . Response > UpdateJobAsync ( string jobId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
453453 public virtual Azure . Response < Azure . Communication . JobRouter . Models . RouterWorker > UpdateWorker ( Azure . Communication . JobRouter . UpdateWorkerOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
454- public virtual Azure . Response < Azure . Communication . JobRouter . Models . RouterWorker > UpdateWorker ( string workerId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
454+ public virtual Azure . Response UpdateWorker ( string workerId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
455455 public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . RouterWorker > > UpdateWorkerAsync ( Azure . Communication . JobRouter . UpdateWorkerOptions options , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
456- public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . JobRouter . Models . RouterWorker > > UpdateWorkerAsync ( string workerId , Azure . Core . RequestContent patchContent , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
456+ public virtual System . Threading . Tasks . Task < Azure . Response > UpdateWorkerAsync ( string workerId , Azure . Core . RequestContent content , Azure . RequestContext context = null ) { throw null ; }
457457 }
458458 public partial class RouterClientOptions : Azure . Core . ClientOptions
459459 {
@@ -469,6 +469,12 @@ public abstract partial class RouterRule
469469 internal RouterRule ( ) { }
470470 public string Kind { get { throw null ; } set { } }
471471 }
472+ public enum RouterWorkerState
473+ {
474+ Active = 0 ,
475+ Draining = 1 ,
476+ Inactive = 2 ,
477+ }
472478 public partial class RuleEngineQueueSelectorAttachment : Azure . Communication . JobRouter . QueueSelectorAttachment
473479 {
474480 public RuleEngineQueueSelectorAttachment ( Azure . Communication . JobRouter . RouterRule rule ) { }
@@ -613,12 +619,6 @@ public abstract partial class WorkerSelectorAttachment
613619 internal WorkerSelectorAttachment ( ) { }
614620 protected string Kind { get { throw null ; } set { } }
615621 }
616- public enum WorkerState
617- {
618- Active = 0 ,
619- Draining = 1 ,
620- Inactive = 2 ,
621- }
622622 public enum WorkerStateSelector
623623 {
624624 Active = 0 ,
@@ -850,7 +850,7 @@ public RouterWorker() { }
850850 public double ? LoadRatio { get { throw null ; } }
851851 public System . Collections . Generic . IReadOnlyList < Azure . Communication . JobRouter . Models . JobOffer > Offers { get { throw null ; } }
852852 public System . Collections . Generic . IDictionary < string , Azure . Communication . JobRouter . QueueAssignment > QueueAssignments { get { throw null ; } set { } }
853- public Azure . Communication . JobRouter . WorkerState ? State { get { throw null ; } }
853+ public Azure . Communication . JobRouter . RouterWorkerState ? State { get { throw null ; } }
854854 public System . Collections . Generic . IDictionary < string , Azure . Communication . JobRouter . LabelValue > Tags { get { throw null ; } set { } }
855855 public int ? TotalCapacity { get { throw null ; } set { } }
856856 }
0 commit comments