Like this
formatting link
How to get to the switch section? probably a reed switch and a magnet housed in the slide. Seems to be joltable and then magnetically holding closed in on or off position , presumably magnetised reed. Just plastic but set in this very robust aluminium casting. How to flex so it will prize-out undamaged? If the slide bit removed then perhaps a tape-head demagnetiser on the reed.