UNPKG

wallee

Version:
29 lines (28 loc) 843 B
/** * Check if a given object implements the DebtCollector interface. */ export function instanceOfDebtCollector(value) { return true; } export function DebtCollectorFromJSON(json) { return DebtCollectorFromJSONTyped(json, false); } export function DebtCollectorFromJSONTyped(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 DebtCollectorToJSON(json) { return DebtCollectorToJSONTyped(json, false); } export function DebtCollectorToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }