Class: InFlightAircraftStruct

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(altitude = nil, altitudeChange = nil, altitudeStatus = nil, departureTime = nil, destination = nil, faFlightID = nil, firstPositionTime = nil, groundspeed = nil, heading = nil, highLatitude = nil, highLongitude = nil, ident = nil, latitude = nil, longitude = nil, lowLatitude = nil, lowLongitude = nil, origin = nil, prefix = nil, suffix = nil, timeout = nil, timestamp = nil, type = nil, updateType = nil, waypoints = nil) ⇒ InFlightAircraftStruct

Returns a new instance of InFlightAircraftStruct.



1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
# File 'lib/FlightXML2REST.rb', line 1648

def initialize (altitude = nil,
                altitudeChange = nil,
                altitudeStatus = nil,
                departureTime = nil,
                destination = nil,
                faFlightID = nil,
                firstPositionTime = nil,
                groundspeed = nil,
                heading = nil,
                highLatitude = nil,
                highLongitude = nil,
                ident = nil,
                latitude = nil,
                longitude = nil,
                lowLatitude = nil,
                lowLongitude = nil,
                origin = nil,
                prefix = nil,
                suffix = nil,
                timeout = nil,
                timestamp = nil,
                type = nil,
                updateType = nil,
                waypoints = nil
               )
  @altitude = altitude
  @altitudeChange = altitudeChange
  @altitudeStatus = altitudeStatus
  @departureTime = departureTime
  @destination = destination
  @faFlightID = faFlightID
  @firstPositionTime = firstPositionTime
  @groundspeed = groundspeed
  @heading = heading
  @highLatitude = highLatitude
  @highLongitude = highLongitude
  @ident = ident
  @latitude = latitude
  @longitude = longitude
  @lowLatitude = lowLatitude
  @lowLongitude = lowLongitude
  @origin = origin
  @prefix = prefix
  @suffix = suffix
  @timeout = timeout
  @timestamp = timestamp
  @type = type
  @updateType = updateType
  @waypoints = waypoints
end

Instance Attribute Details

#altitudeObject

Returns the value of attribute altitude.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def altitude
  @altitude
end

#altitudeChangeObject

Returns the value of attribute altitudeChange.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def altitudeChange
  @altitudeChange
end

#altitudeStatusObject

Returns the value of attribute altitudeStatus.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def altitudeStatus
  @altitudeStatus
end

#departureTimeObject

Returns the value of attribute departureTime.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def departureTime
  @departureTime
end

#destinationObject

Returns the value of attribute destination.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def destination
  @destination
end

#faFlightIDObject

Returns the value of attribute faFlightID.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def faFlightID
  @faFlightID
end

#firstPositionTimeObject

Returns the value of attribute firstPositionTime.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def firstPositionTime
  @firstPositionTime
end

#groundspeedObject

Returns the value of attribute groundspeed.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def groundspeed
  @groundspeed
end

#headingObject

Returns the value of attribute heading.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def heading
  @heading
end

#highLatitudeObject

Returns the value of attribute highLatitude.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def highLatitude
  @highLatitude
end

#highLongitudeObject

Returns the value of attribute highLongitude.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def highLongitude
  @highLongitude
end

#identObject

Returns the value of attribute ident.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def ident
  @ident
end

#latitudeObject

Returns the value of attribute latitude.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def longitude
  @longitude
end

#lowLatitudeObject

Returns the value of attribute lowLatitude.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def lowLatitude
  @lowLatitude
end

#lowLongitudeObject

Returns the value of attribute lowLongitude.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def lowLongitude
  @lowLongitude
end

#originObject

Returns the value of attribute origin.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def origin
  @origin
end

#prefixObject

Returns the value of attribute prefix.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def prefix
  @prefix
end

#suffixObject

Returns the value of attribute suffix.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def suffix
  @suffix
end

#timeoutObject

Returns the value of attribute timeout.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def timeout
  @timeout
end

#timestampObject

Returns the value of attribute timestamp.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def timestamp
  @timestamp
end

#typeObject

Returns the value of attribute type.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def type
  @type
end

#updateTypeObject

Returns the value of attribute updateType.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def updateType
  @updateType
end

#waypointsObject

Returns the value of attribute waypoints.



1623
1624
1625
# File 'lib/FlightXML2REST.rb', line 1623

def waypoints
  @waypoints
end