Share 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>
type MessageTemplateLocation = class
    inherit MessageTemplateValue
    interface IJsonModel<MessageTemplateLocation>
    interface IPersistableModel<MessageTemplateLocation>
Public Class MessageTemplateLocation
Inherits MessageTemplateValue
Implements IJsonModel(Of MessageTemplateLocation), IPersistableModel(Of MessageTemplateLocation)
Inheritance
MessageTemplateLocation
Implements

Constructors

MessageTemplateLocation(String)

Initializes a new instance of MessageTemplateLocation.

Properties

Address

The [Optional] address of the location.

LocationName

The [Optional] name of the location.

Name

Template binding reference name.

(Inherited from MessageTemplateValue)
Position

The geo position of the location.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from MessageTemplateValue)

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