static public int setIterations(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (argc == 2)
         {
             GoTweenCollectionConfig self = (GoTweenCollectionConfig)checkSelf(l);
             System.Int32            a1;
             checkType(l, 2, out a1);
             var ret = self.setIterations(a1);
             pushValue(l, ret);
             return(1);
         }
         else if (argc == 3)
         {
             GoTweenCollectionConfig self = (GoTweenCollectionConfig)checkSelf(l);
             System.Int32            a1;
             checkType(l, 2, out a1);
             GoLoopType a2;
             checkEnum(l, 3, out a2);
             var ret = self.setIterations(a1, a2);
             pushValue(l, ret);
             return(1);
         }
         return(error(l, "No matched override function to call"));
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }