Share via


RuleEngineQueueSelectorAttachment Class

Definition

Attaches queue selectors to a job when the RouterRule is resolved.

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

Constructors

RuleEngineQueueSelectorAttachment(RouterRule)

Initializes a new instance of RuleEngineQueueSelectorAttachment.

Properties

Kind

The type discriminator describing a sub-type of QueueSelectorAttachment.

(Inherited from QueueSelectorAttachment)
Rule

A RouterRule that resolves a collection of queue selectors to attach. 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.

Explicit Interface Implementations

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)
IJsonModel<RuleEngineQueueSelectorAttachment>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RuleEngineQueueSelectorAttachment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<RuleEngineQueueSelectorAttachment>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RuleEngineQueueSelectorAttachment>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RuleEngineQueueSelectorAttachment>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to