次の方法で共有


RouterQueueSelector Class

Definition

Describes a condition that must be met against a set of labels for queue selection.

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

Constructors

RouterQueueSelector(String, LabelOperator, RouterValue)

Initializes a new instance of QueueSelector.

Properties

Key

The label key to query against.

LabelOperator

Describes how the value of the label is compared to the value defined on the label selector.

Value

The value to compare against the actual label value with the given operator. Values must be primitive values - number, string, boolean.

Explicit Interface Implementations

IJsonModel<RouterQueueSelector>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RouterQueueSelector>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RouterQueueSelector>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RouterQueueSelector>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RouterQueueSelector>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to