Subversion Repositories SmartDukaan

Rev

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

Rev 1982 Rev 2981
Line 2306... Line 2306...
2306
        } else {
2306
        } else {
2307
          switch (fieldId) {
2307
          switch (fieldId) {
2308
            case SUCCESS:
2308
            case SUCCESS:
2309
              if (field.type == TType.LIST) {
2309
              if (field.type == TType.LIST) {
2310
                {
2310
                {
2311
                  TList _list16 = iprot.readListBegin();
2311
                  TList _list12 = iprot.readListBegin();
2312
                  this.success = new ArrayList<Promotion>(_list16.size);
2312
                  this.success = new ArrayList<Promotion>(_list12.size);
2313
                  for (int _i17 = 0; _i17 < _list16.size; ++_i17)
2313
                  for (int _i13 = 0; _i13 < _list12.size; ++_i13)
2314
                  {
2314
                  {
2315
                    Promotion _elem18;
2315
                    Promotion _elem14;
2316
                    _elem18 = new Promotion();
2316
                    _elem14 = new Promotion();
2317
                    _elem18.read(iprot);
2317
                    _elem14.read(iprot);
2318
                    this.success.add(_elem18);
2318
                    this.success.add(_elem14);
2319
                  }
2319
                  }
2320
                  iprot.readListEnd();
2320
                  iprot.readListEnd();
2321
                }
2321
                }
2322
              } else { 
2322
              } else { 
2323
                TProtocolUtil.skip(iprot, field.type);
2323
                TProtocolUtil.skip(iprot, field.type);
Line 2344... Line 2344...
2344
 
2344
 
2345
      if (this.isSetSuccess()) {
2345
      if (this.isSetSuccess()) {
2346
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
2346
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
2347
        {
2347
        {
2348
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
2348
          oprot.writeListBegin(new TList(TType.STRUCT, this.success.size()));
2349
          for (Promotion _iter19 : this.success)
2349
          for (Promotion _iter15 : this.success)
2350
          {
2350
          {
2351
            _iter19.write(oprot);
2351
            _iter15.write(oprot);
2352
          }
2352
          }
2353
          oprot.writeListEnd();
2353
          oprot.writeListEnd();
2354
        }
2354
        }
2355
        oprot.writeFieldEnd();
2355
        oprot.writeFieldEnd();
2356
      } else if (this.isSetPex()) {
2356
      } else if (this.isSetPex()) {