Share via


AcceptJobOfferResult Class

Definition

Response containing ids for the worker, job, and assignment from an accepted offer.

public class AcceptJobOfferResult
public class AcceptJobOfferResult : System.ClientModel.Primitives.IJsonModel<Azure.Communication.JobRouter.AcceptJobOfferResult>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.AcceptJobOfferResult>
type AcceptJobOfferResult = class
type AcceptJobOfferResult = class
    interface IJsonModel<AcceptJobOfferResult>
    interface IPersistableModel<AcceptJobOfferResult>
Public Class AcceptJobOfferResult
Public Class AcceptJobOfferResult
Implements IJsonModel(Of AcceptJobOfferResult), IPersistableModel(Of AcceptJobOfferResult)
Inheritance
AcceptJobOfferResult
Implements

Properties

AssignmentId

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

JobId

Id of the job assigned.

WorkerId

Id of the worker that has been assigned this job.

Explicit Interface Implementations

IJsonModel<AcceptJobOfferResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AcceptJobOfferResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AcceptJobOfferResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AcceptJobOfferResult>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AcceptJobOfferResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to