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
Properties
Password
[JsonPropertyName("password")]
[JsonPropertyOrder(3)]
public string Password { get; init; }
Property Value
Type
The number type.
[JsonPropertyName("type")]
[JsonPropertyOrder(0)]
public string Type { get; }
Property Value
Uri
[JsonPropertyName("uri")]
[JsonPropertyOrder(1)]
public string Uri { get; init; }
Property Value
Username
[JsonPropertyName("username")]
[JsonPropertyOrder(2)]
public string Username { get; init; }
Property Value
Methods
Serialize(IJsonSerializer)
Serializes the number.
public string Serialize(IJsonSerializer serializer)
Parameters
serializerIJsonSerializerThe serializer.
Returns
- string
The serialized number.