wallee
Version:
TypeScript/JavaScript client for wallee
37 lines (36 loc) • 1.77 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfDebtCollectorConfigurationListResponse = instanceOfDebtCollectorConfigurationListResponse;
exports.DebtCollectorConfigurationListResponseFromJSON = DebtCollectorConfigurationListResponseFromJSON;
exports.DebtCollectorConfigurationListResponseFromJSONTyped = DebtCollectorConfigurationListResponseFromJSONTyped;
exports.DebtCollectorConfigurationListResponseToJSON = DebtCollectorConfigurationListResponseToJSON;
exports.DebtCollectorConfigurationListResponseToJSONTyped = DebtCollectorConfigurationListResponseToJSONTyped;
const DebtCollectorConfiguration_1 = require("./DebtCollectorConfiguration");
/**
* Check if a given object implements the DebtCollectorConfigurationListResponse interface.
*/
function instanceOfDebtCollectorConfigurationListResponse(value) {
return true;
}
function DebtCollectorConfigurationListResponseFromJSON(json) {
return DebtCollectorConfigurationListResponseFromJSONTyped(json, false);
}
function DebtCollectorConfigurationListResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'data': json['data'] == null ? undefined : (json['data'].map(DebtCollectorConfiguration_1.DebtCollectorConfigurationFromJSON)),
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
'limit': json['limit'] == null ? undefined : json['limit'],
};
}
function DebtCollectorConfigurationListResponseToJSON(json) {
return DebtCollectorConfigurationListResponseToJSONTyped(json, false);
}
function DebtCollectorConfigurationListResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {};
}