Share via


AddressMetadata Class

Definition

Represents the Address entity Metadata model.

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

Properties

Name Description
AddressLines

The full address string as recognized from the input text.

City

The city name of the address.

CountryOrRegion

The country or region name of the address.

FormatedAddress

The fully formatted address string following postal conventions for the address's country/region.

PostalCode

The postal or ZIP code of the address.

State

The state or province name of the address.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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

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

IJsonModel<AddressMetadata>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<AddressMetadata>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AddressMetadata>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AddressMetadata>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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)

Applies to