/*
 * The version of the OpenAPI document: v2
 * Contact: developer-experience@adyen.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit this class manually.
 */

import { AccountHolder } from './accountHolder';

export class PaginatedAccountHoldersResponse {
    /**
    * List of account holders.
    */
    'accountHolders': Array<AccountHolder>;
    /**
    * Indicates whether there are more items on the next page.
    */
    'hasNext': boolean;
    /**
    * Indicates whether there are more items on the previous page.
    */
    'hasPrevious': boolean;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "accountHolders",
            "baseName": "accountHolders",
            "type": "Array<AccountHolder>"
        },
        {
            "name": "hasNext",
            "baseName": "hasNext",
            "type": "boolean"
        },
        {
            "name": "hasPrevious",
            "baseName": "hasPrevious",
            "type": "boolean"
        }    ];

    static getAttributeTypeMap() {
        return PaginatedAccountHoldersResponse.attributeTypeMap;
    }
}

