Class GetSubAccountsResponse
- Namespace
- Vonage.SubAccounts.GetSubAccounts
- Assembly
- Vonage.dll
Represents the primary account and its subaccounts.
public record GetSubAccountsResponse : IEquatable<GetSubAccountsResponse>
- Inheritance
-
GetSubAccountsResponse
- Implements
- Inherited Members
Constructors
GetSubAccountsResponse(Account, Account[])
Represents the primary account and its subaccounts.
public GetSubAccountsResponse(Account PrimaryAccount, Account[] SubAccounts)
Parameters
Properties
PrimaryAccount
The primary account.
[JsonPropertyName("primary_account")]
public Account PrimaryAccount { get; init; }
Property Value
SubAccounts
All subaccounts.
[JsonPropertyName("subaccounts")]
public Account[] SubAccounts { get; init; }
Property Value
- Account[]