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.



1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
# File 'lib/FlightXML2REST.rb', line 1507

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.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def altitude
  @altitude
end

#altitudeChangeObject

Returns the value of attribute altitudeChange.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def altitudeChange
  @altitudeChange
end

#altitudeStatusObject

Returns the value of attribute altitudeStatus.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def altitudeStatus
  @altitudeStatus
end

#departureTimeObject

Returns the value of attribute departureTime.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def departureTime
  @departureTime
end

#destinationObject

Returns the value of attribute destination.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def destination
  @destination
end

#faFlightIDObject

Returns the value of attribute faFlightID.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def faFlightID
  @faFlightID
end

#firstPositionTimeObject

Returns the value of attribute firstPositionTime.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def firstPositionTime
  @firstPositionTime
end

#groundspeedObject

Returns the value of attribute groundspeed.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def groundspeed
  @groundspeed
end

#headingObject

Returns the value of attribute heading.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def heading
  @heading
end

#highLatitudeObject

Returns the value of attribute highLatitude.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def highLatitude
  @highLatitude
end

#highLongitudeObject

Returns the value of attribute highLongitude.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def highLongitude
  @highLongitude
end

#identObject

Returns the value of attribute ident.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def ident
  @ident
end

#latitudeObject

Returns the value of attribute latitude.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def longitude
  @longitude
end

#lowLatitudeObject

Returns the value of attribute lowLatitude.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def lowLatitude
  @lowLatitude
end

#lowLongitudeObject

Returns the value of attribute lowLongitude.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def lowLongitude
  @lowLongitude
end

#originObject

Returns the value of attribute origin.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def origin
  @origin
end

#prefixObject

Returns the value of attribute prefix.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def prefix
  @prefix
end

#suffixObject

Returns the value of attribute suffix.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def suffix
  @suffix
end

#timeoutObject

Returns the value of attribute timeout.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def timeout
  @timeout
end

#timestampObject

Returns the value of attribute timestamp.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def timestamp
  @timestamp
end

#typeObject

Returns the value of attribute type.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def type
  @type
end

#updateTypeObject

Returns the value of attribute updateType.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def updateType
  @updateType
end

#waypointsObject

Returns the value of attribute waypoints.



1482
1483
1484
# File 'lib/FlightXML2REST.rb', line 1482

def waypoints
  @waypoints
end