@@ -14,9 +14,9 @@ protected DatedFlight() {}
1414 private @ Getter String type ;
1515 private @ Getter String scheduledDepartureDate ;
1616 private @ Getter FlightDesignator flightDesignator ;
17- private @ Getter FlightPoints [] flightPoints ;
18- private @ Getter Segments [] segments ;
19- private @ Getter Legs [] legs ;
17+ private @ Getter FlightPoint [] flightPoints ;
18+ private @ Getter Segment [] segments ;
19+ private @ Getter Leg [] legs ;
2020
2121 @ ToString
2222 public class FlightDesignator {
@@ -25,11 +25,13 @@ protected FlightDesignator() {
2525
2626 private @ Getter String carrierCode ;
2727 private @ Getter int flightNumber ;
28+ private @ Getter String operationalSuffix ;
29+
2830 }
2931
3032 @ ToString
31- public class FlightPoints {
32- protected FlightPoints () {
33+ public class FlightPoint {
34+ protected FlightPoint () {
3335 }
3436
3537 private @ Getter String iataCode ;
@@ -42,39 +44,77 @@ public class Departure {
4244 protected Departure () {
4345 }
4446
45- private @ Getter Timings [] timings ;
47+ private @ Getter Timing [] timings ;
48+ private @ Getter Terminal [] terminal ;
49+ private @ Getter Gate [] gate ;
4650 }
4751
4852 @ ToString
4953 public class Arrival {
5054 protected Arrival () {
5155 }
5256
53- private @ Getter Timings [] timings ;
57+ private @ Getter Timing [] timings ;
58+ private @ Getter Terminal [] terminal ;
59+ private @ Getter Gate [] gate ;
5460 }
5561
5662 @ ToString
57- public class Timings {
58- protected Timings () {
63+ public class Timing {
64+ protected Timing () {
5965 }
6066
6167 private @ Getter String qualifier ;
6268 private @ Getter String value ;
69+ private @ Getter Delay delays ;
70+ }
71+
72+ @ ToString
73+ public class Delay {
74+ protected Delay () {
75+ }
76+
77+ private @ Getter String duration ;
78+ }
79+
80+ @ ToString
81+ public class Gate {
82+ protected Gate () {
83+ }
84+
85+ private @ Getter String mainGate ;
6386 }
6487
6588 @ ToString
66- public class Segments {
67- protected Segments () {
89+ public class Terminal {
90+ protected Terminal () {
91+ }
92+
93+ private @ Getter String code ;
94+ }
95+
96+ @ ToString
97+ public class Segment {
98+ protected Segment () {
6899 }
69100
70101 private @ Getter String boardPointIataCode ;
71102 private @ Getter String offPointIataCode ;
72103 private @ Getter String scheduledSegmentDuration ;
104+ private @ Getter Partnership partnership ;
105+ }
106+
107+ @ ToString
108+ public class Partnership {
109+ protected Partnership () {
110+ }
111+
112+ private @ Getter FlightDesignator operatingFlight ;
73113 }
74114
75115 @ ToString
76- public class Legs {
77- protected Legs () {
116+ public class Leg {
117+ protected Leg () {
78118 }
79119
80120 private @ Getter String boardPointIataCode ;
0 commit comments