Subversion Repositories SmartDukaan

Rev

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

Rev 3206 Rev 3374
Line 23... Line 23...
23
import org.apache.thrift.meta_data.*;
23
import org.apache.thrift.meta_data.*;
24
import org.apache.thrift.protocol.*;
24
import org.apache.thrift.protocol.*;
25
 
25
 
26
public class HelperService {
26
public class HelperService {
27
 
27
 
28
  public interface Iface {
-
 
29
 
-
 
30
    /**
-
 
31
     * For closing the open session in sqlalchemy
-
 
32
     */
-
 
33
    public void closeSession() throws TException;
28
  public interface Iface extends in.shop2020.generic.GenericService.Iface {
34
 
29
 
35
    /**
30
    /**
36
     * Save email details, to be sent later; Also returns its identifier.
31
     * Save email details, to be sent later; Also returns its identifier.
37
     * 
32
     * 
38
     * @param emailTo
33
     * @param emailTo
Line 134... Line 129...
134
     */
129
     */
135
    public CatalogDashboardUser authenticateCatalogUser(String username, String password, long role) throws HelperServiceException, TException;
130
    public CatalogDashboardUser authenticateCatalogUser(String username, String password, long role) throws HelperServiceException, TException;
136
 
131
 
137
  }
132
  }
138
 
133
 
139
  public static class Client implements Iface {
134
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
140
    public Client(TProtocol prot)
135
    public Client(TProtocol prot)
141
    {
136
    {
142
      this(prot, prot);
137
      this(prot, prot);
143
    }
138
    }
144
 
139
 
145
    public Client(TProtocol iprot, TProtocol oprot)
140
    public Client(TProtocol iprot, TProtocol oprot)
146
    {
141
    {
147
      iprot_ = iprot;
-
 
148
      oprot_ = oprot;
142
      super(iprot, oprot);
149
    }
-
 
150
 
-
 
151
    protected TProtocol iprot_;
-
 
152
    protected TProtocol oprot_;
-
 
153
 
-
 
154
    protected int seqid_;
-
 
155
 
-
 
156
    public TProtocol getInputProtocol()
-
 
157
    {
-
 
158
      return this.iprot_;
-
 
159
    }
-
 
160
 
-
 
161
    public TProtocol getOutputProtocol()
-
 
162
    {
-
 
163
      return this.oprot_;
-
 
164
    }
-
 
165
 
-
 
166
    public void closeSession() throws TException
-
 
167
    {
-
 
168
      send_closeSession();
-
 
169
      recv_closeSession();
-
 
170
    }
-
 
171
 
-
 
172
    public void send_closeSession() throws TException
-
 
173
    {
-
 
174
      oprot_.writeMessageBegin(new TMessage("closeSession", TMessageType.CALL, seqid_));
-
 
175
      closeSession_args args = new closeSession_args();
-
 
176
      args.write(oprot_);
-
 
177
      oprot_.writeMessageEnd();
-
 
178
      oprot_.getTransport().flush();
-
 
179
    }
-
 
180
 
-
 
181
    public void recv_closeSession() throws TException
-
 
182
    {
-
 
183
      TMessage msg = iprot_.readMessageBegin();
-
 
184
      if (msg.type == TMessageType.EXCEPTION) {
-
 
185
        TApplicationException x = TApplicationException.read(iprot_);
-
 
186
        iprot_.readMessageEnd();
-
 
187
        throw x;
-
 
188
      }
-
 
189
      closeSession_result result = new closeSession_result();
-
 
190
      result.read(iprot_);
-
 
191
      iprot_.readMessageEnd();
-
 
192
      return;
-
 
193
    }
143
    }
194
 
144
 
195
    public long saveUserEmailForSending(String emailTo, String emailFrom, String subject, String body, String source, String emailType) throws HelperServiceException, TException
145
    public long saveUserEmailForSending(String emailTo, String emailFrom, String subject, String body, String source, String emailType) throws HelperServiceException, TException
196
    {
146
    {
197
      send_saveUserEmailForSending(emailTo, emailFrom, subject, body, source, emailType);
147
      send_saveUserEmailForSending(emailTo, emailFrom, subject, body, source, emailType);
Line 837... Line 787...
837
      }
787
      }
838
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "authenticateCatalogUser failed: unknown result");
788
      throw new TApplicationException(TApplicationException.MISSING_RESULT, "authenticateCatalogUser failed: unknown result");
839
    }
789
    }
