File tree 1 file changed +20
-6
lines changed
1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -465,12 +465,26 @@ def rename_package(self):
465
465
"""
466
466
pass
467
467
468
- def query_packages (self ):
469
- """
470
- No idea what parameters i have to pass and/or i don't know what it does.
471
- If i find out i will implement it :P
472
- """
473
- pass
468
+ def query_packages (self ,
469
+ params = [{
470
+ "availableOfflineCount" :True ,
471
+ "availableOnlineCount" :True ,
472
+ "availableTempUnknownCount" :True ,
473
+ "availableUnknownCount" :True ,
474
+ "bytesTotal" :True ,
475
+ "childCount" :True ,
476
+ "comment" :True ,
477
+ "enabled" :True ,
478
+ "hosts" :True ,
479
+ "maxResults" :- 1 ,
480
+ "packageUUIDs" :[],
481
+ "priority" :True ,
482
+ "saveTo" :True ,
483
+ "startAt" :0 ,
484
+ "status" :True
485
+ }]):
486
+ resp = self .device .action (self .url + "/queryPackages" , params )
487
+ return resp
474
488
475
489
def move_packages (self ):
476
490
"""
You can’t perform that action at this time.
0 commit comments