Class: DepartureFlightStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/FlightXML2REST.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(actualarrivaltime = nil, actualdeparturetime = nil, aircrafttype = nil, destination = nil, destinationCity = nil, destinationName = nil, estimatedarrivaltime = nil, ident = nil, origin = nil, originCity = nil, originName = nil) ⇒ DepartureFlightStruct

Returns a new instance of DepartureFlightStruct.



782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
# File 'lib/FlightXML2REST.rb', line 782

def initialize(actualarrivaltime = nil,
               actualdeparturetime = nil,
               aircrafttype = nil,
               destination = nil,
               destinationCity = nil,
               destinationName = nil,
               estimatedarrivaltime = nil,
               ident = nil,
               origin = nil,
               originCity = nil,
               originName = nil
              ) 
  @actualarrivaltime = actualarrivaltime
  @actualdeparturetime = actualdeparturetime
  @aircrafttype = aircrafttype
  @destination = destination
  @destinationCity = destinationCity
  @destinationName = destinationName
  @estimatedarrivaltime = estimatedarrivaltime
  @ident = ident
  @origin = origin
  @originCity = originCity
  @originName = originName
end

Instance Attribute Details

#actualarrivaltimeObject

Returns the value of attribute actualarrivaltime.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def actualarrivaltime
  @actualarrivaltime
end

#actualdeparturetimeObject

Returns the value of attribute actualdeparturetime.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def actualdeparturetime
  @actualdeparturetime
end

#aircrafttypeObject

Returns the value of attribute aircrafttype.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def aircrafttype
  @aircrafttype
end

#destinationObject

Returns the value of attribute destination.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def destination
  @destination
end

#destinationCityObject

Returns the value of attribute destinationCity.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def destinationCity
  @destinationCity
end

#destinationNameObject

Returns the value of attribute destinationName.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def destinationName
  @destinationName
end

#estimatedarrivaltimeObject

Returns the value of attribute estimatedarrivaltime.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def estimatedarrivaltime
  @estimatedarrivaltime
end

#identObject

Returns the value of attribute ident.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def ident
  @ident
end

#originObject

Returns the value of attribute origin.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def origin
  @origin
end

#originCityObject

Returns the value of attribute originCity.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def originCity
  @originCity
end

#originNameObject

Returns the value of attribute originName.



770
771
772
# File 'lib/FlightXML2REST.rb', line 770

def originName
  @originName
end