wallee
Version:
TypeScript/JavaScript client for wallee
38 lines (37 loc) • 1.73 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfCurrencyBankAccountSearchResponse = instanceOfCurrencyBankAccountSearchResponse;
exports.CurrencyBankAccountSearchResponseFromJSON = CurrencyBankAccountSearchResponseFromJSON;
exports.CurrencyBankAccountSearchResponseFromJSONTyped = CurrencyBankAccountSearchResponseFromJSONTyped;
exports.CurrencyBankAccountSearchResponseToJSON = CurrencyBankAccountSearchResponseToJSON;
exports.CurrencyBankAccountSearchResponseToJSONTyped = CurrencyBankAccountSearchResponseToJSONTyped;
const CurrencyBankAccount_1 = require("./CurrencyBankAccount");
/**
* Check if a given object implements the CurrencyBankAccountSearchResponse interface.
*/
function instanceOfCurrencyBankAccountSearchResponse(value) {
return true;
}
function CurrencyBankAccountSearchResponseFromJSON(json) {
return CurrencyBankAccountSearchResponseFromJSONTyped(json, false);
}
function CurrencyBankAccountSearchResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(CurrencyBankAccount_1.CurrencyBankAccountFromJSON)),
'offset': json['offset'] == null ? undefined : json['offset'],
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function CurrencyBankAccountSearchResponseToJSON(json) {
return CurrencyBankAccountSearchResponseToJSONTyped(json, false);
}
function CurrencyBankAccountSearchResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}