Share via


RouterJobAssignment Class

Definition

Assignment details of a job to a worker.

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

Properties

AssignedAt

Timestamp when the job was assigned to a worker in UTC.

AssignmentId

Id of a job assignment.

ClosedAt

Timestamp when the job was marked as closed after being completed in UTC.

CompletedAt

Timestamp when the job was marked as completed after being assigned in UTC.

WorkerId

Id of the Worker assigned to the job.

Explicit Interface Implementations

IJsonModel<RouterJobAssignment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouterJobAssignment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouterJobAssignment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouterJobAssignment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouterJobAssignment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to