840
 
790
 
841
  }
791
  }
842
  public static class Processor implements TProcessor {
792
  public static class Processor extends in.shop2020.generic.GenericService.Processor implements TProcessor {
843
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
793
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
844
    public Processor(Iface iface)
794
    public Processor(Iface iface)
845
    {
795
    {
-
 
796
      super(iface);
846
      iface_ = iface;
797
      iface_ = iface;
847
      processMap_.put("closeSession", new closeSession());
-
 
848
      processMap_.put("saveUserEmailForSending", new saveUserEmailForSending());
798
      processMap_.put("saveUserEmailForSending", new saveUserEmailForSending());
849
      processMap_.put("getEmailsToBeSent", new getEmailsToBeSent());
799
      processMap_.put("getEmailsToBeSent", new getEmailsToBeSent());
850
      processMap_.put("markEmailAsSent", new markEmailAsSent());
800
      processMap_.put("markEmailAsSent", new markEmailAsSent());
851
      processMap_.put("sendMail", new sendMail());
801
      processMap_.put("sendMail", new sendMail());
852
      processMap_.put("sendText", new sendText());
802
      processMap_.put("sendText", new sendText());
Line 863... Line 813...
863
      processMap_.put("authenticateReportUser", new authenticateReportUser());
813
      processMap_.put("authenticateReportUser", new authenticateReportUser());
864
      processMap_.put("getReports", new getReports());
814
      processMap_.put("getReports", new getReports());
865
      processMap_.put("authenticateCatalogUser", new authenticateCatalogUser());
815
      processMap_.put("authenticateCatalogUser", new authenticateCatalogUser());
866
    }
816
    }
867
 
817
 
868
    protected static interface ProcessFunction {
-
 
869
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException;
-
 
870
    }
-
 
871
 
-
 
872
    private Iface iface_;
818
    private Iface iface_;
873
    protected final HashMap<String,ProcessFunction> processMap_ = new HashMap<String,ProcessFunction>();
-
 
874
 
819
 
875
    public boolean process(TProtocol iprot, TProtocol oprot) throws TException
820
    public boolean process(TProtocol iprot, TProtocol oprot) throws TException
876
    {
821
    {
877
      TMessage msg = iprot.readMessageBegin();
822
      TMessage msg = iprot.readMessageBegin();
878
      ProcessFunction fn = processMap_.get(msg.name);
823
      ProcessFunction fn = processMap_.get(msg.name);
Line 888... Line 833...
888
      }
833
      }
889
      fn.process(msg.seqid, iprot, oprot);
834
      fn.process(msg.seqid, iprot, oprot);
890
      return true;
835
      return true;
891
    }
836
    }
892
 
837
 
893
    private class closeSession implements ProcessFunction {
-
 
894
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
-
 
895
      {
-
 
896
        closeSession_args args = new closeSession_args();
-
 
897
        args.read(iprot);
-
 
898
        iprot.readMessageEnd();
-
 
899
        closeSession_result result = new closeSession_result();
-
 
900
        iface_.closeSession();
-
 
901
        oprot.writeMessageBegin(new TMessage("closeSession", TMessageType.REPLY, seqid));
-
 
902
        result.write(oprot);
-
 
903
        oprot.writeMessageEnd();
-
 
904
        oprot.getTransport().flush();
-
 
905
      }
-
 
906
 
-
 
907
    }
-
 
908
 
-
 
