File tree 1 file changed +8
-7
lines changed
src/main/java/com/amadeus/resources
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ public static class Traveler {
40
40
41
41
private @ Getter @ Setter String id ;
42
42
private @ Getter @ Setter String dateOfBirth ;
43
+ private @ Getter @ Setter String gender ;
43
44
private @ Getter @ Setter Name name ;
44
45
private @ Getter @ Setter Contact contact ;
45
46
private @ Getter @ Setter Document [] documents ;
@@ -60,13 +61,6 @@ public static class Name {
60
61
public static class Contact {
61
62
62
63
private @ Getter @ Setter Phone [] phones ;
63
- private @ Getter @ Setter DeviceType deviceType ;
64
-
65
- public enum DeviceType {
66
- MOBILE ,
67
- LANDLINE ,
68
- FAX
69
- }
70
64
}
71
65
72
66
@ AllArgsConstructor
@@ -97,6 +91,13 @@ public static class Phone {
97
91
98
92
private @ Getter @ Setter String countryCallingCode ;
99
93
private @ Getter @ Setter String number ;
94
+ private @ Getter @ Setter DeviceType deviceType ;
95
+
96
+ public enum DeviceType {
97
+ MOBILE ,
98
+ LANDLINE ,
99
+ FAX
100
+ }
100
101
}
101
102
102
103
}
You can’t perform that action at this time.
0 commit comments