public override string ToString() { StringBuilder __sb = new StringBuilder("UserInfoPerson("); bool __first = true; if (UserId != null && __isset.userId) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("UserId: "); __sb.Append(UserId); } if (BirthDate != null && __isset.birthDate) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("BirthDate: "); __sb.Append(BirthDate); } if (FirstName != null && __isset.firstName) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("FirstName: "); __sb.Append(FirstName); } if (LastName != null && __isset.lastName) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("LastName: "); __sb.Append(LastName); } if (Gender != null && __isset.gender) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Gender: "); __sb.Append(Gender); } if (Title != null && __isset.title) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Title: "); __sb.Append(Title); } if (EmployerTypeId != null && __isset.employerTypeId) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("EmployerTypeId: "); __sb.Append(EmployerTypeId == null ? "<null>" : EmployerTypeId.ToString()); } if (IndustryId != null && __isset.industryId) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("IndustryId: "); __sb.Append(IndustryId == null ? "<null>" : IndustryId.ToString()); } if (Interests != null && __isset.interests) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Interests: "); __sb.Append(Interests); } if (ReligionId != null && __isset.religionId) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("ReligionId: "); __sb.Append(ReligionId == null ? "<null>" : ReligionId.ToString()); } if (RelationshipStatusId != null && __isset.relationshipStatusId) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("RelationshipStatusId: "); __sb.Append(RelationshipStatusId == null ? "<null>" : RelationshipStatusId.ToString()); } if (Nationality != null && __isset.nationality) { if (!__first) { __sb.Append(", "); } __first = false; __sb.Append("Nationality: "); __sb.Append(Nationality == null ? "<null>" : Nationality.ToString()); } __sb.Append(")"); return(__sb.ToString()); }