Compartilhar via


WeightResolution Class

Definition

Represents the weight entity resolution model.

public class WeightResolution : Azure.AI.Language.Conversations.Models.ResolutionBase, System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.WeightResolution>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.WeightResolution>
type WeightResolution = class
    inherit ResolutionBase
    interface IJsonModel<WeightResolution>
    interface IPersistableModel<WeightResolution>
Public Class WeightResolution
Inherits ResolutionBase
Implements IJsonModel(Of WeightResolution), IPersistableModel(Of WeightResolution)
Inheritance
WeightResolution
Implements

Properties

Unit

The weight Unit of measurement.

Value

The numeric value that the extracted text denotes.

Explicit Interface Implementations

IJsonModel<ResolutionBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from ResolutionBase)
IJsonModel<WeightResolution>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<WeightResolution>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResolutionBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from ResolutionBase)
IPersistableModel<WeightResolution>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<WeightResolution>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<WeightResolution>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to