UNPKG

wallee

Version:
37 lines (36 loc) 1.49 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfDebtCollectionCaseSource = instanceOfDebtCollectionCaseSource; exports.DebtCollectionCaseSourceFromJSON = DebtCollectionCaseSourceFromJSON; exports.DebtCollectionCaseSourceFromJSONTyped = DebtCollectionCaseSourceFromJSONTyped; exports.DebtCollectionCaseSourceToJSON = DebtCollectionCaseSourceToJSON; exports.DebtCollectionCaseSourceToJSONTyped = DebtCollectionCaseSourceToJSONTyped; /** * Check if a given object implements the DebtCollectionCaseSource interface. */ function instanceOfDebtCollectionCaseSource(value) { return true; } function DebtCollectionCaseSourceFromJSON(json) { return DebtCollectionCaseSourceFromJSONTyped(json, false); } function DebtCollectionCaseSourceFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'forcedPreparingState': json['forcedPreparingState'] == null ? undefined : json['forcedPreparingState'], 'name': json['name'] == null ? undefined : json['name'], 'description': json['description'] == null ? undefined : json['description'], 'id': json['id'] == null ? undefined : json['id'], }; } function DebtCollectionCaseSourceToJSON(json) { return DebtCollectionCaseSourceToJSONTyped(json, false); } function DebtCollectionCaseSourceToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }