UNPKG

wallee

Version:
37 lines (36 loc) 1.62 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfCurrencyBankAccountListResponse = instanceOfCurrencyBankAccountListResponse; exports.CurrencyBankAccountListResponseFromJSON = CurrencyBankAccountListResponseFromJSON; exports.CurrencyBankAccountListResponseFromJSONTyped = CurrencyBankAccountListResponseFromJSONTyped; exports.CurrencyBankAccountListResponseToJSON = CurrencyBankAccountListResponseToJSON; exports.CurrencyBankAccountListResponseToJSONTyped = CurrencyBankAccountListResponseToJSONTyped; const CurrencyBankAccount_1 = require("./CurrencyBankAccount"); /** * Check if a given object implements the CurrencyBankAccountListResponse interface. */ function instanceOfCurrencyBankAccountListResponse(value) { return true; } function CurrencyBankAccountListResponseFromJSON(json) { return CurrencyBankAccountListResponseFromJSONTyped(json, false); } function CurrencyBankAccountListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(CurrencyBankAccount_1.CurrencyBankAccountFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } function CurrencyBankAccountListResponseToJSON(json) { return CurrencyBankAccountListResponseToJSONTyped(json, false); } function CurrencyBankAccountListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }