Class ListSubaccountsResponse

java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.subaccounts.ListSubaccountsResponse
All Implemented Interfaces:
Jsonable

Response container for SubaccountsClient.listSubaccounts().
  • Constructor Details

  • Method Details

    • getPrimaryAccount

      Parent account.
      Returns:
      The primary account details.
    • getSubaccounts

      The subaccounts associated with the primary account.
      Returns:
      List of subaccount details.
    • fromJson

      public static ListSubaccountsResponse fromJson(String json)
      Creates an instance of this class from a JSON payload.
      Parameters:
      json - The JSON string to parse.
      Returns:
      An instance of this class with the fields populated, if present.