Compartilhar via


ConditionalQueueSelectorAttachment Class

Definition

Describes a set of queue selectors that will be attached if the given condition resolves to true.

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

Constructors

ConditionalQueueSelectorAttachment(RouterRule)

Initializes a new instance of ConditionalQueueSelectorAttachment.

Properties

Condition

The condition that must be true for the queue selectors to be attached. Please note RouterRule is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DirectMapRouterRule, ExpressionRouterRule, FunctionRouterRule, StaticRouterRule and WebhookRouterRule.

Kind

The type discriminator describing a sub-type of QueueSelectorAttachment.

(Inherited from QueueSelectorAttachment)
QueueSelectors

The queue selectors to attach.

Explicit Interface Implementations

IJsonModel<ConditionalQueueSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConditionalQueueSelectorAttachment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<QueueSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from QueueSelectorAttachment)
IJsonModel<QueueSelectorAttachment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from QueueSelectorAttachment)
IPersistableModel<ConditionalQueueSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConditionalQueueSelectorAttachment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConditionalQueueSelectorAttachment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<QueueSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from QueueSelectorAttachment)
IPersistableModel<QueueSelectorAttachment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from QueueSelectorAttachment)
IPersistableModel<QueueSelectorAttachment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from QueueSelectorAttachment)

Applies to