MetadataRecord Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Object to provide the key value pair for each metadata.
public class MetadataRecord : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.MetadataRecord>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.MetadataRecord>
type MetadataRecord = class
interface IJsonModel<MetadataRecord>
interface IPersistableModel<MetadataRecord>
Public Class MetadataRecord
Implements IJsonModel(Of MetadataRecord), IPersistableModel(Of MetadataRecord)
- Inheritance
-
MetadataRecord
- Implements
Constructors
MetadataRecord(String, String) |
Initializes a new instance of MetadataRecord. |
Properties
Key |
Metadata Key from Metadata dictionary used in the QnA. |
Value |
Metadata Value from Metadata dictionary used in the QnA. |
Explicit Interface Implementations
IJsonModel<MetadataRecord>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MetadataRecord>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MetadataRecord>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MetadataRecord>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MetadataRecord>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET