UNPKG

wallee

Version:
29 lines (28 loc) 947 B
/** * Check if a given object implements the DebtCollectorConditionType interface. */ export function instanceOfDebtCollectorConditionType(value) { return true; } export function DebtCollectorConditionTypeFromJSON(json) { return DebtCollectorConditionTypeFromJSONTyped(json, false); } export 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'], }; } export function DebtCollectorConditionTypeToJSON(json) { return DebtCollectorConditionTypeToJSONTyped(json, false); } export function DebtCollectorConditionTypeToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }