doc: Add switch on enum example
doc: Add switch on enum example

Former-commit-id: 32af095979959b6ecc624404bb6cc733ee4983e3
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin