Share via


RouterJobPositionDetails Class

Definition

Position and estimated wait time for a job.

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

Properties

EstimatedWaitTime

Estimated wait time of the job rounded up to the nearest minute.

JobId

Id of the job these details are about.

Position

Position of the job in question within that queue.

QueueId

Id of the queue this job is enqueued in.

QueueLength

Length of the queue: total number of enqueued jobs.

Explicit Interface Implementations

IJsonModel<RouterJobPositionDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouterJobPositionDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouterJobPositionDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouterJobPositionDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouterJobPositionDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to