Share via


NumericRangeMetadata Class

Definition

represents the Metadata of numeric intervals.

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

Properties

Maximum

The ending value of the interval.

Minimum

The beginning value of the interval.

RangeInclusivity

The inclusiveness of this range.

RangeKind

Kind of numeric ranges supported - like Number, Speed, etc.

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

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

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

Converts the provided BinaryData into a model.

IPersistableModel<NumericRangeMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NumericRangeMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to