UNPKG

wallee

Version:
36 lines (35 loc) 1.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfDebtCollectorConditionType = instanceOfDebtCollectorConditionType; exports.DebtCollectorConditionTypeFromJSON = DebtCollectorConditionTypeFromJSON; exports.DebtCollectorConditionTypeFromJSONTyped = DebtCollectorConditionTypeFromJSONTyped; exports.DebtCollectorConditionTypeToJSON = DebtCollectorConditionTypeToJSON; exports.DebtCollectorConditionTypeToJSONTyped = DebtCollectorConditionTypeToJSONTyped; /** * Check if a given object implements the DebtCollectorConditionType interface. */ function instanceOfDebtCollectorConditionType(value) { return true; } function DebtCollectorConditionTypeFromJSON(json) { return DebtCollectorConditionTypeFromJSONTyped(json, false); } function DebtCollectorConditionTypeFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'description': json['description'] == null ? undefined : json['description'], 'id': json['id'] == null ? undefined : json['id'], }; } function DebtCollectorConditionTypeToJSON(json) { return DebtCollectorConditionTypeToJSONTyped(json, false); } function DebtCollectorConditionTypeToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }