“City office” or “city officer” means such city officers as are provided by law to be elected.