Subversion Repositories SmartDukaan

Rev

Rev 6484 | Rev 6821 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6484 Rev 6531
Line 377... Line 377...
377
    Parameters:
377
    Parameters:
378
     - item_ids
378
     - item_ids
379
    """
379
    """
380
    pass
380
    pass
381
 
381
 
-
 
382
  def getMonitoredWarehouseForVendors(self, vendorIds):
-
 
383
    """
-
 
384
    Parameters:
-
 
385
     - vendorIds
-
 
386
    """
-
 
387
    pass
-
 
388
 
-
 
389
  def getIgnoredWarehouseidsAndItemids(self, ):
-
 
390
    pass
-
 
391
 
-
 
392
  def insertItemtoIgnoreInventoryUpdatelist(self, item_id, warehouse_id):
-
 
393
    """
-
 
394
    Parameters:
-
 
395
     - item_id
-
 
396
     - warehouse_id
-
 
397
    """
-
 
398
    pass
-
 
399
 
-
 
400
  def deleteItemFromIgnoredInventoryUpdateList(self, item_id, warehouse_id):
-
 
401
    """
-
 
402
    Parameters:
-
 
403
     - item_id
-
 
404
     - warehouse_id
-
 
405
    """
-
 
406
    pass
-
 
407
 
-
 
408
  def getAllIgnoredInventoryupdateItemsCount(self, ):
-
 
409
    pass
-
 
410
 
-
 
411
  def getIgnoredInventoryUpdateItemids(self, offset, limit):
-
 
412
    """
-
 
413
    Parameters:
-
 
414
     - offset
-
 
415
     - limit
-
 
416
    """
-
 
417
    pass
-
 
418
 
382
 
419
 
383
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
420
class Client(shop2020.thriftpy.generic.GenericService.Client, Iface):
384
  def __init__(self, iprot, oprot=None):
421
  def __init__(self, iprot, oprot=None):
385
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
422
    shop2020.thriftpy.generic.GenericService.Client.__init__(self, iprot, oprot)
386
 
423
 
Line 1665... Line 1702...
1665
    self._iprot.readMessageEnd()
1702
    self._iprot.readMessageEnd()
1666
    if result.success is not None:
1703
    if result.success is not None:
1667
      return result.success
1704
      return result.success
1668
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemAvailabilitiesAtOurWarehouses failed: unknown result");
1705
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getItemAvailabilitiesAtOurWarehouses failed: unknown result");
1669
 
1706
 
-
 
1707
  def getMonitoredWarehouseForVendors(self, vendorIds):
-
 
1708
    """
-
 
1709
    Parameters:
-
 
1710
     - vendorIds
-
 
1711
    """
-
 
1712
    self.send_getMonitoredWarehouseForVendors(vendorIds)
-
 
1713
    return self.recv_getMonitoredWarehouseForVendors()
-
 
1714
 
-
 
1715
  def send_getMonitoredWarehouseForVendors(self, vendorIds):
-
 
1716
    self._oprot.writeMessageBegin('getMonitoredWarehouseForVendors', TMessageType.CALL, self._seqid)
-
 
1717
    args = getMonitoredWarehouseForVendors_args()
-
 
1718
    args.vendorIds = vendorIds
-
 
1719
    args.write(self._oprot)
-
 
1720
    self._oprot.writeMessageEnd()
-
 
1721
    self._oprot.trans.flush()
-
 
1722
 
-
 
1723
  def recv_getMonitoredWarehouseForVendors(self, ):
-
 
1724
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1725
    if mtype == TMessageType.EXCEPTION:
-
 
1726
      x = TApplicationException()
-
 
1727
      x.read(self._iprot)
-
 
1728
      self._iprot.readMessageEnd()
-
 
1729
      raise x
-
 
1730
    result = getMonitoredWarehouseForVendors_result()
-
 
1731
    result.read(self._iprot)
-
 
1732
    self._iprot.readMessageEnd()
-
 
1733
    if result.success is not None:
-
 
1734
      return result.success
-
 
1735
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getMonitoredWarehouseForVendors failed: unknown result");
-
 
1736
 
-
 
1737
  def getIgnoredWarehouseidsAndItemids(self, ):
-
 
1738
    self.send_getIgnoredWarehouseidsAndItemids()
-
 
1739
    return self.recv_getIgnoredWarehouseidsAndItemids()
-
 
1740
 
-
 
1741
  def send_getIgnoredWarehouseidsAndItemids(self, ):
-
 
1742
    self._oprot.writeMessageBegin('getIgnoredWarehouseidsAndItemids', TMessageType.CALL, self._seqid)
-
 
1743
    args = getIgnoredWarehouseidsAndItemids_args()
-
 
1744
    args.write(self._oprot)
-
 
1745
    self._oprot.writeMessageEnd()
-
 
1746
    self._oprot.trans.flush()
-
 
1747
 
-
 
1748
  def recv_getIgnoredWarehouseidsAndItemids(self, ):
-
 
1749
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1750
    if mtype == TMessageType.EXCEPTION:
-
 
1751
      x = TApplicationException()
-
 
1752
      x.read(self._iprot)
-
 
1753
      self._iprot.readMessageEnd()
-
 
1754
      raise x
-
 
1755
    result = getIgnoredWarehouseidsAndItemids_result()
-
 
1756
    result.read(self._iprot)
-
 
1757
    self._iprot.readMessageEnd()
-
 
1758
    if result.success is not None:
-
 
1759
      return result.success
-
 
1760
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getIgnoredWarehouseidsAndItemids failed: unknown result");
-
 
1761
 
-
 
1762
  def insertItemtoIgnoreInventoryUpdatelist(self, item_id, warehouse_id):
-
 
1763
    """
-
 
1764
    Parameters:
-
 
1765
     - item_id
-
 
1766
     - warehouse_id
-
 
1767
    """
-
 
1768
    self.send_insertItemtoIgnoreInventoryUpdatelist(item_id, warehouse_id)
-
 
1769
    return self.recv_insertItemtoIgnoreInventoryUpdatelist()
-
 
1770
 
-
 
1771
  def send_insertItemtoIgnoreInventoryUpdatelist(self, item_id, warehouse_id):
-
 
1772
    self._oprot.writeMessageBegin('insertItemtoIgnoreInventoryUpdatelist', TMessageType.CALL, self._seqid)
-
 
1773
    args = insertItemtoIgnoreInventoryUpdatelist_args()
-
 
1774
    args.item_id = item_id
