Share via


DirectMapRouterRule Class

Definition

A rule that return the same labels as the input labels.

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

Constructors

DirectMapRouterRule()

Initializes a new instance of DirectMapRouterRule.

Properties

Kind

The type discriminator describing a sub-type of RouterRule.

(Inherited from RouterRule)

Explicit Interface Implementations

IJsonModel<DirectMapRouterRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DirectMapRouterRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<RouterRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from RouterRule)
IPersistableModel<DirectMapRouterRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DirectMapRouterRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DirectMapRouterRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<RouterRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from RouterRule)

Applies to