UNPKG

wallee

Version:
29 lines (28 loc) 907 B
/** * Check if a given object implements the BankTransactionSource interface. */ export function instanceOfBankTransactionSource(value) { return true; } export function BankTransactionSourceFromJSON(json) { return BankTransactionSourceFromJSONTyped(json, false); } export function BankTransactionSourceFromJSONTyped(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 BankTransactionSourceToJSON(json) { return BankTransactionSourceToJSONTyped(json, false); } export function BankTransactionSourceToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return {}; }