-
 
1775
    args.warehouse_id = warehouse_id
-
 
1776
    args.write(self._oprot)
-
 
1777
    self._oprot.writeMessageEnd()
-
 
1778
    self._oprot.trans.flush()
-
 
1779
 
-
 
1780
  def recv_insertItemtoIgnoreInventoryUpdatelist(self, ):
-
 
1781
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1782
    if mtype == TMessageType.EXCEPTION:
-
 
1783
      x = TApplicationException()
-
 
1784
      x.read(self._iprot)
-
 
1785
      self._iprot.readMessageEnd()
-
 
1786
      raise x
-
 
1787
    result = insertItemtoIgnoreInventoryUpdatelist_result()
-
 
1788
    result.read(self._iprot)
-
 
1789
    self._iprot.readMessageEnd()
-
 
1790
    if result.success is not None:
-
 
1791
      return result.success
-
 
1792
    raise TApplicationException(TApplicationException.MISSING_RESULT, "insertItemtoIgnoreInventoryUpdatelist failed: unknown result");
-
 
1793
 
-
 
1794
  def deleteItemFromIgnoredInventoryUpdateList(self, item_id, warehouse_id):
-
 
1795
    """
-
 
1796
    Parameters:
-
 
1797
     - item_id
-
 
1798
     - warehouse_id
-
 
1799
    """
-
 
1800
    self.send_deleteItemFromIgnoredInventoryUpdateList(item_id, warehouse_id)
-
 
1801
    return self.recv_deleteItemFromIgnoredInventoryUpdateList()
-
 
1802
 
-
 
1803
  def send_deleteItemFromIgnoredInventoryUpdateList(self, item_id, warehouse_id):
-
 
1804
    self._oprot.writeMessageBegin('deleteItemFromIgnoredInventoryUpdateList', TMessageType.CALL, self._seqid)
-
 
1805
    args = deleteItemFromIgnoredInventoryUpdateList_args()
-
 
1806
    args.item_id = item_id
-
 
1807
    args.warehouse_id = warehouse_id
-
 
1808
    args.write(self._oprot)
-
 
1809
    self._oprot.writeMessageEnd()
-
 
1810
    self._oprot.trans.flush()
-
 
1811
 
-
 
1812
  def recv_deleteItemFromIgnoredInventoryUpdateList(self, ):
-
 
1813
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1814
    if mtype == TMessageType.EXCEPTION:
-
 
1815
      x = TApplicationException()
-
 
1816
      x.read(self._iprot)
-
 
1817
      self._iprot.readMessageEnd()
-
 
1818
      raise x
-
 
1819
    result = deleteItemFromIgnoredInventoryUpdateList_result()
-
 
1820
    result.read(self._iprot)
-
 
1821
    self._iprot.readMessageEnd()
-
 
1822
    if result.success is not None:
-
 
1823
      return result.success
-
 
1824
    raise TApplicationException(TApplicationException.MISSING_RESULT, "deleteItemFromIgnoredInventoryUpdateList failed: unknown result");
-
 
1825
 
-
 
1826
  def getAllIgnoredInventoryupdateItemsCount(self, ):
-
 
1827
    self.send_getAllIgnoredInventoryupdateItemsCount()
-
 
1828
    return self.recv_getAllIgnoredInventoryupdateItemsCount()
-
 
1829
 
-
 
1830
  def send_getAllIgnoredInventoryupdateItemsCount(self, ):
-
 
1831
    self._oprot.writeMessageBegin('getAllIgnoredInventoryupdateItemsCount', TMessageType.CALL, self._seqid)
-
 
1832
    args = getAllIgnoredInventoryupdateItemsCount_args()
-
 
1833
    args.write(self._oprot)
-
 
1834
    self._oprot.writeMessageEnd()
-
 
1835
    self._oprot.trans.flush()
-
 
1836
 
-
 
1837
  def recv_getAllIgnoredInventoryupdateItemsCount(self, ):
-
 
1838
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1839
    if mtype == TMessageType.EXCEPTION:
-
 
1840
      x = TApplicationException()
-
 
1841
      x.read(self._iprot)
-
 
1842
      self._iprot.readMessageEnd()
-
 
1843
      raise x
-
 
1844
    result = getAllIgnoredInventoryupdateItemsCount_result()
-
 
1845
    result.read(self._iprot)
-
 
1846
    self._iprot.readMessageEnd()
-
 
1847
    if result.success is not None:
-
 
1848
      return result.success
-
 
1849
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getAllIgnoredInventoryupdateItemsCount failed: unknown result");
-
 
1850
 
-
 
1851
  def getIgnoredInventoryUpdateItemids(self, offset, limit):
-
 
1852
    """
-
 
1853
    Parameters:
-
 
1854
     - offset
-
 
1855
     - limit
-
 
1856
    """
-
 
1857
    self.send_getIgnoredInventoryUpdateItemids(offset, limit)
-
 
1858
    return self.recv_getIgnoredInventoryUpdateItemids()
-
 
1859
 
-
 
1860
  def send_getIgnoredInventoryUpdateItemids(self, offset, limit):
-
 
1861
    self._oprot.writeMessageBegin('getIgnoredInventoryUpdateItemids', TMessageType.CALL, self._seqid)
-
 
1862
    args = getIgnoredInventoryUpdateItemids_args()
-
 
1863
    args.offset = offset
-
 
1864
    args.limit = limit
-
 
1865
    args.write(self._oprot)
-
 
1866
    self._oprot.writeMessageEnd()
-
 
1867
    self._oprot.trans.flush()
-
 
1868
 
-
 
1869
  def recv_getIgnoredInventoryUpdateItemids(self, ):
-
 
1870
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
-
 
1871
    if mtype == TMessageType.EXCEPTION:
-
 
1872
      x = TApplicationException()
-
 
1873
      x.read(self._iprot)
-
 
1874
      self._iprot.readMessageEnd()
-
 
1875
      raise x
-
 
1876
    result = getIgnoredInventoryUpdateItemids_result()
-
 
1877
    result.read(self._iprot)
-
 
1878
    self._iprot.readMessageEnd()
-
 
1879
    if result.success is not None:
-
 
1880
      return result.success
-
 
1881
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getIgnoredInventoryUpdateItemids failed: unknown result");
-
 
1882
 
1670
 
1883
 
1671
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
1884
class Processor(shop2020.thriftpy.generic.GenericService.Processor, Iface, TProcessor):
1672
  def __init__(self, handler):
1885
  def __init__(self, handler):
1673
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
1886
    shop2020.thriftpy.generic.GenericService.Processor.__init__(self, handler)
1674
    self._processMap["addWarehouse"] = Processor.process_addWarehouse
1887
    self._processMap["addWarehouse"] = Processor.process_addWarehouse
Line 1707... Line 1920...
1707
    self._processMap["clearItemAvailabilityCache"] = Processor.process_clearItemAvailabilityCache
1920
    self._processMap["clearItemAvailabilityCache"] = Processor.process_clearItemAvailabilityCache
1708
    self._processMap["updateVendorString"] = Processor.process_updateVendorString
1921
    self._processMap["updateVendorString"] = Processor.process_updateVendorString
1709
    self._processMap["clearItemAvailabilityCacheForItem"] = Processor.process_clearItemAvailabilityCacheForItem
1922
    self._processMap["clearItemAvailabilityCacheForItem"] = Processor.process_clearItemAvailabilityCacheForItem
1710
    self._processMap["getOurWarehouseIdForVendor"] = Processor.process_getOurWarehouseIdForVendor
1923
    self._processMap["getOurWarehouseIdForVendor"] = Processor.process_getOurWarehouseIdForVendor
1711
    self._processMap["getItemAvailabilitiesAtOurWarehouses"] = Processor.process_getItemAvailabilitiesAtOurWarehouses
1924
    self._processMap["getItemAvailabilitiesAtOurWarehouses"] = Processor.process_getItemAvailabilitiesAtOurWarehouses
-
 
1925
    self._processMap["getMonitoredWarehouseForVendors"] = Processor.process_getMonitoredWarehouseForVendors
-
 
1926
    self._processMap["getIgnoredWarehouseidsAndItemids"] = Processor.process_getIgnoredWarehouseidsAndItemids
-
 
1927
    self._processMap["insertItemtoIgnoreInventoryUpdatelist"] = Processor.process_insertItemtoIgnoreInventoryUpdatelist
-
 
1928
    self._processMap["deleteItemFromIgnoredInventoryUpdateList"] = Processor.process_deleteItemFromIgnoredInventoryUpdateList
-
 
1929
    self._processMap["getAllIgnoredInventoryupdateItemsCount"] = Processor.process_getAllIgnoredInventoryupdateItemsCount
-
 
1930
    self._processMap["getIgnoredInventoryUpdateItemids"] = Processor.process_getIgnoredInventoryUpdateItemids
1712
 
1931
 
1713
  def process(self, iprot, oprot):
1932
  def process(self, iprot, oprot):
1714
    (name, type, seqid) = iprot.readMessageBegin()
1933
    (name, type, seqid) = iprot.readMessageBegin()
1715
    if name not in self._processMap:
1934
    if name not in self._processMap:
1716
      iprot.skip(TType.STRUCT)
1935
      iprot.skip(TType.STRUCT)
Line 2207... Line 2426...
2207
    oprot.writeMessageBegin("getItemAvailabilitiesAtOurWarehouses", TMessageType.REPLY, seqid)
2426
    oprot.writeMessageBegin("getItemAvailabilitiesAtOurWarehouses", TMessageType.REPLY, seqid)
2208
    result.write(oprot)
2427
    result.write(oprot)
2209
    oprot.writeMessageEnd()
2428
    oprot.writeMessageEnd()
2210
    oprot.trans.flush()
2429
    oprot.trans.flush()
2211
 
2430
 
-
 
2431
  def process_getMonitoredWarehouseForVendors(self, seqid, iprot, oprot):
-
 
2432
    args = getMonitoredWarehouseForVendors_args()
-
 
2433
    args.read(iprot)
-
 
2434
    iprot.readMessageEnd()
-
 
2435
    result = getMonitoredWarehouseForVendors_result()
-
 
2436
    result.success = self._handler.getMonitoredWarehouseForVendors(args.vendorIds)
-
 
2437
    oprot.writeMessageBegin("getMonitoredWarehouseForVendors", TMessageType.REPLY, seqid)
-
 
2438
    result.write(oprot)
-
 
2439
    oprot.writeMessageEnd()
-
 
2440
    oprot.trans.flush()
-
 
2441
 
-
 
2442
  def process_getIgnoredWarehouseidsAndItemids(self, seqid, iprot, oprot):
-
 
2443
    args = getIgnoredWarehouseidsAndItemids_args()
-
 
2444
    args.read(iprot)
-
 
2445
    iprot.readMessageEnd()
-
 
2446
    result = getIgnoredWarehouseidsAndItemids_result()
-
 
2447
    result.success = self._handler.getIgnoredWarehouseidsAndItemids()
-
 
2448
    oprot.writeMessageBegin("getIgnoredWarehouseidsAndItemids", TMessageType.REPLY, seqid)
-
 
2449
    result.write(oprot)
-
 
2450
    oprot.writeMessageEnd()
-
 
2451
    oprot.trans.flush()
-
 
2452
 
-
 
2453
  def process_insertItemtoIgnoreInventoryUpdatelist(self, seqid, iprot, oprot):
-
 
2454
    args = insertItemtoIgnoreInventoryUpdatelist_args()
-
 
2455
    args.read(iprot)
-
 
2456
    iprot.readMessageEnd()
-
 
2457
    result = insertItemtoIgnoreInventoryUpdatelist_result()
-
 
2458
    result.success = self._handler.insertItemtoIgnoreInventoryUpdatelist(args.item_id, args.warehouse_id)
-
 
2459
    oprot.writeMessageBegin("insertItemtoIgnoreInventoryUpdatelist", TMessageType.REPLY, seqid)
-
 
2460
    result.write(oprot)
-
 
2461
    oprot.writeMessageEnd()
-
 
2462
    oprot.trans.flush()
-
 
2463
 
-
 
2464
  def process_deleteItemFromIgnoredInventoryUpdateList(self, seqid, iprot, oprot):
-
 
2465
    args = deleteItemFromIgnoredInventoryUpdateList_args()
-
 
2466
    args.read(iprot)
-
 
2467
    iprot.readMessageEnd()
-
 
2468
    result = deleteItemFromIgnoredInventoryUpdateList_result()
-
 
2469
    result.success = self._handler.deleteItemFromIgnoredInventoryUpdateList(args.item_id, args.warehouse_id)
-
 
2470
    oprot.writeMessageBegin("deleteItemFromIgnoredInventoryUpdateList", TMessageType.REPLY, seqid)
-
 
2471
    result.write(oprot)
-
 
2472
    oprot.writeMessageEnd()
-
 
2473
    oprot.trans.flush()
-
 
2474
 
-
 
2475
  def process_getAllIgnoredInventoryupdateItemsCount(self, seqid, iprot, oprot):
-
 
2476
    args = getAllIgnoredInventoryupdateItemsCount_args()
-
 
2477
    args.read(iprot)
-
 
2478
    iprot.readMessageEnd()
-
 
2479
    result = getAllIgnoredInventoryupdateItemsCount_result()
-
 
2480
    result.success = self._handler.getAllIgnoredInventoryupdateItemsCount()
-
 
2481
    oprot.writeMessageBegin("getAllIgnoredInventoryupdateItemsCount", TMessageType.REPLY, seqid)
-
 
2482
    result.write(oprot)
-
 
2483
    oprot.writeMessageEnd()
-
 
2484
    oprot.trans.flush()
-
 
2485
 
-
 
2486
  def process_getIgnoredInventoryUpdateItemids(self, seqid, iprot, oprot):
-
 
2487
    args = getIgnoredInventoryUpdateItemids_args()
-
 
2488
    args.read(iprot)
-
 
2489
    iprot.readMessageEnd()
-
 
2490
    result = getIgnoredInventoryUpdateItemids_result()
-
 
2491
    result.success = self._handler.getIgnoredInventoryUpdateItemids(args.offset, args.limit)
-
 
2492
    oprot.writeMessageBegin("getIgnoredInventoryUpdateItemids", TMessageType.REPLY, seqid)
-
 
2493
    result.write(oprot)
-
 
2494
    oprot.writeMessageEnd()
-
 
2495
    oprot.trans.flush()
-
 
2496
 
2212
 
2497
 
2213
# HELPER FUNCTIONS AND STRUCTURES
2498
# HELPER FUNCTIONS AND STRUCTURES
2214
 
2499
 
2215
class addWarehouse_args:
2500
class addWarehouse_args:
2216
  """
2501
  """
Line 7328... Line 7613...
7328
      oprot.writeFieldEnd()
7613
      oprot.writeFieldEnd()
7329
    oprot.writeFieldStop()
7614
    oprot.writeFieldStop()
7330
    oprot.writeStructEnd()
7615
    oprot.writeStructEnd()
7331
 
7616
 
7332
  def validate(self):
7617
  def validate(self):
-
 
7618
    return
-
 
7619
 
-
 
7620
 
-
 
7621
  def __repr__(self):
-
 
7622
    L = ['%s=%r' % (key, value)
-
 
7623
      for key, value in self.__dict__.iteritems()]
-
 
7624
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7625
 
-
 
7626
  def __eq__(self, other):
-
 
7627
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7628
 
-
 
7629
  def __ne__(self, other):
-
 
7630
    return not (self == other)
-
 
7631
 
-
 
7632
class getMonitoredWarehouseForVendors_args:
-
 
7633
  """
-
 
7634
  Attributes:
-
 
7635
   - vendorIds
-
 
7636
  """
-
 
7637
 
-
 
7638
  thrift_spec = (
-
 
7639
    None, # 0
-
 
7640
    (1, TType.LIST, 'vendorIds', (TType.I64,None), None, ), # 1
-
 
7641
  )
-
 
7642
 
-
 
7643
  def __init__(self, vendorIds=None,):
-
 
7644
    self.vendorIds = vendorIds
-
 
7645
 
-
 
7646
  def read(self, iprot):
-
 
7647
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7648
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7649
      return
-
 
7650
    iprot.readStructBegin()
-
 
7651
    while True:
-
 
7652
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7653
      if ftype == TType.STOP:
-
 
7654
        break
-
 
7655
      if fid == 1:
-
 
7656
        if ftype == TType.LIST:
-
 
7657
          self.vendorIds = []
-
 
7658
          (_etype159, _size156) = iprot.readListBegin()
-
 
7659
          for _i160 in xrange(_size156):
-
 
7660
            _elem161 = iprot.readI64();
-
 
7661
            self.vendorIds.append(_elem161)
-
 
7662
          iprot.readListEnd()
-
 
7663
        else:
-
 
7664
          iprot.skip(ftype)
-
 
7665
      else:
-
 
7666
        iprot.skip(ftype)
-
 
7667
      iprot.readFieldEnd()
-
 
7668
    iprot.readStructEnd()
-
 
7669
 
-
 
7670
  def write(self, oprot):
-
 
7671
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7672
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7673
      return
-
 
7674
    oprot.writeStructBegin('getMonitoredWarehouseForVendors_args')
-
 
7675
    if self.vendorIds is not None:
-
 
7676
      oprot.writeFieldBegin('vendorIds', TType.LIST, 1)
-
 
7677
      oprot.writeListBegin(TType.I64, len(self.vendorIds))
-
 
7678
      for iter162 in self.vendorIds:
-
 
7679
        oprot.writeI64(iter162)
-
 
7680
      oprot.writeListEnd()
-
 
7681
      oprot.writeFieldEnd()
-
 
7682
    oprot.writeFieldStop()
-
 
7683
    oprot.writeStructEnd()
-
 
7684
 
-
 
7685
  def validate(self):
-
 
7686
    return
-
 
7687
 
-
 
7688
 
-
 
7689
  def __repr__(self):
-
 
7690
    L = ['%s=%r' % (key, value)
-
 
7691
      for key, value in self.__dict__.iteritems()]
-
 
7692
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7693
 
-
 
7694
  def __eq__(self, other):
-
 
7695
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7696
 
-
 
7697
  def __ne__(self, other):
-
 
7698
    return not (self == other)
-
 
7699
 
-
 
7700
class getMonitoredWarehouseForVendors_result:
-
 
7701
  """
-
 
7702
  Attributes:
-
 
7703
   - success
-
 
7704
  """
-
 
7705
 
-
 
7706
  thrift_spec = (
-
 
7707
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
-
 
7708
  )
-
 
7709
 
-
 
7710
  def __init__(self, success=None,):
-
 
7711
    self.success = success
-
 
7712
 
-
 
7713
  def read(self, iprot):
-
 
7714
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7715
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7716
      return
-
 
7717
    iprot.readStructBegin()
-
 
7718
    while True:
-
 
7719
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7720
      if ftype == TType.STOP:
-
 
7721
        break
-
 
7722
      if fid == 0:
-
 
