CompleteJobOptions Class

Definition

Request payload for completing jobs.

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

Constructors

CompleteJobOptions(String, String)

Public constructor.

Properties

AssignmentId

Id of a job assignment.

JobId

Id of a job.

Note

A note that will be appended to a job's notes collection with the current timestamp.

Explicit Interface Implementations

IJsonModel<CompleteJobOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CompleteJobOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CompleteJobOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CompleteJobOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CompleteJobOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to