File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1515public class Contact
1616{
1717 @ JsonProperty ("id" )
18- private Integer id ;
18+ private Long id ;
1919
2020 @ JsonProperty ("count" )
2121 private Integer count ;
@@ -58,12 +58,12 @@ public static enum Type
5858 PERSON , COMPANY
5959 };
6060
61- public Integer getId ()
61+ public Long getId ()
6262 {
6363 return id ;
6464 }
6565
66- public void setId (Integer id )
66+ public void setId (Long id )
6767 {
6868 this .id = id ;
6969 }
@@ -223,9 +223,11 @@ public void setCustomField(String fieldName, String fieldValue)
223223 properties .add (contactField );
224224 }
225225
226- public String toString ()
227- {
228- return id + " " + type + " " + tags + " " + properties + " "
229- + created_time + " " + updated_time ;
230- }
226+ @ Override
227+ public String toString () {
228+ return "Contact [id=" + id + ", count=" + count + ", owner_key="
229+ + owner_key + ", tags=" + tags + ", lead_score=" + lead_score
230+ + ", star_value=" + star_value + ", properties=" + properties .toString ()
231+ + ", domainUser=" + domainUser + "]" ;
232+ }
231233}
You can’t perform that action at this time.
0 commit comments