7723
        if ftype == TType.LIST:
-
 
7724
          self.success = []
-
 
7725
          (_etype166, _size163) = iprot.readListBegin()
-
 
7726
          for _i167 in xrange(_size163):
-
 
7727
            _elem168 = iprot.readI64();
-
 
7728
            self.success.append(_elem168)
-
 
7729
          iprot.readListEnd()
-
 
7730
        else:
-
 
7731
          iprot.skip(ftype)
-
 
7732
      else:
-
 
7733
        iprot.skip(ftype)
-
 
7734
      iprot.readFieldEnd()
-
 
7735
    iprot.readStructEnd()
-
 
7736
 
-
 
7737
  def write(self, oprot):
-
 
7738
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7739
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7740
      return
-
 
7741
    oprot.writeStructBegin('getMonitoredWarehouseForVendors_result')
-
 
7742
    if self.success is not None:
-
 
7743
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
7744
      oprot.writeListBegin(TType.I64, len(self.success))
-
 
7745
      for iter169 in self.success:
-
 
7746
        oprot.writeI64(iter169)
-
 
7747
      oprot.writeListEnd()
-
 
7748
      oprot.writeFieldEnd()
-
 
7749
    oprot.writeFieldStop()
-
 
7750
    oprot.writeStructEnd()
-
 
7751
 
-
 
7752
  def validate(self):
-
 
7753
    return
-
 
7754
 
-
 
7755
 
-
 
7756
  def __repr__(self):
-
 
7757
    L = ['%s=%r' % (key, value)
-
 
7758
      for key, value in self.__dict__.iteritems()]
-
 
7759
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7760
 
-
 
7761
  def __eq__(self, other):
-
 
7762
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7763
 
-
 
7764
  def __ne__(self, other):
-
 
7765
    return not (self == other)
-
 
7766
 
-
 
7767
class getIgnoredWarehouseidsAndItemids_args:
-
 
7768
 
-
 
7769
  thrift_spec = (
-
 
7770
  )
-
 
7771
 
-
 
7772
  def read(self, iprot):
-
 
7773
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7774
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7775
      return
-
 
7776
    iprot.readStructBegin()
-
 
7777
    while True:
-
 
7778
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7779
      if ftype == TType.STOP:
-
 
7780
        break
-
 
7781
      else:
-
 
7782
        iprot.skip(ftype)
-
 
7783
      iprot.readFieldEnd()
-
 
7784
    iprot.readStructEnd()
-
 
7785
 
-
 
7786
  def write(self, oprot):
-
 
7787
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7788
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7789
      return
-
 
7790
    oprot.writeStructBegin('getIgnoredWarehouseidsAndItemids_args')
-
 
7791
    oprot.writeFieldStop()
-
 
7792
    oprot.writeStructEnd()
-
 
7793
 
-
 
7794
  def validate(self):
-
 
7795
    return
-
 
7796
 
-
 
7797
 
-
 
7798
  def __repr__(self):
-
 
7799
    L = ['%s=%r' % (key, value)
-
 
7800
      for key, value in self.__dict__.iteritems()]
-
 
7801
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7802
 
-
 
7803
  def __eq__(self, other):
-
 
7804
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7805
 
-
 
7806
  def __ne__(self, other):
-
 
7807
    return not (self == other)
-
 
7808
 
-
 
7809
class getIgnoredWarehouseidsAndItemids_result:
-
 
7810
  """
-
 
7811
  Attributes:
-
 
7812
   - success
-
 
7813
  """
-
 
7814
 
-
 
7815
  thrift_spec = (
-
 
7816
    (0, TType.LIST, 'success', (TType.STRUCT,(IgnoredInventoryUpdateItems, IgnoredInventoryUpdateItems.thrift_spec)), None, ), # 0
-
 
7817
  )
-
 
7818
 
-
 
7819
  def __init__(self, success=None,):
-
 
7820
    self.success = success
-
 
7821
 
-
 
7822
  def read(self, iprot):
-
 
7823
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7824
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7825
      return
-
 
7826
    iprot.readStructBegin()
-
 
7827
    while True:
-
 
7828
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7829
      if ftype == TType.STOP:
-
 
7830
        break
-
 
7831
      if fid == 0:
-
 
7832
        if ftype == TType.LIST:
-
 
7833
          self.success = []
-
 
7834
          (_etype173, _size170) = iprot.readListBegin()
-
 
7835
          for _i174 in xrange(_size170):
-
 
7836
            _elem175 = IgnoredInventoryUpdateItems()
-
 
7837
            _elem175.read(iprot)
-
 
7838
            self.success.append(_elem175)
-
 
7839
          iprot.readListEnd()
-
 
7840
        else:
-
 
7841
          iprot.skip(ftype)
-
 
7842
      else:
-
 
7843
        iprot.skip(ftype)
-
 
7844
      iprot.readFieldEnd()
-
 
7845
    iprot.readStructEnd()
-
 
7846
 
-
 
7847
  def write(self, oprot):
-
 
7848
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7849
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7850
      return
-
 
7851
    oprot.writeStructBegin('getIgnoredWarehouseidsAndItemids_result')
-
 
7852
    if self.success is not None:
-
 
7853
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
7854
      oprot.writeListBegin(TType.STRUCT, len(self.success))
-
 
7855
      for iter176 in self.success:
-
 
7856
        iter176.write(oprot)
-
 
7857
      oprot.writeListEnd()
-
 
7858
      oprot.writeFieldEnd()
-
 
7859
    oprot.writeFieldStop()
-
 
7860
    oprot.writeStructEnd()
-
 
7861
 
-
 
7862
  def validate(self):
-
 
7863
    return
-
 
7864
 
-
 
7865
 
-
 
7866
  def __repr__(self):
-
 
7867
    L = ['%s=%r' % (key, value)
-
 
7868
      for key, value in self.__dict__.iteritems()]
-
 
7869
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7870
 
-
 
7871
  def __eq__(self, other):
-
 
7872
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7873
 
-
 
7874
  def __ne__(self, other):
-
 
7875
    return not (self == other)
-
 
7876
 
-
 
7877
class insertItemtoIgnoreInventoryUpdatelist_args:
-
 
7878
  """
-
 
7879
  Attributes:
-
 
7880
   - item_id
-
 
7881
   - warehouse_id
-
 
7882
  """
-
 
7883
 
-
 
7884
  thrift_spec = (
-
 
7885
    None, # 0
-
 
7886
    (1, TType.I64, 'item_id', None, None, ), # 1
-
 
7887
    (2, TType.I64, 'warehouse_id', None, None, ), # 2
-
 
7888
  )
-
 
7889
 
-
 
7890
  def __init__(self, item_id=None, warehouse_id=None,):
-
 
7891
    self.item_id = item_id
-
 
7892
    self.warehouse_id = warehouse_id
-
 
7893
 
-
 
7894
  def read(self, iprot):
-
 
7895
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7896
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7897
      return
-
 
7898
    iprot.readStructBegin()
-
 
7899
    while True:
-
 
7900
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7901
      if ftype == TType.STOP:
-
 
7902
        break
-
 
7903
      if fid == 1:
-
 
7904
        if ftype == TType.I64:
-
 
7905
          self.item_id = iprot.readI64();
-
 
7906
        else:
-
 
7907
          iprot.skip(ftype)
-
 
7908
      elif fid == 2:
-
 
7909
        if ftype == TType.I64:
-
 
7910
          self.warehouse_id = iprot.readI64();
-
 
7911
        else:
-
 
7912
          iprot.skip(ftype)
-
 
7913
      else:
-
 
7914
        iprot.skip(ftype)
-
 
7915
      iprot.readFieldEnd()
-
 
7916
    iprot.readStructEnd()
-
 
7917
 
-
 
7918
  def write(self, oprot):
-
 
7919
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7920
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7921
      return
-
 
7922
    oprot.writeStructBegin('insertItemtoIgnoreInventoryUpdatelist_args')
-
 
7923
    if self.item_id is not None:
-
 
7924
      oprot.writeFieldBegin('item_id', TType.I64, 1)
-
 
7925
      oprot.writeI64(self.item_id)
-
 
7926
      oprot.writeFieldEnd()
-
 
7927
    if self.warehouse_id is not None:
-
 
7928
      oprot.writeFieldBegin('warehouse_id', TType.I64, 2)
-
 
7929
      oprot.writeI64(self.warehouse_id)
-
 
7930
      oprot.writeFieldEnd()
-
 
7931
    oprot.writeFieldStop()
-
 
7932
    oprot.writeStructEnd()
-
 
7933
 
-
 
7934
  def validate(self):
-
 
7935
    return
-
 
7936
 
-
 
7937
 
-
 
7938
  def __repr__(self):
-
 
7939
    L = ['%s=%r' % (key, value)
-
 
7940
      for key, value in self.__dict__.iteritems()]
-
 
7941
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
7942
 
-
 
7943
  def __eq__(self, other):
-
 
7944
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
7945
 
-
 
7946
  def __ne__(self, other):
-
 
7947
    return not (self == other)
-
 
7948
 
-
 
7949
class insertItemtoIgnoreInventoryUpdatelist_result:
-
 
7950
  """
-
 
7951
  Attributes:
-
 
7952
   - success
-
 
7953
  """
-
 
7954
 
-
 
7955
  thrift_spec = (
-
 
7956
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
7957
  )
-
 
7958
 
-
 
7959
  def __init__(self, success=None,):
-
 
7960
    self.success = success
-
 
7961
 
-
 
7962
  def read(self, iprot):
-
 
7963
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
7964
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
7965
      return
-
 
7966
    iprot.readStructBegin()
-
 
7967
    while True:
-
 
7968
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
7969
      if ftype == TType.STOP:
-
 
7970
        break
-
 
7971
      if fid == 0:
-
 
7972
        if ftype == TType.BOOL:
-
 
7973
          self.success = iprot.readBool();
-
 
7974
        else:
-
 
7975
          iprot.skip(ftype)
-
 
7976
      else:
-
 
7977
        iprot.skip(ftype)
-
 
7978
      iprot.readFieldEnd()
-
 
7979
    iprot.readStructEnd()
-
 
7980
 
-
 
7981
  def write(self, oprot):
-
 
7982
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
7983
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
7984
      return
-
 
7985
    oprot.writeStructBegin('insertItemtoIgnoreInventoryUpdatelist_result')
-
 
7986
    if self.success is not None:
-
 
7987
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
7988
      oprot.writeBool(self.success)
-
 
7989
      oprot.writeFieldEnd()
-
 
7990
    oprot.writeFieldStop()
-
 
7991
    oprot.writeStructEnd()
-
 
7992
 
-
 
7993
  def validate(self):
-
 
7994
    return
-
 
7995
 
-
 
7996
 
-
 
7997
  def __repr__(self):
-
 
7998
    L = ['%s=%r' % (key, value)
-
 
7999
      for key, value in self.__dict__.iteritems()]
-
 
8000
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8001
 
-
 
8002
  def __eq__(self, other):
-
 
8003
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8004
 
-
 
8005
  def __ne__(self, other):
-
 
8006
    return not (self == other)
-
 
8007
 
-
 
8008
class deleteItemFromIgnoredInventoryUpdateList_args:
-
 
8009
  """
-
 
8010
  Attributes:
-
 
8011
   - item_id
-
 
8012
   - warehouse_id
-
 
8013
  """
-
 
8014
 
-
 
8015
  thrift_spec = (
-
 
8016
    None, # 0
-
 
8017
    (1, TType.I64, 'item_id', None, None, ), # 1
-
 
8018
    (2, TType.I64, 'warehouse_id', None, None, ), # 2
-
 
8019
  )
-
 
8020
 
-
 
8021
  def __init__(self, item_id=None, warehouse_id=None,):
-
 
8022
    self.item_id = item_id
-
 
8023
    self.warehouse_id = warehouse_id
-
 
8024
 
-
 
8025
  def read(self, iprot):
-
 
8026
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8027
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8028
      return
-
 
8029
    iprot.readStructBegin()
-
 
8030
    while True:
-
 
8031
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8032
      if ftype == TType.STOP:
-
 
8033
        break
-
 
8034
      if fid == 1:
-
 
8035
        if ftype == TType.I64:
-
 
8036
          self.item_id = iprot.readI64();
-
 
8037
        else:
-
 
8038
          iprot.skip(ftype)
-
 
8039
      elif fid == 2:
-
 
8040
        if ftype == TType.I64:
-
 
8041
          self.warehouse_id = iprot.readI64();
-
 
8042
        else:
-
 
8043
          iprot.skip(ftype)
-
 
8044
      else:
-
 
8045
        iprot.skip(ftype)
-
 
8046
      iprot.readFieldEnd()
-
 
8047
    iprot.readStructEnd()
-
 
8048
 
-
 
8049
  def write(self, oprot):
-
 
8050
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8051
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8052
      return
-
 
8053
    oprot.writeStructBegin('deleteItemFromIgnoredInventoryUpdateList_args')
-
 
8054
    if self.item_id is not None:
-
 
8055
      oprot.writeFieldBegin('item_id', TType.I64, 1)
-
 
8056
      oprot.writeI64(self.item_id)
-
 
8057
      oprot.writeFieldEnd()
-
 
8058
    if self.warehouse_id is not None:
-
 
8059
      oprot.writeFieldBegin('warehouse_id', TType.I64, 2)
-
 
8060
      oprot.writeI64(self.warehouse_id)
-
 
8061
      oprot.writeFieldEnd()
-
 
8062
    oprot.writeFieldStop()
-
 
8063
    oprot.writeStructEnd()
-
 
8064
 
-
 
8065
  def validate(self):
-
 
8066
    return
-
 
8067
 
-
 
8068
 
-
 
8069
  def __repr__(self):
-
 
8070
    L = ['%s=%r' % (key, value)
-
 
8071
      for key, value in self.__dict__.iteritems()]
-
 
8072
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8073
 
-
 
8074
  def __eq__(self, other):
-
 
8075
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8076
 
-
 
8077
  def __ne__(self, other):
-
 
8078
    return not (self == other)
-
 
8079
 
-
 
8080
class deleteItemFromIgnoredInventoryUpdateList_result:
-
 
8081
  """
-
 
8082
  Attributes:
-
 
8083
   - success
-
 
8084
  """
-
 
8085
 
-
 
8086
  thrift_spec = (
-
 
8087
    (0, TType.BOOL, 'success', None, None, ), # 0
-
 
8088
  )
-
 
8089
 
-
 
8090
  def __init__(self, success=None,):
-
 
8091
    self.success = success
-
 
8092
 
-
 
8093
  def read(self, iprot):
-
 
8094
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8095
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8096
      return
-
 
8097
    iprot.readStructBegin()
-
 
8098
    while True:
-
 
8099
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8100
      if ftype == TType.STOP:
-
 
8101
        break
-
 
8102
      if fid == 0:
-
 
8103
        if ftype == TType.BOOL:
-
 
8104
          self.success = iprot.readBool();
-
 
8105
        else:
-
 
8106
          iprot.skip(ftype)
-
 
8107
      else:
-
 
8108
        iprot.skip(ftype)
-
 
8109
      iprot.readFieldEnd()
-
 
8110
    iprot.readStructEnd()
-
 
8111
 
-
 
8112
  def write(self, oprot):
-
 
8113
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8114
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8115
      return
-
 
8116
    oprot.writeStructBegin('deleteItemFromIgnoredInventoryUpdateList_result')
-
 
8117
    if self.success is not None:
-
 
8118
      oprot.writeFieldBegin('success', TType.BOOL, 0)
-
 
8119
      oprot.writeBool(self.success)
-
 
8120
      oprot.writeFieldEnd()
-
 
8121
    oprot.writeFieldStop()
-
 
8122
    oprot.writeStructEnd()
-
 
8123
 
-
 
8124
  def validate(self):
-
 
8125
    return
-
 
8126
 
-
 
8127
 
-
 
8128
  def __repr__(self):
-
 
8129
    L = ['%s=%r' % (key, value)
-
 
8130
      for key, value in self.__dict__.iteritems()]
-
 
8131
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8132
 
-
 
8133
  def __eq__(self, other):
-
 
8134
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8135
 
-
 
8136
  def __ne__(self, other):
-
 
8137
    return not (self == other)
-
 
8138
 
-
 
8139
class getAllIgnoredInventoryupdateItemsCount_args:
-
 
8140
 
-
 
8141
  thrift_spec = (
-
 
8142
  )
-
 
8143
 
-
 
8144
  def read(self, iprot):
-
 
8145
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8146
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8147
      return
-
 
8148
    iprot.readStructBegin()
-
 
8149
    while True:
-
 
8150
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8151
      if ftype == TType.STOP:
-
 
8152
        break
-
 
8153
      else:
-
 
8154
        iprot.skip(ftype)
-
 
8155
      iprot.readFieldEnd()
-
 
8156
    iprot.readStructEnd()
-
 
8157
 
-
 
8158
  def write(self, oprot):
-
 
8159
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8160
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8161
      return
-
 
8162
    oprot.writeStructBegin('getAllIgnoredInventoryupdateItemsCount_args')
-
 
8163
    oprot.writeFieldStop()
-
 
8164
    oprot.writeStructEnd()
-
 
8165
 
-
 
8166
  def validate(self):
-
 
8167
    return
-
 
8168
 
-
 
8169
 
-
 
8170
  def __repr__(self):
-
 
8171
    L = ['%s=%r' % (key, value)
-
 
8172
      for key, value in self.__dict__.iteritems()]
-
 
8173
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8174
 
-
 
8175
  def __eq__(self, other):
-
 
8176
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8177
 
-
 
8178
  def __ne__(self, other):
-
 
8179
    return not (self == other)
-
 
8180
 
-
 
8181
class getAllIgnoredInventoryupdateItemsCount_result:
-
 
8182
  """
-
 
8183
  Attributes:
-
 
8184
   - success
-
 
8185
  """
-
 
8186
 
-
 
8187
  thrift_spec = (
-
 
8188
    (0, TType.I32, 'success', None, None, ), # 0
-
 
8189
  )
-
 
8190
 
-
 
8191
  def __init__(self, success=None,):
-
 
8192
    self.success = success
-
 
8193
 
-
 
8194
  def read(self, iprot):
-
 
8195
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8196
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8197
      return
-
 
8198
    iprot.readStructBegin()
-
 
8199
    while True:
-
 
8200
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8201
      if ftype == TType.STOP:
-
 
8202
        break
-
 
8203
      if fid == 0:
-
 
8204
        if ftype == TType.I32:
-
 
8205
          self.success = iprot.readI32();
-
 
8206
        else:
-
 
8207
          iprot.skip(ftype)
-
 
8208
      else:
-
 
8209
        iprot.skip(ftype)
-
 
8210
      iprot.readFieldEnd()
-
 
8211
    iprot.readStructEnd()
-
 
8212
 
-
 
8213
  def write(self, oprot):
-
 
8214
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8215
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8216
      return
-
 
8217
    oprot.writeStructBegin('getAllIgnoredInventoryupdateItemsCount_result')
-
 
8218
    if self.success is not None:
-
 
8219
      oprot.writeFieldBegin('success', TType.I32, 0)
-
 
8220
      oprot.writeI32(self.success)
-
 
8221
      oprot.writeFieldEnd()
-
 
8222
    oprot.writeFieldStop()
-
 
8223
    oprot.writeStructEnd()
-
 
8224
 
-
 
8225
  def validate(self):
-
 
8226
    return
-
 
8227
 
-
 
8228
 
-
 
8229
  def __repr__(self):
-
 
8230
    L = ['%s=%r' % (key, value)
-
 
8231
      for key, value in self.__dict__.iteritems()]
-
 
8232
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8233
 
-
 
8234
  def __eq__(self, other):
-
 
8235
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8236
 
-
 
8237
  def __ne__(self, other):
-
 
8238
    return not (self == other)
-
 
8239
 
-
 
8240
class getIgnoredInventoryUpdateItemids_args:
-
 
8241
  """
-
 
8242
  Attributes:
-
 
8243
   - offset
-
 
8244
   - limit
-
 
8245
  """
-
 
8246
 
-
 
8247
  thrift_spec = (
-
 
8248
    None, # 0
-
 
8249
    (1, TType.I32, 'offset', None, None, ), # 1
-
 
8250
    (2, TType.I32, 'limit', None, None, ), # 2
-
 
8251
  )
-
 
8252
 
-
 
8253
  def __init__(self, offset=None, limit=None,):
-
 
8254
    self.offset = offset
-
 
8255
    self.limit = limit
-
 
8256
 
-
 
8257
  def read(self, iprot):
-
 
8258
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8259
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8260
      return
-
 
8261
    iprot.readStructBegin()
-
 
8262
    while True:
-
 
8263
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8264
      if ftype == TType.STOP:
-
 
8265
        break
-
 
8266
      if fid == 1:
-
 
8267
        if ftype == TType.I32:
-
 
8268
          self.offset = iprot.readI32();
-
 
8269
        else:
-
 
8270
          iprot.skip(ftype)
-
 
8271
      elif fid == 2:
-
 
8272
        if ftype == TType.I32:
-
 
8273
          self.limit = iprot.readI32();
-
 
8274
        else:
-
 
8275
          iprot.skip(ftype)
-
 
8276
      else:
-
 
8277
        iprot.skip(ftype)
-
 
8278
      iprot.readFieldEnd()
-
 
8279
    iprot.readStructEnd()
-
 
8280
 
-
 
8281
  def write(self, oprot):
-
 
8282
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8283
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8284
      return
-
 
8285
    oprot.writeStructBegin('getIgnoredInventoryUpdateItemids_args')
-
 
8286
    if self.offset is not None:
-
 
8287
      oprot.writeFieldBegin('offset', TType.I32, 1)
-
 
8288
      oprot.writeI32(self.offset)
-
 
8289
      oprot.writeFieldEnd()
-
 
8290
    if self.limit is not None:
-
 
8291
      oprot.writeFieldBegin('limit', TType.I32, 2)
-
 
8292
      oprot.writeI32(self.limit)
-
 
8293
      oprot.writeFieldEnd()
-
 
8294
    oprot.writeFieldStop()
-
 
8295
    oprot.writeStructEnd()
-
 
8296
 
-
 
8297
  def validate(self):
-
 
8298
    return
-
 
8299
 
-
 
8300
 
-
 
8301
  def __repr__(self):
-
 
8302
    L = ['%s=%r' % (key, value)
-
 
8303
      for key, value in self.__dict__.iteritems()]
-
 
8304
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
-
 
8305
 
-
 
8306
  def __eq__(self, other):
-
 
8307
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
-
 
8308
 
-
 
8309
  def __ne__(self, other):
-
 
8310
    return not (self == other)
-
 
8311
 
-
 
8312
class getIgnoredInventoryUpdateItemids_result:
-
 
8313
  """
-
 
8314
  Attributes:
-
 
8315
   - success
-
 
8316
  """
-
 
8317
 
-
 
8318
  thrift_spec = (
-
 
8319
    (0, TType.LIST, 'success', (TType.I64,None), None, ), # 0
-
 
8320
  )
-
 
8321
 
-
 
8322
  def __init__(self, success=None,):
-
 
8323
    self.success = success
-
 
8324
 
-
 
8325
  def read(self, iprot):
-
 
8326
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
-
 
8327
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
-
 
8328
      return
-
 
8329
    iprot.readStructBegin()
-
 
8330
    while True:
-
 
8331
      (fname, ftype, fid) = iprot.readFieldBegin()
-
 
8332
      if ftype == TType.STOP:
-
 
8333
        break
-
 
8334
      if fid == 0:
-
 
8335
        if ftype == TType.LIST:
-
 
8336
          self.success = []
-
 
8337
          (_etype180, _size177) = iprot.readListBegin()
-
 
8338
          for _i181 in xrange(_size177):
-
 
8339
            _elem182 = iprot.readI64();
-
 
8340
            self.success.append(_elem182)
-
 
8341
          iprot.readListEnd()
-
 
8342
        else:
-
 
8343
          iprot.skip(ftype)
-
 
8344
      else:
-
 
8345
        iprot.skip(ftype)
-
 
8346
      iprot.readFieldEnd()
-
 
8347
    iprot.readStructEnd()
-
 
8348
 
-
 
8349
  def write(self, oprot):
-
 
8350
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
-
 
8351
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
-
 
8352
      return
-
 
8353
    oprot.writeStructBegin('getIgnoredInventoryUpdateItemids_result')
-
 
8354
    if self.success is not None:
-
 
8355
      oprot.writeFieldBegin('success', TType.LIST, 0)
-
 
8356
      oprot.writeListBegin(TType.I64, len(self.success))
-
 
8357
      for iter183 in self.success:
-
 
8358
        oprot.writeI64(iter183)
-
 
8359
      oprot.writeListEnd()
-
 
8360
      oprot.writeFieldEnd()
-
 
8361
    oprot.writeFieldStop()
-
 
8362
    oprot.writeStructEnd()
-
 
8363
 
-
 
8364
  def validate(self):
7333
    return
8365
    return
7334
 
8366
 
7335
 
8367
 
7336
  def __repr__(self):
8368
  def __repr__(self):
7337
    L = ['%s=%r' % (key, value)
8369
    L = ['%s=%r' % (key, value)