case class Flight(legId: String, searchMonth: Int, flightMonth: Int, startingAirport: String, destinationAirport: String, fareBasisCode: String, travelDuration: String, elapsedDays: Int, isBasicEconomy: Boolean, isRefundable: Boolean, isNonStop: Boolean, baseFare: Double, totalFare: Double, seatsRemaining: Int, totalTravelDistance: Double, segmentsDepartureTimeEpochSeconds: String, segmentsDepartureTimeRaw: String, segmentsArrivalTimeEpochSeconds: String, segmentsArrivalTimeRaw: String, segmentsArrivalAirportCode: String, segmentsDepartureAirportCode: String, segmentsAirlineName: String, segmentsAirlineCode: String, segmentsEquipmentDescription: String, segmentsDurationInSeconds: String, segmentsDistance: String, segmentsCabinCode: String) extends Serializable with Product
Flight case class.
- legId
The unique identifier for the flight.
- searchMonth
The month in which the search was conducted.
- flightMonth
The month in which the flight is scheduled.
- startingAirport
The airport code IATA for the departure location.
- destinationAirport
The airport code IATA for the arrival location.
- fareBasisCode
The fare basis code for the flight.
- travelDuration
The total duration of the flight.
- elapsedDays
The number of days elapsed.
- isBasicEconomy
Whether the flight is a basic economy flight.
- isRefundable
Whether the flight is refundable.
- isNonStop
Whether the flight is non-stop.
- baseFare
The base fare for the flight.
- totalFare
The total fare for the flight, including taxes and other fees.
- seatsRemaining
The number of seats remaining on the flight.
- totalTravelDistance
The total distance of the flight.
- segmentsDepartureTimeEpochSeconds
The departure time of each segment expressed as epoch seconds.
- segmentsDepartureTimeRaw
The departure time of each segment in raw format.
- segmentsArrivalTimeEpochSeconds
The arrival time of each segment expressed as epoch seconds.
- segmentsArrivalTimeRaw
The arrival time of each segment in raw format.
- segmentsArrivalAirportCode
The airport code IATA for the arrival location of each segment.
- segmentsDepartureAirportCode
The airport code IATA for the departure location of each segment.
- segmentsAirlineName
The name of the airline for each segment.
- segmentsAirlineCode
The code of the airline for each segment.
- segmentsEquipmentDescription
The description of the equipment for each segment.
- segmentsDurationInSeconds
The duration of each segment in seconds.
- segmentsDistance
The distance of each segment.
- segmentsCabinCode
The cabin code for each segment.
- Alphabetic
- By Inheritance
- Flight
- Product
- Equals
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Flight(legId: String, searchMonth: Int, flightMonth: Int, startingAirport: String, destinationAirport: String, fareBasisCode: String, travelDuration: String, elapsedDays: Int, isBasicEconomy: Boolean, isRefundable: Boolean, isNonStop: Boolean, baseFare: Double, totalFare: Double, seatsRemaining: Int, totalTravelDistance: Double, segmentsDepartureTimeEpochSeconds: String, segmentsDepartureTimeRaw: String, segmentsArrivalTimeEpochSeconds: String, segmentsArrivalTimeRaw: String, segmentsArrivalAirportCode: String, segmentsDepartureAirportCode: String, segmentsAirlineName: String, segmentsAirlineCode: String, segmentsEquipmentDescription: String, segmentsDurationInSeconds: String, segmentsDistance: String, segmentsCabinCode: String)
- legId
The unique identifier for the flight.
- searchMonth
The month in which the search was conducted.
- flightMonth
The month in which the flight is scheduled.
- startingAirport
The airport code IATA for the departure location.
- destinationAirport
The airport code IATA for the arrival location.
- fareBasisCode
The fare basis code for the flight.
- travelDuration
The total duration of the flight.
- elapsedDays
The number of days elapsed.
- isBasicEconomy
Whether the flight is a basic economy flight.
- isRefundable
Whether the flight is refundable.
- isNonStop
Whether the flight is non-stop.
- baseFare
The base fare for the flight.
- totalFare
The total fare for the flight, including taxes and other fees.
- seatsRemaining
The number of seats remaining on the flight.
- totalTravelDistance
The total distance of the flight.
- segmentsDepartureTimeEpochSeconds
The departure time of each segment expressed as epoch seconds.
- segmentsDepartureTimeRaw
The departure time of each segment in raw format.
- segmentsArrivalTimeEpochSeconds
The arrival time of each segment expressed as epoch seconds.
- segmentsArrivalTimeRaw
The arrival time of each segment in raw format.
- segmentsArrivalAirportCode
The airport code IATA for the arrival location of each segment.
- segmentsDepartureAirportCode
The airport code IATA for the departure location of each segment.
- segmentsAirlineName
The name of the airline for each segment.
- segmentsAirlineCode
The code of the airline for each segment.
- segmentsEquipmentDescription
The description of the equipment for each segment.
- segmentsDurationInSeconds
The duration of each segment in seconds.
- segmentsDistance
The distance of each segment.
- segmentsCabinCode
The cabin code for each segment.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseFare: Double
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- val destinationAirport: String
- val elapsedDays: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fareBasisCode: String
- val flightMonth: Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val isBasicEconomy: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isNonStop: Boolean
- val isRefundable: Boolean
- val legId: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val searchMonth: Int
- val seatsRemaining: Int
- val segmentsAirlineCode: String
- val segmentsAirlineName: String
- val segmentsArrivalAirportCode: String
- val segmentsArrivalTimeEpochSeconds: String
- val segmentsArrivalTimeRaw: String
- val segmentsCabinCode: String
- val segmentsDepartureAirportCode: String
- val segmentsDepartureTimeEpochSeconds: String
- val segmentsDepartureTimeRaw: String
- val segmentsDistance: String
- val segmentsDurationInSeconds: String
- val segmentsEquipmentDescription: String
- val startingAirport: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val totalFare: Double
- val totalTravelDistance: Double
- val travelDuration: String
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated