| Line 28... |
Line 28... |
| 28 |
print ' string getItemStatusDescription(i64 itemId)'
|
28 |
print ' string getItemStatusDescription(i64 itemId)'
|
| 29 |
print ' void startItemOn(i64 item_id, i64 timestamp)'
|
29 |
print ' void startItemOn(i64 item_id, i64 timestamp)'
|
| 30 |
print ' void retireItemOn(i64 item_id, i64 timestamp)'
|
30 |
print ' void retireItemOn(i64 item_id, i64 timestamp)'
|
| 31 |
print ' void changeItemStatus(i64 item_id, i64 timestamp, status newstatus)'
|
31 |
print ' void changeItemStatus(i64 item_id, i64 timestamp, status newstatus)'
|
| 32 |
print ' Item getItem(i64 item_id)'
|
32 |
print ' Item getItem(i64 item_id)'
|
| - |
|
33 |
print ' getItems( item_ids)'
|
| 33 |
print ' getItemsByCatalogId(i64 catalog_item_id)'
|
34 |
print ' getItemsByCatalogId(i64 catalog_item_id)'
|
| 34 |
print ' getValidItemsByCatalogId(i64 catalog_item_id)'
|
35 |
print ' getValidItemsByCatalogId(i64 catalog_item_id)'
|
| 35 |
print ' getAllItems(bool isActive)'
|
36 |
print ' getAllItems(bool isActive)'
|
| 36 |
print ' getAllItemsByStatus(status itemStatus)'
|
37 |
print ' getAllItemsByStatus(status itemStatus)'
|
| 37 |
print ' bool markItemAsContentComplete(i64 entityId, i64 category, string brand, string modelName, string modelNumber, bool isAndroid)'
|
38 |
print ' bool markItemAsContentComplete(i64 entityId, i64 category, string brand, string modelName, string modelNumber, bool isAndroid)'
|
| Line 305... |
Line 306... |
| 305 |
if len(args) != 1:
|
306 |
if len(args) != 1:
|
| 306 |
print 'getItem requires 1 args'
|
307 |
print 'getItem requires 1 args'
|
| 307 |
sys.exit(1)
|
308 |
sys.exit(1)
|
| 308 |
pp.pprint(client.getItem(eval(args[0]),))
|
309 |
pp.pprint(client.getItem(eval(args[0]),))
|
| 309 |
|
310 |
|
| - |
|
311 |
elif cmd == 'getItems':
|
| - |
|
312 |
if len(args) != 1:
|
| - |
|
313 |
print 'getItems requires 1 args'
|
| - |
|
314 |
sys.exit(1)
|
| - |
|
315 |
pp.pprint(client.getItems(eval(args[0]),))
|
| - |
|
316 |
|
| 310 |
elif cmd == 'getItemsByCatalogId':
|
317 |
elif cmd == 'getItemsByCatalogId':
|
| 311 |
if len(args) != 1:
|
318 |
if len(args) != 1:
|
| 312 |
print 'getItemsByCatalogId requires 1 args'
|
319 |
print 'getItemsByCatalogId requires 1 args'
|
| 313 |
sys.exit(1)
|
320 |
sys.exit(1)
|
| 314 |
pp.pprint(client.getItemsByCatalogId(eval(args[0]),))
|
321 |
pp.pprint(client.getItemsByCatalogId(eval(args[0]),))
|