wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.6 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfDebtCollectionCaseListResponse = instanceOfDebtCollectionCaseListResponse;
exports.DebtCollectionCaseListResponseFromJSON = DebtCollectionCaseListResponseFromJSON;
exports.DebtCollectionCaseListResponseFromJSONTyped = DebtCollectionCaseListResponseFromJSONTyped;
exports.DebtCollectionCaseListResponseToJSON = DebtCollectionCaseListResponseToJSON;
exports.DebtCollectionCaseListResponseToJSONTyped = DebtCollectionCaseListResponseToJSONTyped;
const DebtCollectionCase_1 = require("./DebtCollectionCase");
/**
* Check if a given object implements the DebtCollectionCaseListResponse interface.
*/
function instanceOfDebtCollectionCaseListResponse(value) {
return true;
}
function DebtCollectionCaseListResponseFromJSON(json) {
return DebtCollectionCaseListResponseFromJSONTyped(json, false);
}
function DebtCollectionCaseListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(DebtCollectionCase_1.DebtCollectionCaseFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function DebtCollectionCaseListResponseToJSON(json) {
return DebtCollectionCaseListResponseToJSONTyped(json, false);
}
function DebtCollectionCaseListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}