Subversion Repositories SmartDukaan

Rev

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

Rev 3499 Rev 3853
Line 195... Line 195...
195
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
195
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
196
    tmpMap.put(_Fields.DATE_OF_BIRTH, new org.apache.thrift.meta_data.FieldMetaData("dateOfBirth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
196
    tmpMap.put(_Fields.DATE_OF_BIRTH, new org.apache.thrift.meta_data.FieldMetaData("dateOfBirth", org.apache.thrift.TFieldRequirementType.DEFAULT, 
197
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
197
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
198
    tmpMap.put(_Fields.SEX, new org.apache.thrift.meta_data.FieldMetaData("sex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
198
    tmpMap.put(_Fields.SEX, new org.apache.thrift.meta_data.FieldMetaData("sex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
199
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, Sex.class)));
199
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, Sex.class)));
200
    tmpMap.put(_Fields.MOBILE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("mobileNumber", org.apache.thrift.TFieldRequirementType.DEFAULT, 
200
    tmpMap.put(_Fields.MOBILE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("mobileNumber", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
201
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
201
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
202
    tmpMap.put(_Fields.SOCIAL_HANDLES, new org.apache.thrift.meta_data.FieldMetaData("socialHandles", org.apache.thrift.TFieldRequirementType.DEFAULT, 
202
    tmpMap.put(_Fields.SOCIAL_HANDLES, new org.apache.thrift.meta_data.FieldMetaData("socialHandles", org.apache.thrift.TFieldRequirementType.DEFAULT, 
203
        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SocialHandles.class)));
203
        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, SocialHandles.class)));
204
    tmpMap.put(_Fields.ADDRESSES, new org.apache.thrift.meta_data.FieldMetaData("addresses", org.apache.thrift.TFieldRequirementType.DEFAULT, 
204
    tmpMap.put(_Fields.ADDRESSES, new org.apache.thrift.meta_data.FieldMetaData("addresses", org.apache.thrift.TFieldRequirementType.DEFAULT, 
205
        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
205
        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
Line 232... Line 232...
232
    String email,
232
    String email,
233
    String password,
233
    String password,
234
    String name,
234
    String name,
235
    String dateOfBirth,
235
    String dateOfBirth,
236
    Sex sex,
236
    Sex sex,
237
    String mobileNumber,
-
 
238
    SocialHandles socialHandles,
237
    SocialHandles socialHandles,
239
    List<Address> addresses,
238
    List<Address> addresses,
240
    long defaultAddressId,
239
    long defaultAddressId,
241
    String communicationEmail,
240
    String communicationEmail,
242
    long activeCartId,
241
    long activeCartId,
Line 252... Line 251...
252
    this.email = email;
251
    this.email = email;
253
    this.password = password;
252
    this.password = password;
254
    this.name = name;
253
    this.name = name;
255
    this.dateOfBirth = dateOfBirth;
254
    this.dateOfBirth = dateOfBirth;
256
    this.sex = sex;
255
    this.sex = sex;
257
    this.mobileNumber = mobileNumber;
-
 
258
    this.socialHandles = socialHandles;
256
    this.socialHandles = socialHandles;
259
    this.addresses = addresses;
257
    this.addresses = addresses;
260
    this.defaultAddressId = defaultAddressId;
258
    this.defaultAddressId = defaultAddressId;
261
    setDefaultAddressIdIsSet(true);
259
    setDefaultAddressIdIsSet(true);
262
    this.communicationEmail = communicationEmail;
260
    this.communicationEmail = communicationEmail;
Line 1551... Line 1549...
1551
      oprot.writeFieldBegin(SEX_FIELD_DESC);
1549
      oprot.writeFieldBegin(SEX_FIELD_DESC);
1552
      oprot.writeI32(this.sex.getValue());
1550
      oprot.writeI32(this.sex.getValue());
1553
      oprot.writeFieldEnd();
1551
      oprot.writeFieldEnd();
1554
    }
1552
    }
1555
    if (this.mobileNumber != null) {
1553
    if (this.mobileNumber != null) {
-
 
1554
      if (isSetMobileNumber()) {
1556
      oprot.writeFieldBegin(MOBILE_NUMBER_FIELD_DESC);
1555
        oprot.writeFieldBegin(MOBILE_NUMBER_FIELD_DESC);
1557
      oprot.writeString(this.mobileNumber);
1556
        oprot.writeString(this.mobileNumber);
1558
      oprot.writeFieldEnd();
1557
        oprot.writeFieldEnd();
-
 
1558
      }
1559
    }
1559
    }
1560
    if (this.socialHandles != null) {
1560
    if (this.socialHandles != null) {
1561
      oprot.writeFieldBegin(SOCIAL_HANDLES_FIELD_DESC);
1561
      oprot.writeFieldBegin(SOCIAL_HANDLES_FIELD_DESC);
1562
      this.socialHandles.write(oprot);
1562
      this.socialHandles.write(oprot);
1563
      oprot.writeFieldEnd();
1563
      oprot.writeFieldEnd();
Line 1654... Line 1654...
1654
      sb.append("null");
1654
      sb.append("null");
1655
    } else {
1655
    } else {
1656
      sb.append(this.sex);
1656
      sb.append(this.sex);
1657
    }
1657
    }
1658
    first = false;
1658
    first = false;
-
 
1659
    if (isSetMobileNumber()) {
1659
    if (!first) sb.append(", ");
1660
      if (!first) sb.append(", ");
1660
    sb.append("mobileNumber:");
1661
      sb.append("mobileNumber:");
1661
    if (this.mobileNumber == null) {
1662
      if (this.mobileNumber == null) {
1662
      sb.append("null");
1663
        sb.append("null");
1663
    } else {
1664
      } else {
1664
      sb.append(this.mobileNumber);
1665
        sb.append(this.mobileNumber);
-
 
1666
      }
-
 
1667
      first = false;
1665
    }
1668
    }
1666
    first = false;
-
 
1667
    if (!first) sb.append(", ");
1669
    if (!first) sb.append(", ");
1668
    sb.append("socialHandles:");
1670
    sb.append("socialHandles:");
1669
    if (this.socialHandles == null) {
1671
    if (this.socialHandles == null) {
1670
      sb.append("null");
1672
      sb.append("null");
1671
    } else {
1673
    } else {