Table of Contents

Class SipNumber

Namespace
Vonage.Conversations
Assembly
Vonage.dll
public record SipNumber : INumber, IEquatable<SipNumber>
Inheritance
SipNumber
Implements
Inherited Members

Constructors

SipNumber(string, string, string)

public SipNumber(string Uri, string Username, string Password)

Parameters

Uri string
Username string
Password string

Properties

Password

[JsonPropertyName("password")]
[JsonPropertyOrder(3)]
public string Password { get; init; }

Property Value

string

Type

The number type.

[JsonPropertyName("type")]
[JsonPropertyOrder(0)]
public string Type { get; }

Property Value

string

Uri

[JsonPropertyName("uri")]
[JsonPropertyOrder(1)]
public string Uri { get; init; }

Property Value

string

Username

[JsonPropertyName("username")]
[JsonPropertyOrder(2)]
public string Username { get; init; }

Property Value

string

Methods

Serialize(IJsonSerializer)

Serializes the number.

public string Serialize(IJsonSerializer serializer)

Parameters

serializer IJsonSerializer

The serializer.

Returns

string

The serialized number.