code: def old_properties_names_to_new(self):
          
          old_properties = getattr(self.__class__, "old_properties", {})
          for old_name, new_name in list(old_properties.items()):
              # Ok, if we got old_name and NO new name,
              # we switch the name
              if hasattr(self, old_name) and not hasattr(self, new_name):
                  value = getattr(self, old_name)
                  setattr(self, new_name, value)
                  delattr(self, old_name)
docs: This function is used by service and hosts to transform Nagios2 parameters to Nagios3
          ones, like normal_check_interval to check_interval. There is a old_parameters tab
          in Classes that give such modifications to do.
  
          :return: None