Dela via


RaiBlocklistItemProperties Class

Definition

RAI Custom Blocklist Item properties.

public class RaiBlocklistItemProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.RaiBlocklistItemProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.RaiBlocklistItemProperties>
type RaiBlocklistItemProperties = class
    interface IJsonModel<RaiBlocklistItemProperties>
    interface IPersistableModel<RaiBlocklistItemProperties>
Public Class RaiBlocklistItemProperties
Implements IJsonModel(Of RaiBlocklistItemProperties), IPersistableModel(Of RaiBlocklistItemProperties)
Inheritance
RaiBlocklistItemProperties
Implements

Constructors

RaiBlocklistItemProperties()

Initializes a new instance of RaiBlocklistItemProperties.

Properties

IsRegex

If the pattern is a regex pattern.

Pattern

Pattern to match against.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RaiBlocklistItemProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RaiBlocklistItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RaiBlocklistItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RaiBlocklistItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RaiBlocklistItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to