Gill, it sounds like you have a Carver Cascade water heater.
Whilst you move a switch on the wall to start it, that simply supplies the electric to the control module in the fire, which opens the gas valve and starts the spark generator to light it.
Some models of Carver were gas only operation , whilst others are gas and electric, but the dual fuel ones have a separate 240v switch which should be marked as such.