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

Former-commit-id: 99f89924981dff1fae5c2c2703cfbfc321fe070a
syscoin/syscoin2,syscoin/syscoin2,syscoin/syscoin2,syscoin/syscoin2,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin2,syscoin/syscoin2,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin