UNPKG

wallee

Version:
31 lines (30 loc) 1.18 kB
import { CurrencyBankAccountFromJSON, } from './CurrencyBankAccount'; /** * Check if a given object implements the CurrencyBankAccountSearchResponse interface. */ export function instanceOfCurrencyBankAccountSearchResponse(value) { return true; } export function CurrencyBankAccountSearchResponseFromJSON(json) { return CurrencyBankAccountSearchResponseFromJSONTyped(json, false); } export function CurrencyBankAccountSearchResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : (json['data'].map(CurrencyBankAccountFromJSON)), 'offset': json['offset'] == null ? undefined : json['offset'], 'hasMore': json['hasMore'] == null ? undefined : json['hasMore'], 'limit': json['limit'] == null ? undefined : json['limit'], }; } export function CurrencyBankAccountSearchResponseToJSON(json) { return CurrencyBankAccountSearchResponseToJSONTyped(json, false); } export function CurrencyBankAccountSearchResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }