Subversion Repositories SmartDukaan

Rev

Rev 18634 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 18634 Rev 18674
Line 31... Line 31...
31
  private static final org.apache.thrift.protocol.TField CREDIT_BLOCKED_FIELD_DESC = new org.apache.thrift.protocol.TField("credit_blocked", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
31
  private static final org.apache.thrift.protocol.TField CREDIT_BLOCKED_FIELD_DESC = new org.apache.thrift.protocol.TField("credit_blocked", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
32
  private static final org.apache.thrift.protocol.TField LOAN_FIELD_DESC = new org.apache.thrift.protocol.TField("loan", org.apache.thrift.protocol.TType.DOUBLE, (short)7);
32
  private static final org.apache.thrift.protocol.TField LOAN_FIELD_DESC = new org.apache.thrift.protocol.TField("loan", org.apache.thrift.protocol.TType.DOUBLE, (short)7);
33
  private static final org.apache.thrift.protocol.TField ACTIVE_FIELD_DESC = new org.apache.thrift.protocol.TField("active", org.apache.thrift.protocol.TType.BOOL, (short)8);
33
  private static final org.apache.thrift.protocol.TField ACTIVE_FIELD_DESC = new org.apache.thrift.protocol.TField("active", org.apache.thrift.protocol.TType.BOOL, (short)8);
34
  private static final org.apache.thrift.protocol.TField CREATED_FIELD_DESC = new org.apache.thrift.protocol.TField("created", org.apache.thrift.protocol.TType.I64, (short)9);
34
  private static final org.apache.thrift.protocol.TField CREATED_FIELD_DESC = new org.apache.thrift.protocol.TField("created", org.apache.thrift.protocol.TType.I64, (short)9);
35
  private static final org.apache.thrift.protocol.TField UPDATED_FIELD_DESC = new org.apache.thrift.protocol.TField("updated", org.apache.thrift.protocol.TType.I64, (short)10);
35
  private static final org.apache.thrift.protocol.TField UPDATED_FIELD_DESC = new org.apache.thrift.protocol.TField("updated", org.apache.thrift.protocol.TType.I64, (short)10);
-
 
36
  private static final org.apache.thrift.protocol.TField TICKET_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("ticket_size", org.apache.thrift.protocol.TType.DOUBLE, (short)11);
-
 
37
  private static final org.apache.thrift.protocol.TField CREDIT_DUE_DAYS_FIELD_DESC = new org.apache.thrift.protocol.TField("credit_due_days", org.apache.thrift.protocol.TType.I64, (short)12);
36
 
38
 
37
  private long id; // required
39
  private long id; // required
38
  private long user_id; // required
40
  private long user_id; // required
39
  private long creditor_id; // required
41
  private long creditor_id; // required
40
  private String user_ref_id; // required
42
  private String user_ref_id; // required
Line 42... Line 44...
42
  private double credit_blocked; // required
44
  private double credit_blocked; // required
43
  private double loan; // required
45
  private double loan; // required
44
  private boolean active; // required
46
  private boolean active; // required
45
  private long created; // required
47
  private long created; // required
46
  private long updated; // required
48
  private long updated; // required
-
 
49
  private double ticket_size; // required
-
 
50
  private long credit_due_days; // required
47
 
51
 
48
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
52
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
49
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
53
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
50
    ID((short)1, "id"),
54
    ID((short)1, "id"),
51
    USER_ID((short)2, "user_id"),
55
    USER_ID((short)2, "user_id"),
Line 54... Line 58...
54
    CREDIT_LIMIT((short)5, "credit_limit"),
58
    CREDIT_LIMIT((short)5, "credit_limit"),
55
    CREDIT_BLOCKED((short)6, "credit_blocked"),
59
    CREDIT_BLOCKED((short)6, "credit_blocked"),
56
    LOAN((short)7, "loan"),
60
    LOAN((short)7, "loan"),
57
    ACTIVE((short)8, "active"),
61
    ACTIVE((short)8, "active"),
58
    CREATED((short)9, "created"),
62
    CREATED((short)9, "created"),
59
    UPDATED((short)10, "updated");
63
    UPDATED((short)10, "updated"),
-
 
64
    TICKET_SIZE((short)11, "ticket_size"),
-
 
65
    CREDIT_DUE_DAYS((short)12, "credit_due_days");
60
 
66
 
61
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
67
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
62
 
68
 
63
    static {
69
    static {
64
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
70
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 89... Line 95...
89
          return ACTIVE;
95
          return ACTIVE;
90
        case 9: // CREATED
96
        case 9: // CREATED
91
          return CREATED;
97
          return CREATED;
92
        case 10: // UPDATED
98
        case 10: // UPDATED
93
          return UPDATED;
99
          return UPDATED;
-
 
100
        case 11: // TICKET_SIZE
-
 
101
          return TICKET_SIZE;
-
 
102
        case 12: // CREDIT_DUE_DAYS
-
 
103
          return CREDIT_DUE_DAYS;
94
        default:
104
        default:
95
          return null;
105
          return null;
96
      }
106
      }
97
    }
107
    }
98
 
108
 
Line 138... Line 148...
138
  private static final int __CREDIT_BLOCKED_ISSET_ID = 4;
148
  private static final int __CREDIT_BLOCKED_ISSET_ID = 4;
139
  private static final int __LOAN_ISSET_ID = 5;
149
  private static final int __LOAN_ISSET_ID = 5;
140
  private static final int __ACTIVE_ISSET_ID = 6;
150
  private static final int __ACTIVE_ISSET_ID = 6;
141
  private static final int __CREATED_ISSET_ID = 7;
151
  private static final int __CREATED_ISSET_ID = 7;
142
  private static final int __UPDATED_ISSET_ID = 8;
152
  private static final int __UPDATED_ISSET_ID = 8;
-
 
153
  private static final int __TICKET_SIZE_ISSET_ID = 9;
-
 
154
  private static final int __CREDIT_DUE_DAYS_ISSET_ID = 10;
143
  private BitSet __isset_bit_vector = new BitSet(9);
155
  private BitSet __isset_bit_vector = new BitSet(11);
144
 
156
 
145
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
157
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
146
  static {
158
  static {
147
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
159
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
148
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
160
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 163... Line 175...
163
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
175
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
164
    tmpMap.put(_Fields.CREATED, new org.apache.thrift.meta_data.FieldMetaData("created", org.apache.thrift.TFieldRequirementType.DEFAULT, 
176
    tmpMap.put(_Fields.CREATED, new org.apache.thrift.meta_data.FieldMetaData("created", org.apache.thrift.TFieldRequirementType.DEFAULT, 
165
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
177
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
166
    tmpMap.put(_Fields.UPDATED, new org.apache.thrift.meta_data.FieldMetaData("updated", org.apache.thrift.TFieldRequirementType.DEFAULT, 
178
    tmpMap.put(_Fields.UPDATED, new org.apache.thrift.meta_data.FieldMetaData("updated", org.apache.thrift.TFieldRequirementType.DEFAULT, 
167
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
179
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
180
    tmpMap.put(_Fields.TICKET_SIZE, new org.apache.thrift.meta_data.FieldMetaData("ticket_size", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
181
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
182
    tmpMap.put(_Fields.CREDIT_DUE_DAYS, new org.apache.thrift.meta_data.FieldMetaData("credit_due_days", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
183
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
168
    metaDataMap = Collections.unmodifiableMap(tmpMap);
184
    metaDataMap = Collections.unmodifiableMap(tmpMap);
169
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(UserSanction.class, metaDataMap);
185
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(UserSanction.class, metaDataMap);
170
  }
186
  }
171
 
187
 
172
  public UserSanction() {
188
  public UserSanction() {
Line 180... Line 196...
180
    double credit_limit,
196
    double credit_limit,
181
    double credit_blocked,
197
    double credit_blocked,
182
    double loan,
198
    double loan,
183
    boolean active,
199
    boolean active,
184
    long created,
200
    long created,
185
    long updated)
201
    long updated,
-
 
202
    double ticket_size,
-
 
203
    long credit_due_days)
186
  {
204
  {
187
    this();
205
    this();
188
    this.id = id;
206
    this.id = id;
189
    setIdIsSet(true);
207
    setIdIsSet(true);
190
    this.user_id = user_id;
208
    this.user_id = user_id;
Line 202... Line 220...
202
    setActiveIsSet(true);
220
    setActiveIsSet(true);
203
    this.created = created;
221
    this.created = created;
204
    setCreatedIsSet(true);
222
    setCreatedIsSet(true);
205
    this.updated = updated;
223
    this.updated = updated;
206
    setUpdatedIsSet(true);
224
    setUpdatedIsSet(true);
-
 
225
    this.ticket_size = ticket_size;
-
 
226
    setTicket_sizeIsSet(true);
-
 
227
    this.credit_due_days = credit_due_days;
-
 
228
    setCredit_due_daysIsSet(true);
207
  }
229
  }
208
 
230
 
209
  /**
231
  /**
210
   * Performs a deep copy on <i>other</i>.
232
   * Performs a deep copy on <i>other</i>.
211
   */
233
   */
Line 222... Line 244...
222
    this.credit_blocked = other.credit_blocked;
244
    this.credit_blocked = other.credit_blocked;
223
    this.loan = other.loan;
245
    this.loan = other.loan;
224
    this.active = other.active;
246
    this.active = other.active;
225
    this.created = other.created;
247
    this.created = other.created;
226
    this.updated = other.updated;
248
    this.updated = other.updated;
-
 
249
    this.ticket_size = other.ticket_size;
-
 
250
    this.credit_due_days = other.credit_due_days;
227
  }
251
  }
228
 
252
 
229
  public UserSanction deepCopy() {
253
  public UserSanction deepCopy() {
230
    return new UserSanction(this);
254
    return new UserSanction(this);
231
  }
255
  }
Line 249... Line 273...
249
    this.active = false;
273
    this.active = false;
250
    setCreatedIsSet(false);
274
    setCreatedIsSet(false);
251
    this.created = 0;
275
    this.created = 0;
252
    setUpdatedIsSet(false);
276
    setUpdatedIsSet(false);
253
    this.updated = 0;
277
    this.updated = 0;
-
 
278
    setTicket_sizeIsSet(false);
-
 
279
    this.ticket_size = 0.0;
-
 
280
    setCredit_due_daysIsSet(false);
-
 
281
    this.credit_due_days = 0;
254
  }
282
  }
255
 
283
 
256
  public long getId() {
284
  public long getId() {
257
    return this.id;
285
    return this.id;
258
  }
286
  }
Line 472... Line 500...
472
 
500
 
473
  public void setUpdatedIsSet(boolean value) {
501
  public void setUpdatedIsSet(boolean value) {
474
    __isset_bit_vector.set(__UPDATED_ISSET_ID, value);
502
    __isset_bit_vector.set(__UPDATED_ISSET_ID, value);
475
  }
503
  }
476
 
504
 
-
 
505
  public double getTicket_size() {
-
 
506
    return this.ticket_size;
-
 
507
  }
-
 
508
 
-
 
509
  public void setTicket_size(double ticket_size) {
-
 
510
    this.ticket_size = ticket_size;
-
 
511
    setTicket_sizeIsSet(true);
-
 
512
  }
-
 
513
 
-
 
514
  public void unsetTicket_size() {
-
 
515
    __isset_bit_vector.clear(__TICKET_SIZE_ISSET_ID);
-
 
516
  }
-
 
517
 
-
 
518
  /** Returns true if field ticket_size is set (has been assigned a value) and false otherwise */
-
 
519
  public boolean isSetTicket_size() {
-
 
520
    return __isset_bit_vector.get(__TICKET_SIZE_ISSET_ID);
-
 
521
  }
-
 
522
 
-
 
523
  public void setTicket_sizeIsSet(boolean value) {
-
 
524
    __isset_bit_vector.set(__TICKET_SIZE_ISSET_ID, value);
-
 
525
  }
-
 
526
 
-
 
527
  public long getCredit_due_days() {
-
 
528
    return this.credit_due_days;
-
 
529
  }
-
 
530
 
-
 
531
  public void setCredit_due_days(long credit_due_days) {
-
 
532
    this.credit_due_days = credit_due_days;
-
 
533
    setCredit_due_daysIsSet(true);
-
 
534
  }
-
 
535
 
-
 
536
  public void unsetCredit_due_days() {
-
 
537
    __isset_bit_vector.clear(__CREDIT_DUE_DAYS_ISSET_ID);
-
 
538
  }
-
 
539
 
-
 
540
  /** Returns true if field credit_due_days is set (has been assigned a value) and false otherwise */
-
 
541
  public boolean isSetCredit_due_days() {
-
 
542
    return __isset_bit_vector.get(__CREDIT_DUE_DAYS_ISSET_ID);
-
 
543
  }
-
 
544
 
-
 
545
  public void setCredit_due_daysIsSet(boolean value) {
-
 
546
    __isset_bit_vector.set(__CREDIT_DUE_DAYS_ISSET_ID, value);
-
 
547
  }
-
 
548
 
477
  public void setFieldValue(_Fields field, Object value) {
549
  public void setFieldValue(_Fields field, Object value) {
478
    switch (field) {
550
    switch (field) {
479
    case ID:
551
    case ID:
480
      if (value == null) {
552
      if (value == null) {
481
        unsetId();
553
        unsetId();
Line 554... Line 626...
554
      } else {
626
      } else {
555
        setUpdated((Long)value);
627
        setUpdated((Long)value);
556
      }
628
      }
557
      break;
629
      break;
558
 
630
 
-
 
631
    case TICKET_SIZE:
-
 
632
      if (value == null) {
-
 
633
        unsetTicket_size();
-
 
634
      } else {
-
 
635
        setTicket_size((Double)value);
-
 
636
      }
-
 
637
      break;
-
 
638
 
-
 
639
    case CREDIT_DUE_DAYS:
-
 
640
      if (value == null) {
-
 
641
        unsetCredit_due_days();
-
 
642
      } else {
-
 
643
        setCredit_due_days((Long)value);
-
 
644
      }
-
 
645
      break;
-
 
646
 
559
    }
647
    }
560
  }
648
  }
561
 
649
 
562
  public Object getFieldValue(_Fields field) {
650
  public Object getFieldValue(_Fields field) {
563
    switch (field) {
651
    switch (field) {
Line 589... Line 677...
589
      return Long.valueOf(getCreated());
677
      return Long.valueOf(getCreated());
590
 
678
 
591
    case UPDATED:
679
    case UPDATED:
592
      return Long.valueOf(getUpdated());
680
      return Long.valueOf(getUpdated());
593
 
681
 
-
 
682
    case TICKET_SIZE:
-
 
683
      return Double.valueOf(getTicket_size());
-
 
684
 
-
 
685
    case CREDIT_DUE_DAYS:
-
 
686
      return Long.valueOf(getCredit_due_days());
-
 
687
 
594
    }
688
    }
595
    throw new IllegalStateException();
689
    throw new IllegalStateException();
596
  }
690
  }
597
 
691
 
598
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
692
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 620... Line 714...
620
      return isSetActive();
714
      return isSetActive();
621
    case CREATED:
715
    case CREATED:
622
      return isSetCreated();
716
      return isSetCreated();
623
    case UPDATED:
717
    case UPDATED:
624
      return isSetUpdated();
718
      return isSetUpdated();
-
 
719
    case TICKET_SIZE:
-
 
720
      return isSetTicket_size();
-
 
721
    case CREDIT_DUE_DAYS:
-
 
722
      return isSetCredit_due_days();
625
    }
723
    }
626
    throw new IllegalStateException();
724
    throw new IllegalStateException();
627
  }
725
  }
628
 
726
 
629
  @Override
727
  @Override
Line 727... Line 825...
727
        return false;
825
        return false;
728
      if (this.updated != that.updated)
826
      if (this.updated != that.updated)
729
        return false;
827
        return false;
730
    }
828
    }
731
 
829
 
-
 
830
    boolean this_present_ticket_size = true;
-
 
831
    boolean that_present_ticket_size = true;
-
 
832
    if (this_present_ticket_size || that_present_ticket_size) {
-
 
833
      if (!(this_present_ticket_size && that_present_ticket_size))
-
 
834
        return false;
-
 
835
      if (this.ticket_size != that.ticket_size)
-
 
836
        return false;
-
 
837
    }
-
 
838
 
-
 
839
    boolean this_present_credit_due_days = true;
-
 
840
    boolean that_present_credit_due_days = true;
-
 
841
    if (this_present_credit_due_days || that_present_credit_due_days) {
-
 
842
      if (!(this_present_credit_due_days && that_present_credit_due_days))
-
 
843
        return false;
-
 
844
      if (this.credit_due_days != that.credit_due_days)
-
 
845
        return false;
-
 
846
    }
-
 
847
 
732
    return true;
848
    return true;
733
  }
849
  }
734
 
850
 
735
  @Override
851
  @Override
736
  public int hashCode() {
852
  public int hashCode() {
Line 843... Line 959...
843
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updated, typedOther.updated);
959
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updated, typedOther.updated);
844
      if (lastComparison != 0) {
960
      if (lastComparison != 0) {
845
        return lastComparison;
961
        return lastComparison;
846
      }
962
      }
847
    }
963
    }
-
 
964
    lastComparison = Boolean.valueOf(isSetTicket_size()).compareTo(typedOther.isSetTicket_size());
-
 
965
    if (lastComparison != 0) {
-
 
966
      return lastComparison;
-
 
967
    }
-
 
968
    if (isSetTicket_size()) {
-
 
969
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticket_size, typedOther.ticket_size);
-
 
970
      if (lastComparison != 0) {
-
 
971
        return lastComparison;
-
 
972
      }
-
 
973
    }
-
 
974
    lastComparison = Boolean.valueOf(isSetCredit_due_days()).compareTo(typedOther.isSetCredit_due_days());
-
 
975
    if (lastComparison != 0) {
-
 
976
      return lastComparison;
-
 
977
    }
-
 
978
    if (isSetCredit_due_days()) {
-
 
979
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credit_due_days, typedOther.credit_due_days);
-
 
980
      if (lastComparison != 0) {
-
 
981
        return lastComparison;
-
 
982
      }
-
 
983
    }
848
    return 0;
984
    return 0;
849
  }
985
  }
850
 
986
 
851
  public _Fields fieldForId(int fieldId) {
987
  public _Fields fieldForId(int fieldId) {
852
    return _Fields.findByThriftId(fieldId);
988
    return _Fields.findByThriftId(fieldId);
Line 939... Line 1075...
939
            setUpdatedIsSet(true);
1075
            setUpdatedIsSet(true);
940
          } else { 
1076
          } else { 
941
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1077
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
942
          }
1078
          }
943
          break;
1079
          break;
-
 
1080
        case 11: // TICKET_SIZE
-
 
1081
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
1082
            this.ticket_size = iprot.readDouble();
-
 
1083
            setTicket_sizeIsSet(true);
-
 
1084
          } else { 
-
 
1085
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1086
          }
-
 
1087
          break;
-
 
1088
        case 12: // CREDIT_DUE_DAYS
-
 
1089
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
1090
            this.credit_due_days = iprot.readI64();
-
 
1091
            setCredit_due_daysIsSet(true);
-
 
1092
          } else { 
-
 
1093
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1094
          }
-
 
1095
          break;
944
        default:
1096
        default:
945
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1097
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
946
      }
1098
      }
947
      iprot.readFieldEnd();
1099
      iprot.readFieldEnd();
948
    }
1100
    }
Line 984... Line 1136...
984
    oprot.writeI64(this.created);
1136
    oprot.writeI64(this.created);
985
    oprot.writeFieldEnd();
1137
    oprot.writeFieldEnd();
986
    oprot.writeFieldBegin(UPDATED_FIELD_DESC);
1138
    oprot.writeFieldBegin(UPDATED_FIELD_DESC);
987
    oprot.writeI64(this.updated);
1139
    oprot.writeI64(this.updated);
988
    oprot.writeFieldEnd();
1140
    oprot.writeFieldEnd();
-
 
1141
    oprot.writeFieldBegin(TICKET_SIZE_FIELD_DESC);
-
 
1142
    oprot.writeDouble(this.ticket_size);
-
 
1143
    oprot.writeFieldEnd();
-
 
1144
    oprot.writeFieldBegin(CREDIT_DUE_DAYS_FIELD_DESC);
-
 
1145
    oprot.writeI64(this.credit_due_days);
-
 
1146
    oprot.writeFieldEnd();
989
    oprot.writeFieldStop();
1147
    oprot.writeFieldStop();
990
    oprot.writeStructEnd();
1148
    oprot.writeStructEnd();
991
  }
1149
  }
992
 
1150
 
993
  @Override
1151
  @Override
Line 1036... Line 1194...
1036
    first = false;
1194
    first = false;
1037
    if (!first) sb.append(", ");
1195
    if (!first) sb.append(", ");
1038
    sb.append("updated:");
1196
    sb.append("updated:");
1039
    sb.append(this.updated);
1197
    sb.append(this.updated);
1040
    first = false;
1198
    first = false;
-
 
1199
    if (!first) sb.append(", ");
-
 
1200
    sb.append("ticket_size:");
-
 
1201
    sb.append(this.ticket_size);
-
 
1202
    first = false;
-
 
1203
    if (!first) sb.append(", ");
-
 
1204
    sb.append("credit_due_days:");
-
 
1205
    sb.append(this.credit_due_days);
-
 
1206
    first = false;
1041
    sb.append(")");
1207
    sb.append(")");
1042
    return sb.toString();
1208
    return sb.toString();
1043
  }
1209
  }
1044
 
1210
 
1045
  public void validate() throws org.apache.thrift.TException {
1211
  public void validate() throws org.apache.thrift.TException {