JobRouterModelFactory.AcceptJobOfferResult(String, String, String) Method

Definition

Initializes a new instance of AcceptJobOfferResult.

public static Azure.Communication.JobRouter.AcceptJobOfferResult AcceptJobOfferResult (string assignmentId = default, string jobId = default, string workerId = default);
static member AcceptJobOfferResult : string * string * string -> Azure.Communication.JobRouter.AcceptJobOfferResult
Public Shared Function AcceptJobOfferResult (Optional assignmentId As String = Nothing, Optional jobId As String = Nothing, Optional workerId As String = Nothing) As AcceptJobOfferResult

Parameters

assignmentId
String

Id of job assignment that assigns a worker that has accepted an offer to a job.

jobId
String

Id of the job assigned.

workerId
String

Id of the worker that has been assigned this job.

Returns

A new AcceptJobOfferResult instance for mocking.

Exceptions

assignmentId, jobId or workerId is null.

Applies to