Partager via


MessageTemplateLocation Class

Definition

The message template's location value information.

public class MessageTemplateLocation : Azure.Communication.Messages.MessageTemplateValue, System.ClientModel.Primitives.IJsonModel<Azure.Communication.Messages.MessageTemplateLocation>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.Messages.MessageTemplateLocation>
public class MessageTemplateLocation : Azure.Communication.Messages.MessageTemplateValue
type MessageTemplateLocation = class
    inherit MessageTemplateValue
    interface IJsonModel<MessageTemplateLocation>
    interface IPersistableModel<MessageTemplateLocation>
type MessageTemplateLocation = class
    inherit MessageTemplateValue
Public Class MessageTemplateLocation
Inherits MessageTemplateValue
Implements IJsonModel(Of MessageTemplateLocation), IPersistableModel(Of MessageTemplateLocation)
Public Class MessageTemplateLocation
Inherits MessageTemplateValue
Inheritance
MessageTemplateLocation
Implements

Constructors

MessageTemplateLocation(String, Double, Double, String, String)
MessageTemplateLocation(String)

Initializes a new instance of MessageTemplateLocation.

Properties

Address

The [Optional] address of the location.

Latitude

The latitude of the location.

LocationName

The [Optional] name of the location.

Longitude

The longitude of the location.

Name

Template binding reference name.

(Inherited from MessageTemplateValue)
Position

The geo position of the location.

Explicit Interface Implementations

IJsonModel<MessageTemplateLocation>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageTemplateLocation>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<MessageTemplateValue>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageTemplateValue)
IPersistableModel<MessageTemplateLocation>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageTemplateLocation>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageTemplateLocation>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<MessageTemplateValue>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MessageTemplateValue)

Applies to