5
5
import com .fasterxml .jackson .annotation .JsonAnySetter ;
6
6
import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
7
7
8
-
9
8
/**
10
- *
11
- * <p>
12
- * <a href="UserPojo .java.html"><i>View Source</i></a>
13
- * </p>
14
- *
15
- * @author Denis Gosset <a href="http://www.hoteia.com"><i>Hoteia.com</i></a>
16
- *
17
- */
18
- @ JsonIgnoreProperties (ignoreUnknown = true )
9
+ *
10
+ * <p>
11
+ * <a href="EmailPojo .java.html"><i>View Source</i></a>
12
+ * </p>
13
+ *
14
+ * @author Denis Gosset <a href="http://www.hoteia.com"><i>Hoteia.com</i></a>
15
+ *
16
+ */
17
+ @ JsonIgnoreProperties (ignoreUnknown = true )
19
18
public class EmailPojo extends AbstractJsonPojo {
20
19
21
- protected String city ;
22
-
23
- protected String country ;
24
-
25
- protected boolean current ;
26
-
27
- protected int id ;
28
-
29
- protected String postalCode ;
30
-
31
- protected String state ;
32
-
33
- protected String street ;
34
-
35
- protected String type ;
36
-
37
- public String getCity () {
38
- return city ;
39
- }
20
+ protected String handle ;
40
21
41
- public void setCity (String city ) {
42
- this .city = city ;
43
- }
22
+ protected int id ;
44
23
45
- public String getCountry () {
46
- return country ;
47
- }
24
+ protected boolean primary ;
48
25
49
- public void setCountry (String country ) {
50
- this .country = country ;
51
- }
26
+ protected String type ;
52
27
53
- public boolean isCurrent () {
54
- return current ;
28
+ public String getHandle () {
29
+ return handle ;
55
30
}
56
31
57
- public void setCurrent ( boolean current ) {
58
- this .current = current ;
32
+ public void setHandle ( String handle ) {
33
+ this .handle = handle ;
59
34
}
60
35
61
36
public int getId () {
@@ -66,28 +41,12 @@ public void setId(int id) {
66
41
this .id = id ;
67
42
}
68
43
69
- public String getPostalCode () {
70
- return postalCode ;
44
+ public boolean isPrimary () {
45
+ return primary ;
71
46
}
72
47
73
- public void setPostalCode (String postalCode ) {
74
- this .postalCode = postalCode ;
75
- }
76
-
77
- public String getState () {
78
- return state ;
79
- }
80
-
81
- public void setState (String state ) {
82
- this .state = state ;
83
- }
84
-
85
- public String getStreet () {
86
- return street ;
87
- }
88
-
89
- public void setStreet (String street ) {
90
- this .street = street ;
48
+ public void setPrimary (boolean primary ) {
49
+ this .primary = primary ;
91
50
}
92
51
93
52
public String getType () {
@@ -99,9 +58,9 @@ public void setType(String type) {
99
58
}
100
59
101
60
@ JsonAnySetter
102
- @ Override
103
- public void handleUnknown (String key , Object value ) {
104
- super .handleUnknown (key , value );
105
- }
106
-
61
+ @ Override
62
+ public void handleUnknown (String key , Object value ) {
63
+ super .handleUnknown (key , value );
64
+ }
65
+
107
66
}
0 commit comments