UNPKG

wallee

Version:
30 lines (29 loc) 1 kB
import { BankAccountFromJSON, } from './BankAccount'; /** * Check if a given object implements the BankAccountListResponse interface. */ export function instanceOfBankAccountListResponse(value) { return true; } export function BankAccountListResponseFromJSON(json) { return BankAccountListResponseFromJSONTyped(json, false); } export function BankAccountListResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(BankAccountFromJSON)), 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function BankAccountListResponseToJSON(json) { return BankAccountListResponseToJSONTyped(json, false); } export function BankAccountListResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }