Package io.swagger.client.model
Class Journey
- java.lang.Object
-
- io.swagger.client.model.Journey
-
public class Journey extends Object
Journey
-
-
Constructor Summary
Constructors Constructor Description Journey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Journey
addFlightSegmentsItem(FlightSegment flightSegmentsItem)
boolean
equals(Object o)
Journey
flight(Flight flight)
Journey
flightSegments(List<FlightSegment> flightSegments)
Flight
getFlight()
Get flightList<FlightSegment>
getFlightSegments()
Get flightSegmentsint
hashCode()
void
setFlight(Flight flight)
void
setFlightSegments(List<FlightSegment> flightSegments)
String
toString()
-
-
-
Method Detail
-
getFlight
public Flight getFlight()
Get flight- Returns:
- flight
-
setFlight
public void setFlight(Flight flight)
-
flightSegments
public Journey flightSegments(List<FlightSegment> flightSegments)
-
addFlightSegmentsItem
public Journey addFlightSegmentsItem(FlightSegment flightSegmentsItem)
-
getFlightSegments
public List<FlightSegment> getFlightSegments()
Get flightSegments- Returns:
- flightSegments
-
setFlightSegments
public void setFlightSegments(List<FlightSegment> flightSegments)
-
-