DeclineJobOfferOptions Class

Definition

Request payload for declining offers.

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

Constructors

DeclineJobOfferOptions(String, String)

Public constructor.

Properties

OfferId

Id of the offer.

RetryOfferAt

If the RetryOfferAt is not provided, then this job will not be offered again to the worker who declined this job unless the worker is de-registered and re-registered. If a RetryOfferAt time is provided, then the job will be re-matched to eligible workers at the retry time in UTC. The worker that declined the job will also be eligible for the job at that time.

WorkerId

Id of the worker.

Explicit Interface Implementations

IJsonModel<DeclineJobOfferOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DeclineJobOfferOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeclineJobOfferOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeclineJobOfferOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DeclineJobOfferOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to