UNPKG

wallee

Version:
31 lines (30 loc) 949 B
/** * Check if a given object implements the AbstractAccountUpdate interface. */ export function instanceOfAbstractAccountUpdate(value) { return true; } export function AbstractAccountUpdateFromJSON(json) { return AbstractAccountUpdateFromJSONTyped(json, false); } export function AbstractAccountUpdateFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'name': json['name'] == null ? undefined : json['name'], 'subaccountLimit': json['subaccountLimit'] == null ? undefined : json['subaccountLimit'], }; } export function AbstractAccountUpdateToJSON(json) { return AbstractAccountUpdateToJSONTyped(json, false); } export function AbstractAccountUpdateToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'name': value['name'], 'subaccountLimit': value['subaccountLimit'], }; }