§ 10. Officers. City officers, within the meaning of this chapter, include all persons elected or appointed to any office of the city created or authorized by this chapter or otherwise by law.