909
    private class saveUserEmailForSending implements ProcessFunction {
838
    private class saveUserEmailForSending implements ProcessFunction {
910
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
839
      public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException
911
      {
840
      {
912
        saveUserEmailForSending_args args = new saveUserEmailForSending_args();
841
        saveUserEmailForSending_args args = new saveUserEmailForSending_args();
913
        args.read(iprot);
842
        args.read(iprot);
Line 1402... Line 1331...
1402
 
1331
 
1403
    }
1332
    }
1404
 
1333
 
1405
  }
1334
  }
1406
 
1335
 
1407
  public static class closeSession_args implements TBase<closeSession_args._Fields>, java.io.Serializable, Cloneable, Comparable<closeSession_args>   {
-
 
1408
    private static final TStruct STRUCT_DESC = new TStruct("closeSession_args");
-
 
1409
 
-
 
1410
 
-
 
1411
 
-
 
1412
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
1413
    public enum _Fields implements TFieldIdEnum {
-
 
1414
;
-
 
1415
 
-
 
1416
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
1417
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
1418
 
-
 
1419
      static {
-
 
1420
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
1421
          byId.put((int)field._thriftId, field);
-
 
1422
          byName.put(field.getFieldName(), field);
-
 
1423
        }
-
 
1424
      }
-
 
1425
 
-
 
1426
      /**
-
 
1427
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
1428
       */
-
 
1429
      public static _Fields findByThriftId(int fieldId) {
-
 
1430
        return byId.get(fieldId);
-
 
1431
      }
-
 
1432
 
-
 
1433
      /**
-
 
1434
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
1435
       * if it is not found.
-
 
1436
       */
-
 
1437
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
1438
        _Fields fields = findByThriftId(fieldId);
-
 
1439
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
1440
        return fields;
-
 
1441
      }
-
 
1442
 
-
 
1443
      /**
-
 
1444
       * Find the _Fields constant that matches name, or null if its not found.
-
 
1445
       */
-
 
1446
      public static _Fields findByName(String name) {
-
 
1447
        return byName.get(name);
-
 
1448
      }
-
 
1449
 
-
 
1450
      private final short _thriftId;
-
 
1451
      private final String _fieldName;
-
 
1452
 
-
 
1453
      _Fields(short thriftId, String fieldName) {
-
 
1454
        _thriftId = thriftId;
-
 
1455
        _fieldName = fieldName;
-
 
1456
      }
-
 
1457
 
-
 
1458
      public short getThriftFieldId() {
-
 
1459
        return _thriftId;
-
 
1460
      }
-
 
1461
 
-
 
1462
      public String getFieldName() {
-
 
1463
        return _fieldName;
-
 
1464
      }
-
 
1465
    }
-
 
1466
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
1467
    }});
-
 
1468
 
-
 
1469
    static {
-
 
1470
      FieldMetaData.addStructMetaDataMap(closeSession_args.class, metaDataMap);
-
 
1471
    }
-
 
1472
 
-
 
1473
    public closeSession_args() {
-
 
1474
    }
-
 
1475
 
-
 
1476
    /**
-
 
1477
     * Performs a deep copy on <i>other</i>.
-
 
1478
     */
-
 
1479
    public closeSession_args(closeSession_args other) {
-
 
1480
    }
-
 
1481
 
-
 
1482
    public closeSession_args deepCopy() {
-
 
1483
      return new closeSession_args(this);
-
 
1484
    }
-
 
1485
 
-
 
1486
    @Deprecated
-
 
1487
    public closeSession_args clone() {
-
 
1488
      return new closeSession_args(this);
-
 
1489
    }
-
 
1490
 
-
 
1491
    public void setFieldValue(_Fields field, Object value) {
-
 
1492
      switch (field) {
-
 
1493
      }
-
 
1494
    }
-
 
1495
 
-
 
1496
    public void setFieldValue(int fieldID, Object value) {
-
 
1497
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
1498
    }
-
 
1499
 
-
 
1500
    public Object getFieldValue(_Fields field) {
-
 
1501
      switch (field) {
-
 
1502
      }
-
 
1503
      throw new IllegalStateException();
-
 
1504
    }
-
 
1505
 
-
 
1506
    public Object getFieldValue(int fieldId) {
-
 
1507
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
1508
    }
-
 
1509
 
-
 
1510
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
1511
    public boolean isSet(_Fields field) {
-
 
1512
      switch (field) {
-
 
1513
      }
-
 
1514
      throw new IllegalStateException();
-
 
1515
    }
-
 
1516
 
-
 
1517
    public boolean isSet(int fieldID) {
-
 
1518
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
1519
    }
-
 
1520
 
-
 
1521
    @Override
-
 
1522
    public boolean equals(Object that) {
-
 
1523
      if (that == null)
-
 
1524
        return false;
-
 
1525
      if (that instanceof closeSession_args)
-
 
1526
        return this.equals((closeSession_args)that);
-
 
1527
      return false;
-
 
1528
    }
-
 
1529
 
-
 
1530
    public boolean equals(closeSession_args that) {
-
 
1531
      if (that == null)
-
 
1532
        return false;
-
 
1533
 
-
 
1534
      return true;
-
 
1535
    }
-
 
1536
 
-
 
1537
    @Override
-
 
1538
    public int hashCode() {
-
 
1539
      return 0;
-
 
1540
    }
-
 
1541
 
-
 
1542
    public int compareTo(closeSession_args other) {
-
 
1543
      if (!getClass().equals(other.getClass())) {
-
 
1544
        return getClass().getName().compareTo(other.getClass().getName());
-
 
1545
      }
-
 
1546
 
-
 
1547
      int lastComparison = 0;
-
 
1548
      closeSession_args typedOther = (closeSession_args)other;
-
 
1549
 
-
 
1550
      return 0;
-
 
1551
    }
-
 
1552
 
-
 
1553
    public void read(TProtocol iprot) throws TException {
-
 
1554
      TField field;
-
 
1555
      iprot.readStructBegin();
-
 
1556
      while (true)
-
 
1557
      {
-
 
1558
        field = iprot.readFieldBegin();
-
 
1559
        if (field.type == TType.STOP) { 
-
 
1560
          break;
-
 
1561
        }
-
 
1562
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
1563
        if (fieldId == null) {
-
 
1564
          TProtocolUtil.skip(iprot, field.type);
-
 
1565
        } else {
-
 
1566
          switch (fieldId) {
-
 
1567
          }
-
 
1568
          iprot.readFieldEnd();
-
 
1569
        }
-
 
1570
      }
-
 
1571
      iprot.readStructEnd();
-
 
1572
      validate();
-
 
1573
    }
-
 
1574
 
-
 
1575
    public void write(TProtocol oprot) throws TException {
-
 
1576
      validate();
-
 
1577
 
-
 
1578
      oprot.writeStructBegin(STRUCT_DESC);
-
 
1579
      oprot.writeFieldStop();
-
 
1580
      oprot.writeStructEnd();
-
 
1581
    }
-
 
1582
 
-
 
1583
    @Override
-
 
1584
    public String toString() {
-
 
1585
      StringBuilder sb = new StringBuilder("closeSession_args(");
-
 
1586
      boolean first = true;
-
 
1587
 
-
 
1588
      sb.append(")");
-
 
1589
      return sb.toString();
-
 
1590
    }
-
 
1591
 
-
 
1592
    public void validate() throws TException {
-
 
1593
      // check for required fields
-
 
1594
    }
-
 
1595
 
-
 
1596
  }
-
 
1597
 
-
 
1598
  public static class closeSession_result implements TBase<closeSession_result._Fields>, java.io.Serializable, Cloneable, Comparable<closeSession_result>   {
-
 
1599
    private static final TStruct STRUCT_DESC = new TStruct("closeSession_result");
-
 
1600
 
-
 
1601
 
-
 
1602
 
-
 
1603
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
1604
    public enum _Fields implements TFieldIdEnum {
-
 
1605
;
-
 
1606
 
-
 
1607
      private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
1608
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
1609
 
-
 
1610
      static {
-
 
1611
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
1612
          byId.put((int)field._thriftId, field);
-
 
1613
          byName.put(field.getFieldName(), field);
-
 
1614
        }
-
 
1615
      }
-
 
1616
 
-
 
1617
      /**
-
 
1618
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
1619
       */
-
 
1620
      public static _Fields findByThriftId(int fieldId) {
-
 
1621
        return byId.get(fieldId);
-
 
1622
      }
-
 
1623
 
-
 
1624
      /**
-
 
1625
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
1626
       * if it is not found.
-
 
1627
       */
-
 
1628
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
1629
        _Fields fields = findByThriftId(fieldId);
-
 
1630
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
1631
        return fields;
-
 
1632
      }
-
 
1633
 
-
 
1634
      /**
-
 
1635
       * Find the _Fields constant that matches name, or null if its not found.
-
 
1636
       */
-
 
1637
      public static _Fields findByName(String name) {
-
 
1638
        return byName.get(name);
-
 
1639
      }
-
 
1640
 
-
 
1641
      private final short _thriftId;
-
 
1642
      private final String _fieldName;
-
 
1643
 
-
 
1644
      _Fields(short thriftId, String fieldName) {
-
 
1645
        _thriftId = thriftId;
-
 
1646
        _fieldName = fieldName;
-
 
1647
      }
-
 
1648
 
-
 
1649
      public short getThriftFieldId() {
-
 
1650
        return _thriftId;
-
 
1651
      }
-
 
1652
 
-
 
1653
      public String getFieldName() {
-
 
1654
        return _fieldName;
-
 
1655
      }
-
 
1656
    }
-
 
1657
    public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
-
 
1658
    }});
-
 
1659
 
-
 
1660
    static {
-
 
1661
      FieldMetaData.addStructMetaDataMap(closeSession_result.class, metaDataMap);
-
 
1662
    }
-
 
1663
 
-
 
1664
    public closeSession_result() {
-
 
1665
    }
-
 
1666
 
-
 
1667
    /**
-
 
1668
     * Performs a deep copy on <i>other</i>.
-
 
1669
     */
-
 
1670
    public closeSession_result(closeSession_result other) {
-
 
1671
    }
-
 
1672
 
-
 
1673
    public closeSession_result deepCopy() {
-
 
1674
      return new closeSession_result(this);
-
 
1675
    }
-
 
1676
 
-
 
1677
    @Deprecated
-
 
1678
    public closeSession_result clone() {
-
 
1679
      return new closeSession_result(this);
-
 
1680
    }
-
 
1681
 
-
 
1682
    public void setFieldValue(_Fields field, Object value) {
-
 
1683
      switch (field) {
-
 
1684
      }
-
 
1685
    }
-
 
1686
 
-
 
1687
    public void setFieldValue(int fieldID, Object value) {
-
 
1688
      setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
1689
    }
-
 
1690
 
-
 
1691
    public Object getFieldValue(_Fields field) {
-
 
1692
      switch (field) {
-
 
1693
      }
-
 
1694
      throw new IllegalStateException();
-
 
1695
    }
-
 
1696
 
-
 
1697
    public Object getFieldValue(int fieldId) {
-
 
1698
      return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
1699
    }
-
 
1700
 
-
 
1701
    /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
-
 
1702
    public boolean isSet(_Fields field) {
-
 
1703
      switch (field) {
-
 
1704
      }
-
 
1705
      throw new IllegalStateException();
-
 
1706
    }
-
 
1707
 
-
 
1708
    public boolean isSet(int fieldID) {
-
 
1709
      return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
1710
    }
-
 
1711
 
-
 
1712
    @Override
-
 
