WeightMetadata Class

Definition

Represents the Weight ) entity Metadata model.

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

Properties

Unit

Unit of measure for weight.

Value

The numeric value that the extracted text denotes.

Explicit Interface Implementations

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<WeightMetadata>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WeightMetadata>.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<WeightMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WeightMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WeightMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to