File tree Expand file tree Collapse file tree 4 files changed +62
-62
lines changed
src/main/java/com/amadeus/resources Expand file tree Collapse file tree 4 files changed +62
-62
lines changed Original file line number Diff line number Diff line change 1212 */
1313@ ToString
1414public class Hotel extends Resource {
15- protected Hotel () {}
16-
1715 private @ Getter String subtype ;
1816 private @ Getter String name ;
1917 private @ Getter String timeZoneName ;
@@ -29,10 +27,10 @@ protected Hotel() {}
2927 @ SerializedName ("last_update" )
3028 private @ Getter String lastUpdate ;
3129
30+ protected Hotel () {}
31+
3232 @ ToString
3333 public class Address {
34- protected Address () {}
35-
3634 private @ Getter String category ;
3735 private @ Getter String [] lines ;
3836 private @ Getter String postalCode ;
@@ -42,23 +40,25 @@ protected Address() {}
4240 private @ Getter String postalBox ;
4341 private @ Getter String text ;
4442 private @ Getter String state ;
43+
44+ protected Address () {}
4545 }
4646
4747 @ ToString
4848 public class GeoCode {
49- protected GeoCode () {}
50-
5149 private @ Getter float latitude ;
5250 private @ Getter float longitude ;
51+
52+ protected GeoCode () {}
5353 }
5454
5555 @ ToString
5656 public class Distance {
57- protected Distance () {}
58-
5957 private @ Getter String unit ;
6058 private @ Getter double value ;
6159 private @ Getter String displayValue ;
6260 private @ Getter String isUnlimited ;
61+
62+ protected Distance () {}
6363 }
6464}
Original file line number Diff line number Diff line change 99 */
1010@ ToString
1111public class HotelBooking extends Resource {
12- protected HotelBooking () {}
13-
1412 private @ Getter String type ;
1513 private @ Getter String id ;
1614 private @ Getter String providerConfirmationId ;
1715 private @ Getter AssociatedRecord [] associatedRecords ;
1816
17+ protected HotelBooking () {}
18+
1919 @ ToString
2020 public class AssociatedRecord {
21- protected AssociatedRecord () {
22- }
23-
2421 private @ Getter String reference ;
2522 private @ Getter String originSystemCode ;
23+
24+ protected AssociatedRecord () {}
2625 }
2726
2827}
You can’t perform that action at this time.
0 commit comments