1713
    public boolean equals(Object that) {
-
 
1714
      if (that == null)
-
 
1715
        return false;
-
 
1716
      if (that instanceof closeSession_result)
-
 
1717
        return this.equals((closeSession_result)that);
-
 
1718
      return false;
-
 
1719
    }
-
 
1720
 
-
 
1721
    public boolean equals(closeSession_result that) {
-
 
1722
      if (that == null)
-
 
1723
        return false;
-
 
1724
 
-
 
1725
      return true;
-
 
1726
    }
-
 
1727
 
-
 
1728
    @Override
-
 
1729
    public int hashCode() {
-
 
1730
      return 0;
-
 
1731
    }
-
 
1732
 
-
 
1733
    public int compareTo(closeSession_result other) {
-
 
1734
      if (!getClass().equals(other.getClass())) {
-
 
1735
        return getClass().getName().compareTo(other.getClass().getName());
-
 
1736
      }
-
 
1737
 
-
 
1738
      int lastComparison = 0;
-
 
1739
      closeSession_result typedOther = (closeSession_result)other;
-
 
1740
 
-
 
1741
      return 0;
-
 
1742
    }
-
 
1743
 
-
 
1744
    public void read(TProtocol iprot) throws TException {
-
 
1745
      TField field;
-
 
1746
      iprot.readStructBegin();
-
 
1747
      while (true)
-
 
1748
      {
-
 
1749
        field = iprot.readFieldBegin();
-
 
1750
        if (field.type == TType.STOP) { 
-
 
1751
          break;
-
 
1752
        }
-
 
1753
        _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
1754
        if (fieldId == null) {
-
 
1755
          TProtocolUtil.skip(iprot, field.type);
-
 
1756
        } else {
-
 
1757
          switch (fieldId) {
-
 
1758
          }
-
 
1759
          iprot.readFieldEnd();
-
 
1760
        }
-
 
1761
      }
-
 
1762
      iprot.readStructEnd();
-
 
1763
      validate();
-
 
1764
    }
-
 
1765
 
-
 
1766
    public void write(TProtocol oprot) throws TException {
-
 
1767
      oprot.writeStructBegin(STRUCT_DESC);
-
 
1768
 
-
 
1769
      oprot.writeFieldStop();
-
 
1770
      oprot.writeStructEnd();
-
 
1771
    }
-
 
1772
 
-
 
1773
    @Override
-
 
1774
    public String toString() {
-
 
1775
      StringBuilder sb = new StringBuilder("closeSession_result(");
-
 
1776
      boolean first = true;
-
 
1777
 
-
 
1778
      sb.append(")");
-
 
1779
      return sb.toString();
-
 
1780
    }
-
 
1781
 
-
 
1782
    public void validate() throws TException {
-
 
1783
      // check for required fields
-
 
1784
    }
-
 
1785
 
-
 
1786
  }
-
 
1787
 
-
 
1788
  public static class saveUserEmailForSending_args implements TBase<saveUserEmailForSending_args._Fields>, java.io.Serializable, Cloneable, Comparable<saveUserEmailForSending_args>   {
1336
  public static class saveUserEmailForSending_args implements TBase<saveUserEmailForSending_args._Fields>, java.io.Serializable, Cloneable, Comparable<saveUserEmailForSending_args>   {
1789
    private static final TStruct STRUCT_DESC = new TStruct("saveUserEmailForSending_args");
1337
    private static final TStruct STRUCT_DESC = new TStruct("saveUserEmailForSending_args");
1790
 
1338
 
1791
    private static final TField EMAIL_TO_FIELD_DESC = new TField("emailTo", TType.STRING, (short)1);
1339
    private static final TField EMAIL_TO_FIELD_DESC = new TField("emailTo", TType.STRING, (short)1);
1792
    private static final TField EMAIL_FROM_FIELD_DESC = new TField("emailFrom", TType.STRING, (short)2);
1340
    private static final TField EMAIL_FROM_FIELD_DESC = new TField("emailFrom", TType.STRING, (short)2);