UNPKG

wallee

Version:
30 lines (29 loc) 1.04 kB
/** * Check if a given object implements the DebtCollectionCaseSource interface. */ export function instanceOfDebtCollectionCaseSource(value) { return true; } export function DebtCollectionCaseSourceFromJSON(json) { return DebtCollectionCaseSourceFromJSONTyped(json, false); } export 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'], }; } export function DebtCollectionCaseSourceToJSON(json) { return DebtCollectionCaseSourceToJSONTyped(json, false); } export function DebtCollectionCaseSourceToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }