Class TransferNumberResponse
- Namespace
- Vonage.SubAccounts.TransferNumber
- Assembly
- Vonage.dll
Represents the response from a number transfer operation between accounts.
public record TransferNumberResponse : IEquatable<TransferNumberResponse>
- Inheritance
-
TransferNumberResponse
- Implements
- Inherited Members
Constructors
TransferNumberResponse(string, string, string, string)
Represents the response from a number transfer operation between accounts.
public TransferNumberResponse(string Number, string Country, string From, string To)
Parameters
NumberstringThe phone number that was transferred.
CountrystringThe two-character country code in ISO 3166-1 alpha-2 format (e.g., "GB", "US").
FromstringThe API key of the account the number was transferred from.
TostringThe API key of the account the number was transferred to.
Properties
Country
The two-character country code in ISO 3166-1 alpha-2 format (e.g., "GB", "US").
public string Country { get; init; }
Property Value
From
The API key of the account the number was transferred from.
public string From { get; init; }
Property Value
Number
The phone number that was transferred.
public string Number { get; init; }
Property Value
To
The API key of the account the number was transferred to.
public string To { get; init; }