wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.77 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfDebtCollectionCaseDocumentListResponse = instanceOfDebtCollectionCaseDocumentListResponse;
exports.DebtCollectionCaseDocumentListResponseFromJSON = DebtCollectionCaseDocumentListResponseFromJSON;
exports.DebtCollectionCaseDocumentListResponseFromJSONTyped = DebtCollectionCaseDocumentListResponseFromJSONTyped;
exports.DebtCollectionCaseDocumentListResponseToJSON = DebtCollectionCaseDocumentListResponseToJSON;
exports.DebtCollectionCaseDocumentListResponseToJSONTyped = DebtCollectionCaseDocumentListResponseToJSONTyped;
const DebtCollectionCaseDocument_1 = require("./DebtCollectionCaseDocument");
/**
* Check if a given object implements the DebtCollectionCaseDocumentListResponse interface.
*/
function instanceOfDebtCollectionCaseDocumentListResponse(value) {
return true;
}
function DebtCollectionCaseDocumentListResponseFromJSON(json) {
return DebtCollectionCaseDocumentListResponseFromJSONTyped(json, false);
}
function DebtCollectionCaseDocumentListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(DebtCollectionCaseDocument_1.DebtCollectionCaseDocumentFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function DebtCollectionCaseDocumentListResponseToJSON(json) {
return DebtCollectionCaseDocumentListResponseToJSONTyped(json, false);
}
function DebtCollectionCaseDocumentListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}