Class: TrackExStruct

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, faFlightID = nil, groundspeed = nil, latitude = nil, longitude = nil, timestamp = nil, updateType = nil) ⇒ TrackExStruct

Returns a new instance of TrackExStruct.



2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
# File 'lib/FlightXML2REST.rb', line 2411

def initialize(altitude = nil,
               altitudeChange = nil,
               altitudeStatus = nil,
               faFlightID = nil,
               groundspeed = nil,
               latitude = nil,
               longitude = nil,
               timestamp = nil,
               updateType = nil
              )
  @altitude = altitude
  @altitudeChange = altitudeChange
  @altitudeStatus = altitudeStatus
  @faFlightID = faFlightID
  @groundspeed = groundspeed
  @latitude = latitude
  @longitude = longitude
  @timestamp = timestamp
  @updateType = updateType
end

Instance Attribute Details

#altitudeObject

Returns the value of attribute altitude.



2401
2402
2403
# File 'lib/FlightXML2REST.rb', line 2401

def altitude
  @altitude
end

#altitudeChangeObject

Returns the value of attribute altitudeChange.



2401
2402
2403
# File 'lib/FlightXML2REST.rb', line 2401

def altitudeChange
  @altitudeChange
end

#altitudeStatusObject

Returns the value of attribute altitudeStatus.



2401
2402
2403
# File 'lib/FlightXML2REST.rb', line 2401

def altitudeStatus
  @altitudeStatus
end

#faFlightIDObject

Returns the value of attribute faFlightID.



2401
2402
2403
# File 'lib/FlightXML2REST.rb', line 2401

def faFlightID
  @faFlightID
end

#groundspeedObject

Returns the value of attribute groundspeed.



2401
2402
2403
# File 'lib/FlightXML2REST.rb', line 2401

def groundspeed
  @groundspeed
end

#latitudeObject

Returns the value of attribute latitude.



2401
2402
2403
# File 'lib/FlightXML2REST.rb', line 2401

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



2401
2402
2403
# File 'lib/FlightXML2REST.rb', line 2401

def longitude
  @longitude
end

#timestampObject

Returns the value of attribute timestamp.



2401
2402
2403
# File 'lib/FlightXML2REST.rb', line 2401

def timestamp
  @timestamp
end

#updateTypeObject

Returns the value of attribute updateType.



2401
2402
2403
# File 'lib/FlightXML2REST.rb', line 2401

def updateType
  @updateType
end