Freigeben über


UnassignJobOptions Class

Definition

Request payload for unassigning a job.

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

Constructors

UnassignJobOptions(String, String)

Public constructor.

Properties

AssignmentId

Id of a job assignment to unassign.

JobId

Id of a job to unassign.

SuspendMatching

If SuspendMatching is true, then the job is not queued for rematching with a worker.

Explicit Interface Implementations

IJsonModel<UnassignJobOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UnassignJobOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UnassignJobOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UnassignJobOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UnassignJobOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to