Whenever necessary to make an inspection to enforce any ordinance or whenever there is reasonable cause to believe there exists an ordinance violation in any building or upon any premises within the jurisdiction of the City, any authorized official of the City, upon presentation of proper credentials, may enter such building or premises at all reasonable times to inspect the same or to perform any duty imposed upon such official by this Code of Ordinances.  Except in emergency situations or when consent of the owner and/or occupant to the inspection has otherwise been obtained, the City official shall give the owner and/or occupant, if they can be located after reasonable effort, twenty-four (24) hours’ written notice of the official’s intention to inspect.