Table of Contents

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

PrimaryAccount Account

The primary account.

SubAccounts Account[]

All subaccounts.

Properties

PrimaryAccount

The primary account.

[JsonPropertyName("primary_account")]
public Account PrimaryAccount { get; init; }

Property Value

Account

SubAccounts

All subaccounts.

[JsonPropertyName("subaccounts")]
public Account[] SubAccounts { get; init; }

Property Value

Account[]