An officer shall not be discharged, disciplined, or threatened with discharge or discipline, or subject to revocation or suspension of a certificate under sections to , in retaliation for exercising the rights of the officer enumerated in sections to .