Condividi tramite


ClassificationPolicy Class

Definition

A container for the rules that govern how jobs are classified.

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

Constructors

ClassificationPolicy(String)

Initializes a new instance of ClassificationPolicy.

Properties

ETag

The entity tag for this resource.

FallbackQueueId

Id of a fallback queue to select if queue selector attachments doesn't find a match.

Id

Id of a classification policy.

Name

Friendly name of this policy.

PrioritizationRule

A rule to determine a priority score for a job.

QueueSelectorAttachments

Queue selector attachments used to resolve a queue for a job.

WorkerSelectorAttachments

Worker selector attachments used to attach worker selectors to a job.

Explicit Interface Implementations

IJsonModel<ClassificationPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ClassificationPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ClassificationPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClassificationPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ClassificationPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to