LocationDevice Class

Definition

Device information needed by operator to provide location information. Include exactly one of these properties to identify your device.

public class LocationDevice : System.ClientModel.Primitives.IJsonModel<Azure.Communication.ProgrammableConnectivity.LocationDevice>, System.ClientModel.Primitives.IPersistableModel<Azure.Communication.ProgrammableConnectivity.LocationDevice>
type LocationDevice = class
    interface IJsonModel<LocationDevice>
    interface IPersistableModel<LocationDevice>
Public Class LocationDevice
Implements IJsonModel(Of LocationDevice), IPersistableModel(Of LocationDevice)
Inheritance
LocationDevice
Implements

Constructors

LocationDevice()

Initializes a new instance of LocationDevice.

Properties

Ipv4Address

The Ipv4 address.

Ipv6Address

The Ipv6 address.

NetworkAccessIdentifier

External identifier or network access identifier of the device.

PhoneNumber

Phone number in E.164 format (starting with country code), and optionally prefixed with '+'.

Explicit Interface Implementations

IJsonModel<LocationDevice>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LocationDevice>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LocationDevice>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LocationDevice>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LocationDevice>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to