次の方法で共有


RouterWorkerAssignment Class

Definition

The assignment for a worker to a job.

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

Properties

AssignedAt

The assignment time of the job in UTC.

AssignmentId

Id of the assignment.

CapacityCost

The amount of capacity this assignment has consumed on the worker.

JobId

Id of the job assigned.

Explicit Interface Implementations

IJsonModel<RouterWorkerAssignment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouterWorkerAssignment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouterWorkerAssignment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouterWorkerAssignment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouterWorkerAssignment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to