99 */
1010@ ToString
1111public class Location extends Resource {
12- protected Location () {}
13-
1412 private @ Getter String type ;
1513 private @ Getter String subType ;
1614 private @ Getter String name ;
@@ -23,16 +21,18 @@ protected Location() {}
2321 private @ Getter Analytics analytics ;
2422 private @ Getter Double relevance ;
2523
24+ protected Location () {}
25+
2626 /**
2727 * An Location-related object as returned by the Location API.
2828 * @see com.amadeus.referenceData.Location#get()
2929 */
3030 @ ToString
3131 public class GeoCode {
32- protected GeoCode () {}
33-
3432 private @ Getter double latitude ;
3533 private @ Getter double longitude ;
34+
35+ protected GeoCode () {}
3636 }
3737
3838 /**
@@ -41,13 +41,13 @@ protected GeoCode() {}
4141 */
4242 @ ToString
4343 public class Address {
44- protected Address () {}
45-
4644 private @ Getter String cityName ;
4745 private @ Getter String cityCode ;
4846 private @ Getter String countryName ;
4947 private @ Getter String countryCode ;
5048 private @ Getter String regionCode ;
49+
50+ protected Address () {}
5151 }
5252
5353 /**
@@ -56,10 +56,10 @@ protected Address() {}
5656 */
5757 @ ToString
5858 public class Distance {
59- protected Distance () {}
60-
6159 private @ Getter Double value ;
6260 private @ Getter String unit ;
61+
62+ protected Distance () {}
6363 }
6464
6565 /**
@@ -68,20 +68,20 @@ protected Distance() {}
6868 */
6969 @ ToString
7070 public class Analytics {
71- protected Analytics () {}
72-
7371 private @ Getter Flights flights ;
7472 private @ Getter Travelers travelers ;
7573
74+ protected Analytics () {}
75+
7676 /**
7777 * An Location-related object as returned by the Location API.
7878 * @see com.amadeus.referenceData.Location#get()
7979 */
8080 @ ToString
8181 public class Flights {
82- protected Flights () {}
83-
8482 private @ Getter Double score ;
83+
84+ protected Flights () {}
8585 }
8686
8787 /**
@@ -90,9 +90,9 @@ protected Flights() {}
9090 */
9191 @ ToString
9292 public class Travelers {
93- protected Travelers () {}
94-
9593 private @ Getter Double score ;
94+
95+ protected Travelers () {}
9696 }
9797 }
9898}
0 commit comments