Partilhar via


RouterJobOffer Class

Definition

An offer of a job to a worker.

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

Properties

CapacityCost

The capacity cost consumed by the job offer.

ExpiresAt

Timestamp when the offer will expire in UTC.

JobId

Id of the job.

OfferedAt

Timestamp when the offer was created in UTC.

OfferId

Id of an offer.

Explicit Interface Implementations

IJsonModel<RouterJobOffer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouterJobOffer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouterJobOffer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouterJobOffer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouterJobOffer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to