Share via


TimeMetadata Class

Definition

A Metadata for time entity instances.

public class TimeMetadata : Azure.AI.Language.Text.BaseMetadata, System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.TimeMetadata>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.TimeMetadata>
type TimeMetadata = class
    inherit BaseMetadata
    interface IJsonModel<TimeMetadata>
    interface IPersistableModel<TimeMetadata>
Public Class TimeMetadata
Inherits BaseMetadata
Implements IJsonModel(Of TimeMetadata), IPersistableModel(Of TimeMetadata)
Inheritance
TimeMetadata
Implements

Properties

Name Description
Dates

List of date values.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<BaseMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from BaseMetadata)
IJsonModel<TimeMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TimeMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BaseMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from BaseMetadata)
IPersistableModel<TimeMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TimeMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TimeMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to