wallee
Version:
TypeScript/JavaScript client for wallee
30 lines (29 loc) • 1.22 kB
JavaScript
import { InternalTransferBankTransactionFromJSON, } from './InternalTransferBankTransaction';
/**
* Check if a given object implements the InternalTransferBankTransactionListResponse interface.
*/
export function instanceOfInternalTransferBankTransactionListResponse(value) {
return true;
}
export function InternalTransferBankTransactionListResponseFromJSON(json) {
return InternalTransferBankTransactionListResponseFromJSONTyped(json, false);
}
export function InternalTransferBankTransactionListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(InternalTransferBankTransactionFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
export function InternalTransferBankTransactionListResponseToJSON(json) {
return InternalTransferBankTransactionListResponseToJSONTyped(json, false);
}
export function InternalTransferBankTransactionListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}