├── example.rb ├── README ├── FlightXML2Driver.rb └── FlightXML2.rb /example.rb: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | require 'FlightXML2Driver.rb' 3 | 4 | username = 'sampleuser' 5 | apiKey = 'abc123abc123abc123abc123abc123abc123' 6 | 7 | $api = FlightXML2Soap.new(username, apiKey) 8 | 9 | result = $api.enroute(EnrouteRequest.new('KSMO',10,'',0)) 10 | 11 | flights = result.enrouteResult.enroute 12 | 13 | print "Aircraft en route to KSMO:\n" 14 | flights.each { |flight| 15 | print "#{flight.ident} (#{flight.aircrafttype}) \t#{flight.originName} (#{flight.origin})\n" 16 | } 17 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | FlightXML 2 | 3 | Using the FlightXML API, programs can query the FlightAware live 4 | flight information and historical datasets. Queries for in-flight 5 | aircraft return a set of matching aircraft based on a combination of 6 | location, flight or tail number, origin and/or destination airport, 7 | aircraft type, and/or a low-to-high range of altitude and/or ground 8 | speed, among others. For each matching aircraft, data returned 9 | includes the flight or tail number, the aircraft type, origin and 10 | destination, time the last position was received, and the longitude, 11 | latitude, groundspeed, and altitude of that position. Matching 12 | flights' flight tracks can be requested as well. 13 | 14 | For airports, FlightXML queries can return a list of scheduled 15 | flights, flights that have departed, flights that are enroute to the 16 | airport, and flights that have arrived at the airport. 17 | 18 | 19 | http://flightaware.com/commercial/flightxml/ -------------------------------------------------------------------------------- /FlightXML2Driver.rb: -------------------------------------------------------------------------------- 1 | require 'FlightXML2.rb' 2 | 3 | require 'soap/rpc/driver' 4 | 5 | class FlightXML2Soap < ::SOAP::RPC::Driver 6 | DefaultEndpointUrl = "http://flightxml.flightaware.com/soap/FlightXML2/op" 7 | MappingRegistry = ::SOAP::Mapping::Registry.new 8 | 9 | Methods = [ 10 | [ "FlightXML2:AircraftType", 11 | "aircraftType", 12 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AircraftTypeRequest"], true], 13 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AircraftTypeResults"], true] ], 14 | { :request_style => :document, :request_use => :literal, 15 | :response_style => :document, :response_use => :literal } 16 | ], 17 | [ "FlightXML2:AirlineInfo", 18 | "airlineInfo", 19 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AirlineInfoRequest"], true], 20 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AirlineInfoResults"], true] ], 21 | { :request_style => :document, :request_use => :literal, 22 | :response_style => :document, :response_use => :literal } 23 | ], 24 | [ "FlightXML2:AirportInfo", 25 | "airportInfo", 26 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AirportInfoRequest"], true], 27 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AirportInfoResults"], true] ], 28 | { :request_style => :document, :request_use => :literal, 29 | :response_style => :document, :response_use => :literal } 30 | ], 31 | [ "FlightXML2:AllAirlines", 32 | "allAirlines", 33 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AllAirlinesRequest"], true], 34 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AllAirlinesResults"], true] ], 35 | { :request_style => :document, :request_use => :literal, 36 | :response_style => :document, :response_use => :literal } 37 | ], 38 | [ "FlightXML2:AllAirports", 39 | "allAirports", 40 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AllAirportsRequest"], true], 41 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "AllAirportsResults"], true] ], 42 | { :request_style => :document, :request_use => :literal, 43 | :response_style => :document, :response_use => :literal } 44 | ], 45 | [ "FlightXML2:Arrived", 46 | "arrived", 47 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "ArrivedRequest"], true], 48 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "ArrivedResults"], true] ], 49 | { :request_style => :document, :request_use => :literal, 50 | :response_style => :document, :response_use => :literal } 51 | ], 52 | [ "FlightXML2:BlockIdentCheck", 53 | "blockIdentCheck", 54 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "BlockIdentCheckRequest"], true], 55 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "BlockIdentCheckResults"], true] ], 56 | { :request_style => :document, :request_use => :literal, 57 | :response_style => :document, :response_use => :literal } 58 | ], 59 | [ "FlightXML2:CountAirportOperations", 60 | "countAirportOperations", 61 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "CountAirportOperationsRequest"], true], 62 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "CountAirportOperationsResults"], true] ], 63 | { :request_style => :document, :request_use => :literal, 64 | :response_style => :document, :response_use => :literal } 65 | ], 66 | [ "FlightXML2:CountAllEnrouteAirlineOperations", 67 | "countAllEnrouteAirlineOperations", 68 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "CountAllEnrouteAirlineOperationsRequest"], true], 69 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "CountAllEnrouteAirlineOperationsResults"], true] ], 70 | { :request_style => :document, :request_use => :literal, 71 | :response_style => :document, :response_use => :literal } 72 | ], 73 | [ "FlightXML2:DecodeFlightRoute", 74 | "decodeFlightRoute", 75 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "DecodeFlightRouteRequest"], true], 76 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "DecodeFlightRouteResults"], true] ], 77 | { :request_style => :document, :request_use => :literal, 78 | :response_style => :document, :response_use => :literal } 79 | ], 80 | [ "FlightXML2:DecodeRoute", 81 | "decodeRoute", 82 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "DecodeRouteRequest"], true], 83 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "DecodeRouteResults"], true] ], 84 | { :request_style => :document, :request_use => :literal, 85 | :response_style => :document, :response_use => :literal } 86 | ], 87 | [ "FlightXML2:Departed", 88 | "departed", 89 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "DepartedRequest"], true], 90 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "DepartedResults"], true] ], 91 | { :request_style => :document, :request_use => :literal, 92 | :response_style => :document, :response_use => :literal } 93 | ], 94 | [ "FlightXML2:Enroute", 95 | "enroute", 96 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "EnrouteRequest"], true], 97 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "EnrouteResults"], true] ], 98 | { :request_style => :document, :request_use => :literal, 99 | :response_style => :document, :response_use => :literal } 100 | ], 101 | [ "FlightXML2:FleetArrived", 102 | "fleetArrived", 103 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "FleetArrivedRequest"], true], 104 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "FleetArrivedResults"], true] ], 105 | { :request_style => :document, :request_use => :literal, 106 | :response_style => :document, :response_use => :literal } 107 | ], 108 | [ "FlightXML2:FleetScheduled", 109 | "fleetScheduled", 110 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "FleetScheduledRequest"], true], 111 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "FleetScheduledResults"], true] ], 112 | { :request_style => :document, :request_use => :literal, 113 | :response_style => :document, :response_use => :literal } 114 | ], 115 | [ "FlightXML2:FlightInfo", 116 | "flightInfo", 117 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "FlightInfoRequest"], true], 118 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "FlightInfoResults"], true] ], 119 | { :request_style => :document, :request_use => :literal, 120 | :response_style => :document, :response_use => :literal } 121 | ], 122 | [ "FlightXML2:FlightInfoEx", 123 | "flightInfoEx", 124 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "FlightInfoExRequest"], true], 125 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "FlightInfoExResults"], true] ], 126 | { :request_style => :document, :request_use => :literal, 127 | :response_style => :document, :response_use => :literal } 128 | ], 129 | [ "FlightXML2:GetFlightID", 130 | "getFlightID", 131 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "GetFlightIDRequest"], true], 132 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "GetFlightIDResults"], true] ], 133 | { :request_style => :document, :request_use => :literal, 134 | :response_style => :document, :response_use => :literal } 135 | ], 136 | [ "FlightXML2:GetHistoricalTrack", 137 | "getHistoricalTrack", 138 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "GetHistoricalTrackRequest"], true], 139 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "GetHistoricalTrackResults"], true] ], 140 | { :request_style => :document, :request_use => :literal, 141 | :response_style => :document, :response_use => :literal } 142 | ], 143 | [ "FlightXML2:GetLastTrack", 144 | "getLastTrack", 145 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "GetLastTrackRequest"], true], 146 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "GetLastTrackResults"], true] ], 147 | { :request_style => :document, :request_use => :literal, 148 | :response_style => :document, :response_use => :literal } 149 | ], 150 | [ "FlightXML2:InFlightInfo", 151 | "inFlightInfo", 152 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "InFlightInfoRequest"], true], 153 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "InFlightInfoResults"], true] ], 154 | { :request_style => :document, :request_use => :literal, 155 | :response_style => :document, :response_use => :literal } 156 | ], 157 | [ "FlightXML2:LatLongsToDistance", 158 | "latLongsToDistance", 159 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "LatLongsToDistanceRequest"], true], 160 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "LatLongsToDistanceResults"], true] ], 161 | { :request_style => :document, :request_use => :literal, 162 | :response_style => :document, :response_use => :literal } 163 | ], 164 | [ "FlightXML2:LatLongsToHeading", 165 | "latLongsToHeading", 166 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "LatLongsToHeadingRequest"], true], 167 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "LatLongsToHeadingResults"], true] ], 168 | { :request_style => :document, :request_use => :literal, 169 | :response_style => :document, :response_use => :literal } 170 | ], 171 | [ "FlightXML2:MapFlight", 172 | "mapFlight", 173 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "MapFlightRequest"], true], 174 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "MapFlightResults"], true] ], 175 | { :request_style => :document, :request_use => :literal, 176 | :response_style => :document, :response_use => :literal } 177 | ], 178 | [ "FlightXML2:MapFlightEx", 179 | "mapFlightEx", 180 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "MapFlightExRequest"], true], 181 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "MapFlightExResults"], true] ], 182 | { :request_style => :document, :request_use => :literal, 183 | :response_style => :document, :response_use => :literal } 184 | ], 185 | [ "FlightXML2:Metar", 186 | "metar", 187 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "MetarRequest"], true], 188 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "MetarResults"], true] ], 189 | { :request_style => :document, :request_use => :literal, 190 | :response_style => :document, :response_use => :literal } 191 | ], 192 | [ "FlightXML2:MetarEx", 193 | "metarEx", 194 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "MetarExRequest"], true], 195 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "MetarExResults"], true] ], 196 | { :request_style => :document, :request_use => :literal, 197 | :response_style => :document, :response_use => :literal } 198 | ], 199 | [ "FlightXML2:NTaf", 200 | "nTaf", 201 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "NTafRequest"], true], 202 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "NTafResults"], true] ], 203 | { :request_style => :document, :request_use => :literal, 204 | :response_style => :document, :response_use => :literal } 205 | ], 206 | [ "FlightXML2:RoutesBetweenAirports", 207 | "routesBetweenAirports", 208 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "RoutesBetweenAirportsRequest"], true], 209 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "RoutesBetweenAirportsResults"], true] ], 210 | { :request_style => :document, :request_use => :literal, 211 | :response_style => :document, :response_use => :literal } 212 | ], 213 | [ "FlightXML2:RoutesBetweenAirportsEx", 214 | "routesBetweenAirportsEx", 215 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "RoutesBetweenAirportsExRequest"], true], 216 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "RoutesBetweenAirportsExResults"], true] ], 217 | { :request_style => :document, :request_use => :literal, 218 | :response_style => :document, :response_use => :literal } 219 | ], 220 | [ "FlightXML2:Scheduled", 221 | "scheduled", 222 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "ScheduledRequest"], true], 223 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "ScheduledResults"], true] ], 224 | { :request_style => :document, :request_use => :literal, 225 | :response_style => :document, :response_use => :literal } 226 | ], 227 | [ "FlightXML2:Search", 228 | "search", 229 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SearchRequest"], true], 230 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SearchResults"], true] ], 231 | { :request_style => :document, :request_use => :literal, 232 | :response_style => :document, :response_use => :literal } 233 | ], 234 | [ "FlightXML2:SearchBirdseyeInFlight", 235 | "searchBirdseyeInFlight", 236 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SearchBirdseyeInFlightRequest"], true], 237 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SearchBirdseyeInFlightResults"], true] ], 238 | { :request_style => :document, :request_use => :literal, 239 | :response_style => :document, :response_use => :literal } 240 | ], 241 | [ "FlightXML2:SearchBirdseyePositions", 242 | "searchBirdseyePositions", 243 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SearchBirdseyePositionsRequest"], true], 244 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SearchBirdseyePositionsResults"], true] ], 245 | { :request_style => :document, :request_use => :literal, 246 | :response_style => :document, :response_use => :literal } 247 | ], 248 | [ "FlightXML2:SearchCount", 249 | "searchCount", 250 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SearchCountRequest"], true], 251 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SearchCountResults"], true] ], 252 | { :request_style => :document, :request_use => :literal, 253 | :response_style => :document, :response_use => :literal } 254 | ], 255 | [ "FlightXML2:SetMaximumResultSize", 256 | "setMaximumResultSize", 257 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SetMaximumResultSizeRequest"], true], 258 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "SetMaximumResultSizeResults"], true] ], 259 | { :request_style => :document, :request_use => :literal, 260 | :response_style => :document, :response_use => :literal } 261 | ], 262 | [ "FlightXML2:Taf", 263 | "taf", 264 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "TafRequest"], true], 265 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "TafResults"], true] ], 266 | { :request_style => :document, :request_use => :literal, 267 | :response_style => :document, :response_use => :literal } 268 | ], 269 | [ "FlightXML2:TailOwner", 270 | "tailOwner", 271 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "TailOwnerRequest"], true], 272 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "TailOwnerResults"], true] ], 273 | { :request_style => :document, :request_use => :literal, 274 | :response_style => :document, :response_use => :literal } 275 | ], 276 | [ "FlightXML2:ZipcodeInfo", 277 | "zipcodeInfo", 278 | [ ["in", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "ZipcodeInfoRequest"], true], 279 | ["out", "parameters", ["::SOAP::SOAPElement", "http://flightxml.flightaware.com/soap/FlightXML2", "ZipcodeInfoResults"], true] ], 280 | { :request_style => :document, :request_use => :literal, 281 | :response_style => :document, :response_use => :literal } 282 | ] 283 | ] 284 | 285 | def initialize(username, apikey, endpoint_url = nil) 286 | endpoint_url ||= DefaultEndpointUrl 287 | super(endpoint_url, nil) 288 | self.mapping_registry = MappingRegistry 289 | init_methods 290 | self.options["protocol.http.basic_auth"] << [endpoint_url, username, apikey] 291 | end 292 | 293 | private 294 | 295 | def init_methods 296 | Methods.each do |definitions| 297 | opt = definitions.last 298 | if opt[:request_style] == :document 299 | add_document_operation(*definitions) 300 | else 301 | add_rpc_operation(*definitions) 302 | qname = definitions[0] 303 | name = definitions[2] 304 | if qname.name != name and qname.name.capitalize == name.capitalize 305 | ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg| 306 | __send__(name, *arg) 307 | end 308 | end 309 | end 310 | end 311 | end 312 | end 313 | 314 | 315 | # The following function overrides are necessary as of Ruby 1.8.6 316 | # (which includes SOAP 1.5.5) because of some unimplemented 317 | # functionality in /usr/lib/ruby/1.8/soap/netHttpClient.rb 318 | module SOAP 319 | class NetHttpClient 320 | 321 | def set_basic_auth(uri, user_id, passwd) 322 | @basic_auth = [user_id, passwd] 323 | end 324 | 325 | def post(url, req_body, header = {}) 326 | unless url.is_a?(URI) 327 | url = URI.parse(url) 328 | end 329 | extra = header.dup 330 | extra['User-Agent'] = @agent if @agent 331 | unless @basic_auth.nil? 332 | extra['authorization'] = 'Basic ' + ["#{@basic_auth[0]}:#{@basic_auth[1]}"].pack('m').delete("\r\n") 333 | end 334 | res = start(url) { |http| 335 | http.post(url.request_uri, req_body, extra) 336 | } 337 | Response.new(res) 338 | end 339 | 340 | end 341 | end 342 | 343 | -------------------------------------------------------------------------------- /FlightXML2.rb: -------------------------------------------------------------------------------- 1 | require 'xsd/qname' 2 | 3 | # {http://flightxml.flightaware.com/soap/FlightXML2}AircraftTypeRequest 4 | class AircraftTypeRequest 5 | @@schema_type = "AircraftTypeRequest" 6 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 7 | @@schema_element = [["type", "SOAP::SOAPString"]] 8 | 9 | attr_accessor :type 10 | 11 | def initialize(type = nil) 12 | @type = type 13 | end 14 | end 15 | 16 | # {http://flightxml.flightaware.com/soap/FlightXML2}AircraftTypeResults 17 | class AircraftTypeResults 18 | @@schema_type = "AircraftTypeResults" 19 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 20 | @@schema_element = [["aircraftTypeResult", ["AircraftTypeStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "AircraftTypeResult")]]] 21 | 22 | def AircraftTypeResult 23 | @aircraftTypeResult 24 | end 25 | 26 | def AircraftTypeResult=(value) 27 | @aircraftTypeResult = value 28 | end 29 | 30 | def initialize(aircraftTypeResult = nil) 31 | @aircraftTypeResult = aircraftTypeResult 32 | end 33 | end 34 | 35 | # {http://flightxml.flightaware.com/soap/FlightXML2}AircraftTypeStruct 36 | class AircraftTypeStruct 37 | @@schema_type = "AircraftTypeStruct" 38 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 39 | @@schema_element = [["manufacturer", "SOAP::SOAPString"], ["type", "SOAP::SOAPString"], ["description", "SOAP::SOAPString"]] 40 | 41 | attr_accessor :manufacturer 42 | attr_accessor :type 43 | attr_accessor :description 44 | 45 | def initialize(manufacturer = nil, type = nil, description = nil) 46 | @manufacturer = manufacturer 47 | @type = type 48 | @description = description 49 | end 50 | end 51 | 52 | # {http://flightxml.flightaware.com/soap/FlightXML2}AirlineInfoRequest 53 | class AirlineInfoRequest 54 | @@schema_type = "AirlineInfoRequest" 55 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 56 | @@schema_element = [["airlineCode", "SOAP::SOAPString"]] 57 | 58 | attr_accessor :airlineCode 59 | 60 | def initialize(airlineCode = nil) 61 | @airlineCode = airlineCode 62 | end 63 | end 64 | 65 | # {http://flightxml.flightaware.com/soap/FlightXML2}AirlineInfoResults 66 | class AirlineInfoResults 67 | @@schema_type = "AirlineInfoResults" 68 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 69 | @@schema_element = [["airlineInfoResult", ["AirlineInfoStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "AirlineInfoResult")]]] 70 | 71 | def AirlineInfoResult 72 | @airlineInfoResult 73 | end 74 | 75 | def AirlineInfoResult=(value) 76 | @airlineInfoResult = value 77 | end 78 | 79 | def initialize(airlineInfoResult = nil) 80 | @airlineInfoResult = airlineInfoResult 81 | end 82 | end 83 | 84 | # {http://flightxml.flightaware.com/soap/FlightXML2}AirlineInfoStruct 85 | class AirlineInfoStruct 86 | @@schema_type = "AirlineInfoStruct" 87 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 88 | @@schema_element = [["name", "SOAP::SOAPString"], ["shortname", "SOAP::SOAPString"], ["callsign", "SOAP::SOAPString"], ["location", "SOAP::SOAPString"], ["country", "SOAP::SOAPString"], ["url", "SOAP::SOAPString"], ["phone", "SOAP::SOAPString"]] 89 | 90 | attr_accessor :name 91 | attr_accessor :shortname 92 | attr_accessor :callsign 93 | attr_accessor :location 94 | attr_accessor :country 95 | attr_accessor :url 96 | attr_accessor :phone 97 | 98 | def initialize(name = nil, shortname = nil, callsign = nil, location = nil, country = nil, url = nil, phone = nil) 99 | @name = name 100 | @shortname = shortname 101 | @callsign = callsign 102 | @location = location 103 | @country = country 104 | @url = url 105 | @phone = phone 106 | end 107 | end 108 | 109 | # {http://flightxml.flightaware.com/soap/FlightXML2}AirportInfoRequest 110 | class AirportInfoRequest 111 | @@schema_type = "AirportInfoRequest" 112 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 113 | @@schema_element = [["airportCode", "SOAP::SOAPString"]] 114 | 115 | attr_accessor :airportCode 116 | 117 | def initialize(airportCode = nil) 118 | @airportCode = airportCode 119 | end 120 | end 121 | 122 | # {http://flightxml.flightaware.com/soap/FlightXML2}AirportInfoResults 123 | class AirportInfoResults 124 | @@schema_type = "AirportInfoResults" 125 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 126 | @@schema_element = [["airportInfoResult", ["AirportInfoStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "AirportInfoResult")]]] 127 | 128 | def AirportInfoResult 129 | @airportInfoResult 130 | end 131 | 132 | def AirportInfoResult=(value) 133 | @airportInfoResult = value 134 | end 135 | 136 | def initialize(airportInfoResult = nil) 137 | @airportInfoResult = airportInfoResult 138 | end 139 | end 140 | 141 | # {http://flightxml.flightaware.com/soap/FlightXML2}AirportInfoStruct 142 | class AirportInfoStruct 143 | @@schema_type = "AirportInfoStruct" 144 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 145 | @@schema_element = [["name", "SOAP::SOAPString"], ["location", "SOAP::SOAPString"], ["longitude", "SOAP::SOAPFloat"], ["latitude", "SOAP::SOAPFloat"], ["timezone", "SOAP::SOAPString"]] 146 | 147 | attr_accessor :name 148 | attr_accessor :location 149 | attr_accessor :longitude 150 | attr_accessor :latitude 151 | attr_accessor :timezone 152 | 153 | def initialize(name = nil, location = nil, longitude = nil, latitude = nil, timezone = nil) 154 | @name = name 155 | @location = location 156 | @longitude = longitude 157 | @latitude = latitude 158 | @timezone = timezone 159 | end 160 | end 161 | 162 | # {http://flightxml.flightaware.com/soap/FlightXML2}AllAirlinesRequest 163 | class AllAirlinesRequest 164 | @@schema_type = "AllAirlinesRequest" 165 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 166 | @@schema_element = [] 167 | 168 | def initialize 169 | end 170 | end 171 | 172 | # {http://flightxml.flightaware.com/soap/FlightXML2}AllAirlinesResults 173 | class AllAirlinesResults 174 | @@schema_type = "AllAirlinesResults" 175 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 176 | @@schema_element = [["allAirlinesResult", ["ArrayOfString", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "AllAirlinesResult")]]] 177 | 178 | def AllAirlinesResult 179 | @allAirlinesResult 180 | end 181 | 182 | def AllAirlinesResult=(value) 183 | @allAirlinesResult = value 184 | end 185 | 186 | def initialize(allAirlinesResult = nil) 187 | @allAirlinesResult = allAirlinesResult 188 | end 189 | end 190 | 191 | # {http://flightxml.flightaware.com/soap/FlightXML2}AllAirportsRequest 192 | class AllAirportsRequest 193 | @@schema_type = "AllAirportsRequest" 194 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 195 | @@schema_element = [] 196 | 197 | def initialize 198 | end 199 | end 200 | 201 | # {http://flightxml.flightaware.com/soap/FlightXML2}AllAirportsResults 202 | class AllAirportsResults 203 | @@schema_type = "AllAirportsResults" 204 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 205 | @@schema_element = [["allAirportsResult", ["ArrayOfString", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "AllAirportsResult")]]] 206 | 207 | def AllAirportsResult 208 | @allAirportsResult 209 | end 210 | 211 | def AllAirportsResult=(value) 212 | @allAirportsResult = value 213 | end 214 | 215 | def initialize(allAirportsResult = nil) 216 | @allAirportsResult = allAirportsResult 217 | end 218 | end 219 | 220 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrayOfCountAirlineOperationsStruct 221 | class ArrayOfCountAirlineOperationsStruct < ::Array 222 | @@schema_type = "CountAirlineOperationsStruct" 223 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 224 | @@schema_element = [["data", ["CountAirlineOperationsStruct[]", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "data")]]] 225 | end 226 | 227 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrayOfFlightRouteStruct 228 | class ArrayOfFlightRouteStruct 229 | @@schema_type = "ArrayOfFlightRouteStruct" 230 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 231 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["data", "FlightRouteStruct[]"]] 232 | 233 | attr_accessor :next_offset 234 | attr_accessor :data 235 | 236 | def initialize(next_offset = nil, data = []) 237 | @next_offset = next_offset 238 | @data = data 239 | end 240 | end 241 | 242 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrayOfMetarStruct 243 | class ArrayOfMetarStruct 244 | @@schema_type = "ArrayOfMetarStruct" 245 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 246 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["metar", "MetarStruct[]"]] 247 | 248 | attr_accessor :next_offset 249 | attr_accessor :metar 250 | 251 | def initialize(next_offset = nil, metar = []) 252 | @next_offset = next_offset 253 | @metar = metar 254 | end 255 | end 256 | 257 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrayOfRoutesBetweenAirportsExStruct 258 | class ArrayOfRoutesBetweenAirportsExStruct 259 | @@schema_type = "ArrayOfRoutesBetweenAirportsExStruct" 260 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 261 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["data", "RoutesBetweenAirportsExStruct[]"]] 262 | 263 | attr_accessor :next_offset 264 | attr_accessor :data 265 | 266 | def initialize(next_offset = nil, data = []) 267 | @next_offset = next_offset 268 | @data = data 269 | end 270 | end 271 | 272 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrayOfRoutesBetweenAirportsStruct 273 | class ArrayOfRoutesBetweenAirportsStruct < ::Array 274 | @@schema_type = "RoutesBetweenAirportsStruct" 275 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 276 | @@schema_element = [["data", ["RoutesBetweenAirportsStruct[]", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "data")]]] 277 | end 278 | 279 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrayOfString 280 | class ArrayOfString < ::Array 281 | @@schema_type = "string" 282 | @@schema_ns = "http://www.w3.org/2001/XMLSchema" 283 | @@schema_element = [["data", ["SOAP::SOAPString[]", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "data")]]] 284 | end 285 | 286 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrayOfTrackExStruct 287 | class ArrayOfTrackExStruct 288 | @@schema_type = "ArrayOfTrackExStruct" 289 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 290 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["data", "TrackExStruct[]"]] 291 | 292 | attr_accessor :next_offset 293 | attr_accessor :data 294 | 295 | def initialize(next_offset = nil, data = []) 296 | @next_offset = next_offset 297 | @data = data 298 | end 299 | end 300 | 301 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrayOfTrackStruct 302 | class ArrayOfTrackStruct < ::Array 303 | @@schema_type = "TrackStruct" 304 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 305 | @@schema_element = [["data", ["TrackStruct[]", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "data")]]] 306 | end 307 | 308 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrivalFlightStruct 309 | class ArrivalFlightStruct 310 | @@schema_type = "ArrivalFlightStruct" 311 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 312 | @@schema_element = [["ident", "SOAP::SOAPString"], ["aircrafttype", "SOAP::SOAPString"], ["actualdeparturetime", "SOAP::SOAPInt"], ["actualarrivaltime", "SOAP::SOAPInt"], ["origin", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"], ["originName", "SOAP::SOAPString"], ["originCity", "SOAP::SOAPString"], ["destinationName", "SOAP::SOAPString"], ["destinationCity", "SOAP::SOAPString"]] 313 | 314 | attr_accessor :ident 315 | attr_accessor :aircrafttype 316 | attr_accessor :actualdeparturetime 317 | attr_accessor :actualarrivaltime 318 | attr_accessor :origin 319 | attr_accessor :destination 320 | attr_accessor :originName 321 | attr_accessor :originCity 322 | attr_accessor :destinationName 323 | attr_accessor :destinationCity 324 | 325 | def initialize(ident = nil, aircrafttype = nil, actualdeparturetime = nil, actualarrivaltime = nil, origin = nil, destination = nil, originName = nil, originCity = nil, destinationName = nil, destinationCity = nil) 326 | @ident = ident 327 | @aircrafttype = aircrafttype 328 | @actualdeparturetime = actualdeparturetime 329 | @actualarrivaltime = actualarrivaltime 330 | @origin = origin 331 | @destination = destination 332 | @originName = originName 333 | @originCity = originCity 334 | @destinationName = destinationName 335 | @destinationCity = destinationCity 336 | end 337 | end 338 | 339 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrivalStruct 340 | class ArrivalStruct 341 | @@schema_type = "ArrivalStruct" 342 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 343 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["arrivals", "ArrivalFlightStruct[]"]] 344 | 345 | attr_accessor :next_offset 346 | attr_accessor :arrivals 347 | 348 | def initialize(next_offset = nil, arrivals = []) 349 | @next_offset = next_offset 350 | @arrivals = arrivals 351 | end 352 | end 353 | 354 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrivedRequest 355 | class ArrivedRequest 356 | @@schema_type = "ArrivedRequest" 357 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 358 | @@schema_element = [["airport", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["filter", "SOAP::SOAPString"], ["offset", "SOAP::SOAPInt"]] 359 | 360 | attr_accessor :airport 361 | attr_accessor :howMany 362 | attr_accessor :filter 363 | attr_accessor :offset 364 | 365 | def initialize(airport = nil, howMany = nil, filter = nil, offset = nil) 366 | @airport = airport 367 | @howMany = howMany 368 | @filter = filter 369 | @offset = offset 370 | end 371 | end 372 | 373 | # {http://flightxml.flightaware.com/soap/FlightXML2}ArrivedResults 374 | class ArrivedResults 375 | @@schema_type = "ArrivedResults" 376 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 377 | @@schema_element = [["arrivedResult", ["ArrivalStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "ArrivedResult")]]] 378 | 379 | def ArrivedResult 380 | @arrivedResult 381 | end 382 | 383 | def ArrivedResult=(value) 384 | @arrivedResult = value 385 | end 386 | 387 | def initialize(arrivedResult = nil) 388 | @arrivedResult = arrivedResult 389 | end 390 | end 391 | 392 | # {http://flightxml.flightaware.com/soap/FlightXML2}BlockIdentCheckRequest 393 | class BlockIdentCheckRequest 394 | @@schema_type = "BlockIdentCheckRequest" 395 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 396 | @@schema_element = [["ident", "SOAP::SOAPString"]] 397 | 398 | attr_accessor :ident 399 | 400 | def initialize(ident = nil) 401 | @ident = ident 402 | end 403 | end 404 | 405 | # {http://flightxml.flightaware.com/soap/FlightXML2}BlockIdentCheckResults 406 | class BlockIdentCheckResults 407 | @@schema_type = "BlockIdentCheckResults" 408 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 409 | @@schema_element = [["blockIdentCheckResult", ["SOAP::SOAPInt", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "BlockIdentCheckResult")]]] 410 | 411 | def BlockIdentCheckResult 412 | @blockIdentCheckResult 413 | end 414 | 415 | def BlockIdentCheckResult=(value) 416 | @blockIdentCheckResult = value 417 | end 418 | 419 | def initialize(blockIdentCheckResult = nil) 420 | @blockIdentCheckResult = blockIdentCheckResult 421 | end 422 | end 423 | 424 | # {http://flightxml.flightaware.com/soap/FlightXML2}CountAirlineOperationsStruct 425 | class CountAirlineOperationsStruct 426 | @@schema_type = "CountAirlineOperationsStruct" 427 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 428 | @@schema_element = [["icao", "SOAP::SOAPString"], ["name", "SOAP::SOAPString"], ["enroute", "SOAP::SOAPInt"]] 429 | 430 | attr_accessor :icao 431 | attr_accessor :name 432 | attr_accessor :enroute 433 | 434 | def initialize(icao = nil, name = nil, enroute = nil) 435 | @icao = icao 436 | @name = name 437 | @enroute = enroute 438 | end 439 | end 440 | 441 | # {http://flightxml.flightaware.com/soap/FlightXML2}CountAirportOperationsRequest 442 | class CountAirportOperationsRequest 443 | @@schema_type = "CountAirportOperationsRequest" 444 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 445 | @@schema_element = [["airport", "SOAP::SOAPString"]] 446 | 447 | attr_accessor :airport 448 | 449 | def initialize(airport = nil) 450 | @airport = airport 451 | end 452 | end 453 | 454 | # {http://flightxml.flightaware.com/soap/FlightXML2}CountAirportOperationsResults 455 | class CountAirportOperationsResults 456 | @@schema_type = "CountAirportOperationsResults" 457 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 458 | @@schema_element = [["countAirportOperationsResult", ["CountAirportOperationsStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "CountAirportOperationsResult")]]] 459 | 460 | def CountAirportOperationsResult 461 | @countAirportOperationsResult 462 | end 463 | 464 | def CountAirportOperationsResult=(value) 465 | @countAirportOperationsResult = value 466 | end 467 | 468 | def initialize(countAirportOperationsResult = nil) 469 | @countAirportOperationsResult = countAirportOperationsResult 470 | end 471 | end 472 | 473 | # {http://flightxml.flightaware.com/soap/FlightXML2}CountAirportOperationsStruct 474 | class CountAirportOperationsStruct 475 | @@schema_type = "CountAirportOperationsStruct" 476 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 477 | @@schema_element = [["enroute", "SOAP::SOAPInt"], ["departed", "SOAP::SOAPInt"], ["scheduled_departures", "SOAP::SOAPInt"], ["scheduled_arrivals", "SOAP::SOAPInt"]] 478 | 479 | attr_accessor :enroute 480 | attr_accessor :departed 481 | attr_accessor :scheduled_departures 482 | attr_accessor :scheduled_arrivals 483 | 484 | def initialize(enroute = nil, departed = nil, scheduled_departures = nil, scheduled_arrivals = nil) 485 | @enroute = enroute 486 | @departed = departed 487 | @scheduled_departures = scheduled_departures 488 | @scheduled_arrivals = scheduled_arrivals 489 | end 490 | end 491 | 492 | # {http://flightxml.flightaware.com/soap/FlightXML2}CountAllEnrouteAirlineOperationsRequest 493 | class CountAllEnrouteAirlineOperationsRequest 494 | @@schema_type = "CountAllEnrouteAirlineOperationsRequest" 495 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 496 | @@schema_element = [] 497 | 498 | def initialize 499 | end 500 | end 501 | 502 | # {http://flightxml.flightaware.com/soap/FlightXML2}CountAllEnrouteAirlineOperationsResults 503 | class CountAllEnrouteAirlineOperationsResults 504 | @@schema_type = "CountAllEnrouteAirlineOperationsResults" 505 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 506 | @@schema_element = [["countAllEnrouteAirlineOperationsResult", ["ArrayOfCountAirlineOperationsStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "CountAllEnrouteAirlineOperationsResult")]]] 507 | 508 | def CountAllEnrouteAirlineOperationsResult 509 | @countAllEnrouteAirlineOperationsResult 510 | end 511 | 512 | def CountAllEnrouteAirlineOperationsResult=(value) 513 | @countAllEnrouteAirlineOperationsResult = value 514 | end 515 | 516 | def initialize(countAllEnrouteAirlineOperationsResult = nil) 517 | @countAllEnrouteAirlineOperationsResult = countAllEnrouteAirlineOperationsResult 518 | end 519 | end 520 | 521 | # {http://flightxml.flightaware.com/soap/FlightXML2}DecodeFlightRouteRequest 522 | class DecodeFlightRouteRequest 523 | @@schema_type = "DecodeFlightRouteRequest" 524 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 525 | @@schema_element = [["faFlightID", "SOAP::SOAPString"]] 526 | 527 | attr_accessor :faFlightID 528 | 529 | def initialize(faFlightID = nil) 530 | @faFlightID = faFlightID 531 | end 532 | end 533 | 534 | # {http://flightxml.flightaware.com/soap/FlightXML2}DecodeFlightRouteResults 535 | class DecodeFlightRouteResults 536 | @@schema_type = "DecodeFlightRouteResults" 537 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 538 | @@schema_element = [["decodeFlightRouteResult", ["ArrayOfFlightRouteStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "DecodeFlightRouteResult")]]] 539 | 540 | def DecodeFlightRouteResult 541 | @decodeFlightRouteResult 542 | end 543 | 544 | def DecodeFlightRouteResult=(value) 545 | @decodeFlightRouteResult = value 546 | end 547 | 548 | def initialize(decodeFlightRouteResult = nil) 549 | @decodeFlightRouteResult = decodeFlightRouteResult 550 | end 551 | end 552 | 553 | # {http://flightxml.flightaware.com/soap/FlightXML2}DecodeRouteRequest 554 | class DecodeRouteRequest 555 | @@schema_type = "DecodeRouteRequest" 556 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 557 | @@schema_element = [["origin", "SOAP::SOAPString"], ["route", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"]] 558 | 559 | attr_accessor :origin 560 | attr_accessor :route 561 | attr_accessor :destination 562 | 563 | def initialize(origin = nil, route = nil, destination = nil) 564 | @origin = origin 565 | @route = route 566 | @destination = destination 567 | end 568 | end 569 | 570 | # {http://flightxml.flightaware.com/soap/FlightXML2}DecodeRouteResults 571 | class DecodeRouteResults 572 | @@schema_type = "DecodeRouteResults" 573 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 574 | @@schema_element = [["decodeRouteResult", ["ArrayOfFlightRouteStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "DecodeRouteResult")]]] 575 | 576 | def DecodeRouteResult 577 | @decodeRouteResult 578 | end 579 | 580 | def DecodeRouteResult=(value) 581 | @decodeRouteResult = value 582 | end 583 | 584 | def initialize(decodeRouteResult = nil) 585 | @decodeRouteResult = decodeRouteResult 586 | end 587 | end 588 | 589 | # {http://flightxml.flightaware.com/soap/FlightXML2}DepartedRequest 590 | class DepartedRequest 591 | @@schema_type = "DepartedRequest" 592 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 593 | @@schema_element = [["airport", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["filter", "SOAP::SOAPString"], ["offset", "SOAP::SOAPInt"]] 594 | 595 | attr_accessor :airport 596 | attr_accessor :howMany 597 | attr_accessor :filter 598 | attr_accessor :offset 599 | 600 | def initialize(airport = nil, howMany = nil, filter = nil, offset = nil) 601 | @airport = airport 602 | @howMany = howMany 603 | @filter = filter 604 | @offset = offset 605 | end 606 | end 607 | 608 | # {http://flightxml.flightaware.com/soap/FlightXML2}DepartedResults 609 | class DepartedResults 610 | @@schema_type = "DepartedResults" 611 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 612 | @@schema_element = [["departedResult", ["DepartureStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "DepartedResult")]]] 613 | 614 | def DepartedResult 615 | @departedResult 616 | end 617 | 618 | def DepartedResult=(value) 619 | @departedResult = value 620 | end 621 | 622 | def initialize(departedResult = nil) 623 | @departedResult = departedResult 624 | end 625 | end 626 | 627 | # {http://flightxml.flightaware.com/soap/FlightXML2}DepartureFlightStruct 628 | class DepartureFlightStruct 629 | @@schema_type = "DepartureFlightStruct" 630 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 631 | @@schema_element = [["ident", "SOAP::SOAPString"], ["aircrafttype", "SOAP::SOAPString"], ["actualdeparturetime", "SOAP::SOAPInt"], ["estimatedarrivaltime", "SOAP::SOAPInt"], ["actualarrivaltime", "SOAP::SOAPInt"], ["origin", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"], ["originName", "SOAP::SOAPString"], ["originCity", "SOAP::SOAPString"], ["destinationName", "SOAP::SOAPString"], ["destinationCity", "SOAP::SOAPString"]] 632 | 633 | attr_accessor :ident 634 | attr_accessor :aircrafttype 635 | attr_accessor :actualdeparturetime 636 | attr_accessor :estimatedarrivaltime 637 | attr_accessor :actualarrivaltime 638 | attr_accessor :origin 639 | attr_accessor :destination 640 | attr_accessor :originName 641 | attr_accessor :originCity 642 | attr_accessor :destinationName 643 | attr_accessor :destinationCity 644 | 645 | def initialize(ident = nil, aircrafttype = nil, actualdeparturetime = nil, estimatedarrivaltime = nil, actualarrivaltime = nil, origin = nil, destination = nil, originName = nil, originCity = nil, destinationName = nil, destinationCity = nil) 646 | @ident = ident 647 | @aircrafttype = aircrafttype 648 | @actualdeparturetime = actualdeparturetime 649 | @estimatedarrivaltime = estimatedarrivaltime 650 | @actualarrivaltime = actualarrivaltime 651 | @origin = origin 652 | @destination = destination 653 | @originName = originName 654 | @originCity = originCity 655 | @destinationName = destinationName 656 | @destinationCity = destinationCity 657 | end 658 | end 659 | 660 | # {http://flightxml.flightaware.com/soap/FlightXML2}DepartureStruct 661 | class DepartureStruct 662 | @@schema_type = "DepartureStruct" 663 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 664 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["departures", "DepartureFlightStruct[]"]] 665 | 666 | attr_accessor :next_offset 667 | attr_accessor :departures 668 | 669 | def initialize(next_offset = nil, departures = []) 670 | @next_offset = next_offset 671 | @departures = departures 672 | end 673 | end 674 | 675 | # {http://flightxml.flightaware.com/soap/FlightXML2}EnrouteFlightStruct 676 | class EnrouteFlightStruct 677 | @@schema_type = "EnrouteFlightStruct" 678 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 679 | @@schema_element = [["ident", "SOAP::SOAPString"], ["aircrafttype", "SOAP::SOAPString"], ["actualdeparturetime", "SOAP::SOAPInt"], ["estimatedarrivaltime", "SOAP::SOAPInt"], ["filed_departuretime", "SOAP::SOAPInt"], ["origin", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"], ["originName", "SOAP::SOAPString"], ["originCity", "SOAP::SOAPString"], ["destinationName", "SOAP::SOAPString"], ["destinationCity", "SOAP::SOAPString"]] 680 | 681 | attr_accessor :ident 682 | attr_accessor :aircrafttype 683 | attr_accessor :actualdeparturetime 684 | attr_accessor :estimatedarrivaltime 685 | attr_accessor :filed_departuretime 686 | attr_accessor :origin 687 | attr_accessor :destination 688 | attr_accessor :originName 689 | attr_accessor :originCity 690 | attr_accessor :destinationName 691 | attr_accessor :destinationCity 692 | 693 | def initialize(ident = nil, aircrafttype = nil, actualdeparturetime = nil, estimatedarrivaltime = nil, filed_departuretime = nil, origin = nil, destination = nil, originName = nil, originCity = nil, destinationName = nil, destinationCity = nil) 694 | @ident = ident 695 | @aircrafttype = aircrafttype 696 | @actualdeparturetime = actualdeparturetime 697 | @estimatedarrivaltime = estimatedarrivaltime 698 | @filed_departuretime = filed_departuretime 699 | @origin = origin 700 | @destination = destination 701 | @originName = originName 702 | @originCity = originCity 703 | @destinationName = destinationName 704 | @destinationCity = destinationCity 705 | end 706 | end 707 | 708 | # {http://flightxml.flightaware.com/soap/FlightXML2}EnrouteRequest 709 | class EnrouteRequest 710 | @@schema_type = "EnrouteRequest" 711 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 712 | @@schema_element = [["airport", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["filter", "SOAP::SOAPString"], ["offset", "SOAP::SOAPInt"]] 713 | 714 | attr_accessor :airport 715 | attr_accessor :howMany 716 | attr_accessor :filter 717 | attr_accessor :offset 718 | 719 | def initialize(airport = nil, howMany = nil, filter = nil, offset = nil) 720 | @airport = airport 721 | @howMany = howMany 722 | @filter = filter 723 | @offset = offset 724 | end 725 | end 726 | 727 | # {http://flightxml.flightaware.com/soap/FlightXML2}EnrouteResults 728 | class EnrouteResults 729 | @@schema_type = "EnrouteResults" 730 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 731 | @@schema_element = [["enrouteResult", ["EnrouteStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "EnrouteResult")]]] 732 | 733 | def EnrouteResult 734 | @enrouteResult 735 | end 736 | 737 | def EnrouteResult=(value) 738 | @enrouteResult = value 739 | end 740 | 741 | def initialize(enrouteResult = nil) 742 | @enrouteResult = enrouteResult 743 | end 744 | end 745 | 746 | # {http://flightxml.flightaware.com/soap/FlightXML2}EnrouteStruct 747 | class EnrouteStruct 748 | @@schema_type = "EnrouteStruct" 749 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 750 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["enroute", "EnrouteFlightStruct[]"]] 751 | 752 | attr_accessor :next_offset 753 | attr_accessor :enroute 754 | 755 | def initialize(next_offset = nil, enroute = []) 756 | @next_offset = next_offset 757 | @enroute = enroute 758 | end 759 | end 760 | 761 | # {http://flightxml.flightaware.com/soap/FlightXML2}FleetArrivedRequest 762 | class FleetArrivedRequest 763 | @@schema_type = "FleetArrivedRequest" 764 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 765 | @@schema_element = [["fleet", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["offset", "SOAP::SOAPInt"]] 766 | 767 | attr_accessor :fleet 768 | attr_accessor :howMany 769 | attr_accessor :offset 770 | 771 | def initialize(fleet = nil, howMany = nil, offset = nil) 772 | @fleet = fleet 773 | @howMany = howMany 774 | @offset = offset 775 | end 776 | end 777 | 778 | # {http://flightxml.flightaware.com/soap/FlightXML2}FleetArrivedResults 779 | class FleetArrivedResults 780 | @@schema_type = "FleetArrivedResults" 781 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 782 | @@schema_element = [["fleetArrivedResult", ["ArrivalStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "FleetArrivedResult")]]] 783 | 784 | def FleetArrivedResult 785 | @fleetArrivedResult 786 | end 787 | 788 | def FleetArrivedResult=(value) 789 | @fleetArrivedResult = value 790 | end 791 | 792 | def initialize(fleetArrivedResult = nil) 793 | @fleetArrivedResult = fleetArrivedResult 794 | end 795 | end 796 | 797 | # {http://flightxml.flightaware.com/soap/FlightXML2}FleetScheduledRequest 798 | class FleetScheduledRequest 799 | @@schema_type = "FleetScheduledRequest" 800 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 801 | @@schema_element = [["fleet", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["offset", "SOAP::SOAPInt"]] 802 | 803 | attr_accessor :fleet 804 | attr_accessor :howMany 805 | attr_accessor :offset 806 | 807 | def initialize(fleet = nil, howMany = nil, offset = nil) 808 | @fleet = fleet 809 | @howMany = howMany 810 | @offset = offset 811 | end 812 | end 813 | 814 | # {http://flightxml.flightaware.com/soap/FlightXML2}FleetScheduledResults 815 | class FleetScheduledResults 816 | @@schema_type = "FleetScheduledResults" 817 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 818 | @@schema_element = [["fleetScheduledResult", ["ScheduledStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "FleetScheduledResult")]]] 819 | 820 | def FleetScheduledResult 821 | @fleetScheduledResult 822 | end 823 | 824 | def FleetScheduledResult=(value) 825 | @fleetScheduledResult = value 826 | end 827 | 828 | def initialize(fleetScheduledResult = nil) 829 | @fleetScheduledResult = fleetScheduledResult 830 | end 831 | end 832 | 833 | # {http://flightxml.flightaware.com/soap/FlightXML2}FlightExStruct 834 | class FlightExStruct 835 | @@schema_type = "FlightExStruct" 836 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 837 | @@schema_element = [["faFlightID", "SOAP::SOAPString"], ["ident", "SOAP::SOAPString"], ["aircrafttype", "SOAP::SOAPString"], ["filed_ete", "SOAP::SOAPString"], ["filed_time", "SOAP::SOAPInt"], ["filed_departuretime", "SOAP::SOAPInt"], ["filed_airspeed_kts", "SOAP::SOAPInt"], ["filed_airspeed_mach", "SOAP::SOAPString"], ["filed_altitude", "SOAP::SOAPInt"], ["route", "SOAP::SOAPString"], ["actualdeparturetime", "SOAP::SOAPInt"], ["estimatedarrivaltime", "SOAP::SOAPInt"], ["actualarrivaltime", "SOAP::SOAPInt"], ["diverted", "SOAP::SOAPString"], ["origin", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"], ["originName", "SOAP::SOAPString"], ["originCity", "SOAP::SOAPString"], ["destinationName", "SOAP::SOAPString"], ["destinationCity", "SOAP::SOAPString"]] 838 | 839 | attr_accessor :faFlightID 840 | attr_accessor :ident 841 | attr_accessor :aircrafttype 842 | attr_accessor :filed_ete 843 | attr_accessor :filed_time 844 | attr_accessor :filed_departuretime 845 | attr_accessor :filed_airspeed_kts 846 | attr_accessor :filed_airspeed_mach 847 | attr_accessor :filed_altitude 848 | attr_accessor :route 849 | attr_accessor :actualdeparturetime 850 | attr_accessor :estimatedarrivaltime 851 | attr_accessor :actualarrivaltime 852 | attr_accessor :diverted 853 | attr_accessor :origin 854 | attr_accessor :destination 855 | attr_accessor :originName 856 | attr_accessor :originCity 857 | attr_accessor :destinationName 858 | attr_accessor :destinationCity 859 | 860 | def initialize(faFlightID = nil, ident = nil, aircrafttype = nil, filed_ete = nil, filed_time = nil, filed_departuretime = nil, filed_airspeed_kts = nil, filed_airspeed_mach = nil, filed_altitude = nil, route = nil, actualdeparturetime = nil, estimatedarrivaltime = nil, actualarrivaltime = nil, diverted = nil, origin = nil, destination = nil, originName = nil, originCity = nil, destinationName = nil, destinationCity = nil) 861 | @faFlightID = faFlightID 862 | @ident = ident 863 | @aircrafttype = aircrafttype 864 | @filed_ete = filed_ete 865 | @filed_time = filed_time 866 | @filed_departuretime = filed_departuretime 867 | @filed_airspeed_kts = filed_airspeed_kts 868 | @filed_airspeed_mach = filed_airspeed_mach 869 | @filed_altitude = filed_altitude 870 | @route = route 871 | @actualdeparturetime = actualdeparturetime 872 | @estimatedarrivaltime = estimatedarrivaltime 873 | @actualarrivaltime = actualarrivaltime 874 | @diverted = diverted 875 | @origin = origin 876 | @destination = destination 877 | @originName = originName 878 | @originCity = originCity 879 | @destinationName = destinationName 880 | @destinationCity = destinationCity 881 | end 882 | end 883 | 884 | # {http://flightxml.flightaware.com/soap/FlightXML2}FlightInfoExRequest 885 | class FlightInfoExRequest 886 | @@schema_type = "FlightInfoExRequest" 887 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 888 | @@schema_element = [["ident", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["offset", "SOAP::SOAPInt"]] 889 | 890 | attr_accessor :ident 891 | attr_accessor :howMany 892 | attr_accessor :offset 893 | 894 | def initialize(ident = nil, howMany = nil, offset = nil) 895 | @ident = ident 896 | @howMany = howMany 897 | @offset = offset 898 | end 899 | end 900 | 901 | # {http://flightxml.flightaware.com/soap/FlightXML2}FlightInfoExResults 902 | class FlightInfoExResults 903 | @@schema_type = "FlightInfoExResults" 904 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 905 | @@schema_element = [["flightInfoExResult", ["FlightInfoExStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "FlightInfoExResult")]]] 906 | 907 | def FlightInfoExResult 908 | @flightInfoExResult 909 | end 910 | 911 | def FlightInfoExResult=(value) 912 | @flightInfoExResult = value 913 | end 914 | 915 | def initialize(flightInfoExResult = nil) 916 | @flightInfoExResult = flightInfoExResult 917 | end 918 | end 919 | 920 | # {http://flightxml.flightaware.com/soap/FlightXML2}FlightInfoExStruct 921 | class FlightInfoExStruct 922 | @@schema_type = "FlightInfoExStruct" 923 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 924 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["flights", "FlightExStruct[]"]] 925 | 926 | attr_accessor :next_offset 927 | attr_accessor :flights 928 | 929 | def initialize(next_offset = nil, flights = []) 930 | @next_offset = next_offset 931 | @flights = flights 932 | end 933 | end 934 | 935 | # {http://flightxml.flightaware.com/soap/FlightXML2}FlightInfoRequest 936 | class FlightInfoRequest 937 | @@schema_type = "FlightInfoRequest" 938 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 939 | @@schema_element = [["ident", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"]] 940 | 941 | attr_accessor :ident 942 | attr_accessor :howMany 943 | 944 | def initialize(ident = nil, howMany = nil) 945 | @ident = ident 946 | @howMany = howMany 947 | end 948 | end 949 | 950 | # {http://flightxml.flightaware.com/soap/FlightXML2}FlightInfoResults 951 | class FlightInfoResults 952 | @@schema_type = "FlightInfoResults" 953 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 954 | @@schema_element = [["flightInfoResult", ["FlightInfoStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "FlightInfoResult")]]] 955 | 956 | def FlightInfoResult 957 | @flightInfoResult 958 | end 959 | 960 | def FlightInfoResult=(value) 961 | @flightInfoResult = value 962 | end 963 | 964 | def initialize(flightInfoResult = nil) 965 | @flightInfoResult = flightInfoResult 966 | end 967 | end 968 | 969 | # {http://flightxml.flightaware.com/soap/FlightXML2}FlightInfoStruct 970 | class FlightInfoStruct 971 | @@schema_type = "FlightInfoStruct" 972 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 973 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["flights", "FlightStruct[]"]] 974 | 975 | attr_accessor :next_offset 976 | attr_accessor :flights 977 | 978 | def initialize(next_offset = nil, flights = []) 979 | @next_offset = next_offset 980 | @flights = flights 981 | end 982 | end 983 | 984 | # {http://flightxml.flightaware.com/soap/FlightXML2}FlightRouteStruct 985 | class FlightRouteStruct 986 | @@schema_type = "FlightRouteStruct" 987 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 988 | @@schema_element = [["name", "SOAP::SOAPString"], ["type", "SOAP::SOAPString"], ["latitude", "SOAP::SOAPFloat"], ["longitude", "SOAP::SOAPFloat"]] 989 | 990 | attr_accessor :name 991 | attr_accessor :type 992 | attr_accessor :latitude 993 | attr_accessor :longitude 994 | 995 | def initialize(name = nil, type = nil, latitude = nil, longitude = nil) 996 | @name = name 997 | @type = type 998 | @latitude = latitude 999 | @longitude = longitude 1000 | end 1001 | end 1002 | 1003 | # {http://flightxml.flightaware.com/soap/FlightXML2}FlightStruct 1004 | class FlightStruct 1005 | @@schema_type = "FlightStruct" 1006 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1007 | @@schema_element = [["ident", "SOAP::SOAPString"], ["aircrafttype", "SOAP::SOAPString"], ["filed_ete", "SOAP::SOAPString"], ["filed_time", "SOAP::SOAPInt"], ["filed_departuretime", "SOAP::SOAPInt"], ["filed_airspeed_kts", "SOAP::SOAPInt"], ["filed_airspeed_mach", "SOAP::SOAPString"], ["filed_altitude", "SOAP::SOAPInt"], ["route", "SOAP::SOAPString"], ["actualdeparturetime", "SOAP::SOAPInt"], ["estimatedarrivaltime", "SOAP::SOAPInt"], ["actualarrivaltime", "SOAP::SOAPInt"], ["diverted", "SOAP::SOAPString"], ["origin", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"], ["originName", "SOAP::SOAPString"], ["originCity", "SOAP::SOAPString"], ["destinationName", "SOAP::SOAPString"], ["destinationCity", "SOAP::SOAPString"]] 1008 | 1009 | attr_accessor :ident 1010 | attr_accessor :aircrafttype 1011 | attr_accessor :filed_ete 1012 | attr_accessor :filed_time 1013 | attr_accessor :filed_departuretime 1014 | attr_accessor :filed_airspeed_kts 1015 | attr_accessor :filed_airspeed_mach 1016 | attr_accessor :filed_altitude 1017 | attr_accessor :route 1018 | attr_accessor :actualdeparturetime 1019 | attr_accessor :estimatedarrivaltime 1020 | attr_accessor :actualarrivaltime 1021 | attr_accessor :diverted 1022 | attr_accessor :origin 1023 | attr_accessor :destination 1024 | attr_accessor :originName 1025 | attr_accessor :originCity 1026 | attr_accessor :destinationName 1027 | attr_accessor :destinationCity 1028 | 1029 | def initialize(ident = nil, aircrafttype = nil, filed_ete = nil, filed_time = nil, filed_departuretime = nil, filed_airspeed_kts = nil, filed_airspeed_mach = nil, filed_altitude = nil, route = nil, actualdeparturetime = nil, estimatedarrivaltime = nil, actualarrivaltime = nil, diverted = nil, origin = nil, destination = nil, originName = nil, originCity = nil, destinationName = nil, destinationCity = nil) 1030 | @ident = ident 1031 | @aircrafttype = aircrafttype 1032 | @filed_ete = filed_ete 1033 | @filed_time = filed_time 1034 | @filed_departuretime = filed_departuretime 1035 | @filed_airspeed_kts = filed_airspeed_kts 1036 | @filed_airspeed_mach = filed_airspeed_mach 1037 | @filed_altitude = filed_altitude 1038 | @route = route 1039 | @actualdeparturetime = actualdeparturetime 1040 | @estimatedarrivaltime = estimatedarrivaltime 1041 | @actualarrivaltime = actualarrivaltime 1042 | @diverted = diverted 1043 | @origin = origin 1044 | @destination = destination 1045 | @originName = originName 1046 | @originCity = originCity 1047 | @destinationName = destinationName 1048 | @destinationCity = destinationCity 1049 | end 1050 | end 1051 | 1052 | # {http://flightxml.flightaware.com/soap/FlightXML2}GetFlightIDRequest 1053 | class GetFlightIDRequest 1054 | @@schema_type = "GetFlightIDRequest" 1055 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1056 | @@schema_element = [["ident", "SOAP::SOAPString"], ["departureTime", "SOAP::SOAPInt"]] 1057 | 1058 | attr_accessor :ident 1059 | attr_accessor :departureTime 1060 | 1061 | def initialize(ident = nil, departureTime = nil) 1062 | @ident = ident 1063 | @departureTime = departureTime 1064 | end 1065 | end 1066 | 1067 | # {http://flightxml.flightaware.com/soap/FlightXML2}GetFlightIDResults 1068 | class GetFlightIDResults 1069 | @@schema_type = "GetFlightIDResults" 1070 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1071 | @@schema_element = [["getFlightIDResult", ["SOAP::SOAPString", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "GetFlightIDResult")]]] 1072 | 1073 | def GetFlightIDResult 1074 | @getFlightIDResult 1075 | end 1076 | 1077 | def GetFlightIDResult=(value) 1078 | @getFlightIDResult = value 1079 | end 1080 | 1081 | def initialize(getFlightIDResult = nil) 1082 | @getFlightIDResult = getFlightIDResult 1083 | end 1084 | end 1085 | 1086 | # {http://flightxml.flightaware.com/soap/FlightXML2}GetHistoricalTrackRequest 1087 | class GetHistoricalTrackRequest 1088 | @@schema_type = "GetHistoricalTrackRequest" 1089 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1090 | @@schema_element = [["faFlightID", "SOAP::SOAPString"]] 1091 | 1092 | attr_accessor :faFlightID 1093 | 1094 | def initialize(faFlightID = nil) 1095 | @faFlightID = faFlightID 1096 | end 1097 | end 1098 | 1099 | # {http://flightxml.flightaware.com/soap/FlightXML2}GetHistoricalTrackResults 1100 | class GetHistoricalTrackResults 1101 | @@schema_type = "GetHistoricalTrackResults" 1102 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1103 | @@schema_element = [["getHistoricalTrackResult", ["ArrayOfTrackStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "GetHistoricalTrackResult")]]] 1104 | 1105 | def GetHistoricalTrackResult 1106 | @getHistoricalTrackResult 1107 | end 1108 | 1109 | def GetHistoricalTrackResult=(value) 1110 | @getHistoricalTrackResult = value 1111 | end 1112 | 1113 | def initialize(getHistoricalTrackResult = nil) 1114 | @getHistoricalTrackResult = getHistoricalTrackResult 1115 | end 1116 | end 1117 | 1118 | # {http://flightxml.flightaware.com/soap/FlightXML2}GetLastTrackRequest 1119 | class GetLastTrackRequest 1120 | @@schema_type = "GetLastTrackRequest" 1121 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1122 | @@schema_element = [["ident", "SOAP::SOAPString"]] 1123 | 1124 | attr_accessor :ident 1125 | 1126 | def initialize(ident = nil) 1127 | @ident = ident 1128 | end 1129 | end 1130 | 1131 | # {http://flightxml.flightaware.com/soap/FlightXML2}GetLastTrackResults 1132 | class GetLastTrackResults 1133 | @@schema_type = "GetLastTrackResults" 1134 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1135 | @@schema_element = [["getLastTrackResult", ["ArrayOfTrackStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "GetLastTrackResult")]]] 1136 | 1137 | def GetLastTrackResult 1138 | @getLastTrackResult 1139 | end 1140 | 1141 | def GetLastTrackResult=(value) 1142 | @getLastTrackResult = value 1143 | end 1144 | 1145 | def initialize(getLastTrackResult = nil) 1146 | @getLastTrackResult = getLastTrackResult 1147 | end 1148 | end 1149 | 1150 | # {http://flightxml.flightaware.com/soap/FlightXML2}InFlightAircraftStruct 1151 | class InFlightAircraftStruct 1152 | @@schema_type = "InFlightAircraftStruct" 1153 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1154 | @@schema_element = [["faFlightID", "SOAP::SOAPString"], ["ident", "SOAP::SOAPString"], ["prefix", "SOAP::SOAPString"], ["type", "SOAP::SOAPString"], ["suffix", "SOAP::SOAPString"], ["origin", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"], ["timeout", "SOAP::SOAPString"], ["timestamp", "SOAP::SOAPInt"], ["departureTime", "SOAP::SOAPInt"], ["firstPositionTime", "SOAP::SOAPInt"], ["arrivalTime", "SOAP::SOAPInt"], ["longitude", "SOAP::SOAPFloat"], ["latitude", "SOAP::SOAPFloat"], ["lowLongitude", "SOAP::SOAPFloat"], ["lowLatitude", "SOAP::SOAPFloat"], ["highLongitude", "SOAP::SOAPFloat"], ["highLatitude", "SOAP::SOAPFloat"], ["groundspeed", "SOAP::SOAPInt"], ["altitude", "SOAP::SOAPInt"], ["heading", "SOAP::SOAPInt"], ["altitudeStatus", "SOAP::SOAPString"], ["updateType", "SOAP::SOAPString"], ["altitudeChange", "SOAP::SOAPString"], ["waypoints", "SOAP::SOAPString"]] 1155 | 1156 | attr_accessor :faFlightID 1157 | attr_accessor :ident 1158 | attr_accessor :prefix 1159 | attr_accessor :type 1160 | attr_accessor :suffix 1161 | attr_accessor :origin 1162 | attr_accessor :destination 1163 | attr_accessor :timeout 1164 | attr_accessor :timestamp 1165 | attr_accessor :departureTime 1166 | attr_accessor :firstPositionTime 1167 | attr_accessor :arrivalTime 1168 | attr_accessor :longitude 1169 | attr_accessor :latitude 1170 | attr_accessor :lowLongitude 1171 | attr_accessor :lowLatitude 1172 | attr_accessor :highLongitude 1173 | attr_accessor :highLatitude 1174 | attr_accessor :groundspeed 1175 | attr_accessor :altitude 1176 | attr_accessor :heading 1177 | attr_accessor :altitudeStatus 1178 | attr_accessor :updateType 1179 | attr_accessor :altitudeChange 1180 | attr_accessor :waypoints 1181 | 1182 | def initialize(faFlightID = nil, ident = nil, prefix = nil, type = nil, suffix = nil, origin = nil, destination = nil, timeout = nil, timestamp = nil, departureTime = nil, firstPositionTime = nil, arrivalTime = nil, longitude = nil, latitude = nil, lowLongitude = nil, lowLatitude = nil, highLongitude = nil, highLatitude = nil, groundspeed = nil, altitude = nil, heading = nil, altitudeStatus = nil, updateType = nil, altitudeChange = nil, waypoints = nil) 1183 | @faFlightID = faFlightID 1184 | @ident = ident 1185 | @prefix = prefix 1186 | @type = type 1187 | @suffix = suffix 1188 | @origin = origin 1189 | @destination = destination 1190 | @timeout = timeout 1191 | @timestamp = timestamp 1192 | @departureTime = departureTime 1193 | @firstPositionTime = firstPositionTime 1194 | @arrivalTime = arrivalTime 1195 | @longitude = longitude 1196 | @latitude = latitude 1197 | @lowLongitude = lowLongitude 1198 | @lowLatitude = lowLatitude 1199 | @highLongitude = highLongitude 1200 | @highLatitude = highLatitude 1201 | @groundspeed = groundspeed 1202 | @altitude = altitude 1203 | @heading = heading 1204 | @altitudeStatus = altitudeStatus 1205 | @updateType = updateType 1206 | @altitudeChange = altitudeChange 1207 | @waypoints = waypoints 1208 | end 1209 | end 1210 | 1211 | # {http://flightxml.flightaware.com/soap/FlightXML2}InFlightInfoRequest 1212 | class InFlightInfoRequest 1213 | @@schema_type = "InFlightInfoRequest" 1214 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1215 | @@schema_element = [["ident", "SOAP::SOAPString"]] 1216 | 1217 | attr_accessor :ident 1218 | 1219 | def initialize(ident = nil) 1220 | @ident = ident 1221 | end 1222 | end 1223 | 1224 | # {http://flightxml.flightaware.com/soap/FlightXML2}InFlightInfoResults 1225 | class InFlightInfoResults 1226 | @@schema_type = "InFlightInfoResults" 1227 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1228 | @@schema_element = [["inFlightInfoResult", ["InFlightAircraftStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "InFlightInfoResult")]]] 1229 | 1230 | def InFlightInfoResult 1231 | @inFlightInfoResult 1232 | end 1233 | 1234 | def InFlightInfoResult=(value) 1235 | @inFlightInfoResult = value 1236 | end 1237 | 1238 | def initialize(inFlightInfoResult = nil) 1239 | @inFlightInfoResult = inFlightInfoResult 1240 | end 1241 | end 1242 | 1243 | # {http://flightxml.flightaware.com/soap/FlightXML2}InFlightStruct 1244 | class InFlightStruct 1245 | @@schema_type = "InFlightStruct" 1246 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1247 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["aircraft", "InFlightAircraftStruct[]"]] 1248 | 1249 | attr_accessor :next_offset 1250 | attr_accessor :aircraft 1251 | 1252 | def initialize(next_offset = nil, aircraft = []) 1253 | @next_offset = next_offset 1254 | @aircraft = aircraft 1255 | end 1256 | end 1257 | 1258 | # {http://flightxml.flightaware.com/soap/FlightXML2}LatLongsToDistanceRequest 1259 | class LatLongsToDistanceRequest 1260 | @@schema_type = "LatLongsToDistanceRequest" 1261 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1262 | @@schema_element = [["lat1", "SOAP::SOAPFloat"], ["lon1", "SOAP::SOAPFloat"], ["lat2", "SOAP::SOAPFloat"], ["lon2", "SOAP::SOAPFloat"]] 1263 | 1264 | attr_accessor :lat1 1265 | attr_accessor :lon1 1266 | attr_accessor :lat2 1267 | attr_accessor :lon2 1268 | 1269 | def initialize(lat1 = nil, lon1 = nil, lat2 = nil, lon2 = nil) 1270 | @lat1 = lat1 1271 | @lon1 = lon1 1272 | @lat2 = lat2 1273 | @lon2 = lon2 1274 | end 1275 | end 1276 | 1277 | # {http://flightxml.flightaware.com/soap/FlightXML2}LatLongsToDistanceResults 1278 | class LatLongsToDistanceResults 1279 | @@schema_type = "LatLongsToDistanceResults" 1280 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1281 | @@schema_element = [["latLongsToDistanceResult", ["SOAP::SOAPInt", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "LatLongsToDistanceResult")]]] 1282 | 1283 | def LatLongsToDistanceResult 1284 | @latLongsToDistanceResult 1285 | end 1286 | 1287 | def LatLongsToDistanceResult=(value) 1288 | @latLongsToDistanceResult = value 1289 | end 1290 | 1291 | def initialize(latLongsToDistanceResult = nil) 1292 | @latLongsToDistanceResult = latLongsToDistanceResult 1293 | end 1294 | end 1295 | 1296 | # {http://flightxml.flightaware.com/soap/FlightXML2}LatLongsToHeadingRequest 1297 | class LatLongsToHeadingRequest 1298 | @@schema_type = "LatLongsToHeadingRequest" 1299 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1300 | @@schema_element = [["lat1", "SOAP::SOAPFloat"], ["lon1", "SOAP::SOAPFloat"], ["lat2", "SOAP::SOAPFloat"], ["lon2", "SOAP::SOAPFloat"]] 1301 | 1302 | attr_accessor :lat1 1303 | attr_accessor :lon1 1304 | attr_accessor :lat2 1305 | attr_accessor :lon2 1306 | 1307 | def initialize(lat1 = nil, lon1 = nil, lat2 = nil, lon2 = nil) 1308 | @lat1 = lat1 1309 | @lon1 = lon1 1310 | @lat2 = lat2 1311 | @lon2 = lon2 1312 | end 1313 | end 1314 | 1315 | # {http://flightxml.flightaware.com/soap/FlightXML2}LatLongsToHeadingResults 1316 | class LatLongsToHeadingResults 1317 | @@schema_type = "LatLongsToHeadingResults" 1318 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1319 | @@schema_element = [["latLongsToHeadingResult", ["SOAP::SOAPInt", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "LatLongsToHeadingResult")]]] 1320 | 1321 | def LatLongsToHeadingResult 1322 | @latLongsToHeadingResult 1323 | end 1324 | 1325 | def LatLongsToHeadingResult=(value) 1326 | @latLongsToHeadingResult = value 1327 | end 1328 | 1329 | def initialize(latLongsToHeadingResult = nil) 1330 | @latLongsToHeadingResult = latLongsToHeadingResult 1331 | end 1332 | end 1333 | 1334 | # {http://flightxml.flightaware.com/soap/FlightXML2}MapFlightExRequest 1335 | class MapFlightExRequest 1336 | @@schema_type = "MapFlightExRequest" 1337 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1338 | @@schema_element = [["faFlightID", "SOAP::SOAPString"], ["mapHeight", "SOAP::SOAPInt"], ["mapWidth", "SOAP::SOAPInt"], ["layer_on", "SOAP::SOAPString[]"], ["layer_off", "SOAP::SOAPString[]"], ["show_data_blocks", "SOAP::SOAPBoolean"], ["show_airports", "SOAP::SOAPBoolean"], ["airports_expand_view", "SOAP::SOAPBoolean"], ["latlon_box", "SOAP::SOAPFloat[]"]] 1339 | 1340 | attr_accessor :faFlightID 1341 | attr_accessor :mapHeight 1342 | attr_accessor :mapWidth 1343 | attr_accessor :layer_on 1344 | attr_accessor :layer_off 1345 | attr_accessor :show_data_blocks 1346 | attr_accessor :show_airports 1347 | attr_accessor :airports_expand_view 1348 | attr_accessor :latlon_box 1349 | 1350 | def initialize(faFlightID = nil, mapHeight = nil, mapWidth = nil, layer_on = [], layer_off = [], show_data_blocks = nil, show_airports = nil, airports_expand_view = nil, latlon_box = []) 1351 | @faFlightID = faFlightID 1352 | @mapHeight = mapHeight 1353 | @mapWidth = mapWidth 1354 | @layer_on = layer_on 1355 | @layer_off = layer_off 1356 | @show_data_blocks = show_data_blocks 1357 | @show_airports = show_airports 1358 | @airports_expand_view = airports_expand_view 1359 | @latlon_box = latlon_box 1360 | end 1361 | end 1362 | 1363 | # {http://flightxml.flightaware.com/soap/FlightXML2}MapFlightExResults 1364 | class MapFlightExResults 1365 | @@schema_type = "MapFlightExResults" 1366 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1367 | @@schema_element = [["mapFlightExResult", ["SOAP::SOAPString", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "MapFlightExResult")]]] 1368 | 1369 | def MapFlightExResult 1370 | @mapFlightExResult 1371 | end 1372 | 1373 | def MapFlightExResult=(value) 1374 | @mapFlightExResult = value 1375 | end 1376 | 1377 | def initialize(mapFlightExResult = nil) 1378 | @mapFlightExResult = mapFlightExResult 1379 | end 1380 | end 1381 | 1382 | # {http://flightxml.flightaware.com/soap/FlightXML2}MapFlightRequest 1383 | class MapFlightRequest 1384 | @@schema_type = "MapFlightRequest" 1385 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1386 | @@schema_element = [["ident", "SOAP::SOAPString"], ["mapHeight", "SOAP::SOAPInt"], ["mapWidth", "SOAP::SOAPInt"]] 1387 | 1388 | attr_accessor :ident 1389 | attr_accessor :mapHeight 1390 | attr_accessor :mapWidth 1391 | 1392 | def initialize(ident = nil, mapHeight = nil, mapWidth = nil) 1393 | @ident = ident 1394 | @mapHeight = mapHeight 1395 | @mapWidth = mapWidth 1396 | end 1397 | end 1398 | 1399 | # {http://flightxml.flightaware.com/soap/FlightXML2}MapFlightResults 1400 | class MapFlightResults 1401 | @@schema_type = "MapFlightResults" 1402 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1403 | @@schema_element = [["mapFlightResult", ["SOAP::SOAPString", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "MapFlightResult")]]] 1404 | 1405 | def MapFlightResult 1406 | @mapFlightResult 1407 | end 1408 | 1409 | def MapFlightResult=(value) 1410 | @mapFlightResult = value 1411 | end 1412 | 1413 | def initialize(mapFlightResult = nil) 1414 | @mapFlightResult = mapFlightResult 1415 | end 1416 | end 1417 | 1418 | # {http://flightxml.flightaware.com/soap/FlightXML2}MetarExRequest 1419 | class MetarExRequest 1420 | @@schema_type = "MetarExRequest" 1421 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1422 | @@schema_element = [["airport", "SOAP::SOAPString"], ["startTime", "SOAP::SOAPInt"], ["howMany", "SOAP::SOAPInt"], ["offset", "SOAP::SOAPInt"]] 1423 | 1424 | attr_accessor :airport 1425 | attr_accessor :startTime 1426 | attr_accessor :howMany 1427 | attr_accessor :offset 1428 | 1429 | def initialize(airport = nil, startTime = nil, howMany = nil, offset = nil) 1430 | @airport = airport 1431 | @startTime = startTime 1432 | @howMany = howMany 1433 | @offset = offset 1434 | end 1435 | end 1436 | 1437 | # {http://flightxml.flightaware.com/soap/FlightXML2}MetarExResults 1438 | class MetarExResults 1439 | @@schema_type = "MetarExResults" 1440 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1441 | @@schema_element = [["metarExResult", ["ArrayOfMetarStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "MetarExResult")]]] 1442 | 1443 | def MetarExResult 1444 | @metarExResult 1445 | end 1446 | 1447 | def MetarExResult=(value) 1448 | @metarExResult = value 1449 | end 1450 | 1451 | def initialize(metarExResult = nil) 1452 | @metarExResult = metarExResult 1453 | end 1454 | end 1455 | 1456 | # {http://flightxml.flightaware.com/soap/FlightXML2}MetarRequest 1457 | class MetarRequest 1458 | @@schema_type = "MetarRequest" 1459 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1460 | @@schema_element = [["airport", "SOAP::SOAPString"]] 1461 | 1462 | attr_accessor :airport 1463 | 1464 | def initialize(airport = nil) 1465 | @airport = airport 1466 | end 1467 | end 1468 | 1469 | # {http://flightxml.flightaware.com/soap/FlightXML2}MetarResults 1470 | class MetarResults 1471 | @@schema_type = "MetarResults" 1472 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1473 | @@schema_element = [["metarResult", ["SOAP::SOAPString", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "MetarResult")]]] 1474 | 1475 | def MetarResult 1476 | @metarResult 1477 | end 1478 | 1479 | def MetarResult=(value) 1480 | @metarResult = value 1481 | end 1482 | 1483 | def initialize(metarResult = nil) 1484 | @metarResult = metarResult 1485 | end 1486 | end 1487 | 1488 | # {http://flightxml.flightaware.com/soap/FlightXML2}MetarStruct 1489 | class MetarStruct 1490 | @@schema_type = "MetarStruct" 1491 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1492 | @@schema_element = [["airport", "SOAP::SOAPString"], ["time", "SOAP::SOAPInt"], ["cloud_friendly", "SOAP::SOAPString"], ["cloud_altitude", "SOAP::SOAPInt"], ["cloud_type", "SOAP::SOAPString"], ["conditions", "SOAP::SOAPString"], ["pressure", "SOAP::SOAPFloat"], ["temp_air", "SOAP::SOAPInt"], ["temp_dewpoint", "SOAP::SOAPInt"], ["temp_relhum", "SOAP::SOAPInt"], ["visibility", "SOAP::SOAPFloat"], ["wind_friendly", "SOAP::SOAPString"], ["wind_direction", "SOAP::SOAPInt"], ["wind_speed", "SOAP::SOAPInt"], ["wind_speed_gust", "SOAP::SOAPInt"], ["raw_data", "SOAP::SOAPString"]] 1493 | 1494 | attr_accessor :airport 1495 | attr_accessor :time 1496 | attr_accessor :cloud_friendly 1497 | attr_accessor :cloud_altitude 1498 | attr_accessor :cloud_type 1499 | attr_accessor :conditions 1500 | attr_accessor :pressure 1501 | attr_accessor :temp_air 1502 | attr_accessor :temp_dewpoint 1503 | attr_accessor :temp_relhum 1504 | attr_accessor :visibility 1505 | attr_accessor :wind_friendly 1506 | attr_accessor :wind_direction 1507 | attr_accessor :wind_speed 1508 | attr_accessor :wind_speed_gust 1509 | attr_accessor :raw_data 1510 | 1511 | def initialize(airport = nil, time = nil, cloud_friendly = nil, cloud_altitude = nil, cloud_type = nil, conditions = nil, pressure = nil, temp_air = nil, temp_dewpoint = nil, temp_relhum = nil, visibility = nil, wind_friendly = nil, wind_direction = nil, wind_speed = nil, wind_speed_gust = nil, raw_data = nil) 1512 | @airport = airport 1513 | @time = time 1514 | @cloud_friendly = cloud_friendly 1515 | @cloud_altitude = cloud_altitude 1516 | @cloud_type = cloud_type 1517 | @conditions = conditions 1518 | @pressure = pressure 1519 | @temp_air = temp_air 1520 | @temp_dewpoint = temp_dewpoint 1521 | @temp_relhum = temp_relhum 1522 | @visibility = visibility 1523 | @wind_friendly = wind_friendly 1524 | @wind_direction = wind_direction 1525 | @wind_speed = wind_speed 1526 | @wind_speed_gust = wind_speed_gust 1527 | @raw_data = raw_data 1528 | end 1529 | end 1530 | 1531 | # {http://flightxml.flightaware.com/soap/FlightXML2}NTafRequest 1532 | class NTafRequest 1533 | @@schema_type = "NTafRequest" 1534 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1535 | @@schema_element = [["airport", "SOAP::SOAPString"]] 1536 | 1537 | attr_accessor :airport 1538 | 1539 | def initialize(airport = nil) 1540 | @airport = airport 1541 | end 1542 | end 1543 | 1544 | # {http://flightxml.flightaware.com/soap/FlightXML2}NTafResults 1545 | class NTafResults 1546 | @@schema_type = "NTafResults" 1547 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1548 | @@schema_element = [["nTafResult", ["TafStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "NTafResult")]]] 1549 | 1550 | def NTafResult 1551 | @nTafResult 1552 | end 1553 | 1554 | def NTafResult=(value) 1555 | @nTafResult = value 1556 | end 1557 | 1558 | def initialize(nTafResult = nil) 1559 | @nTafResult = nTafResult 1560 | end 1561 | end 1562 | 1563 | # {http://flightxml.flightaware.com/soap/FlightXML2}RoutesBetweenAirportsExRequest 1564 | class RoutesBetweenAirportsExRequest 1565 | @@schema_type = "RoutesBetweenAirportsExRequest" 1566 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1567 | @@schema_element = [["origin", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["offset", "SOAP::SOAPInt"], ["maxDepartureAge", "SOAP::SOAPString"], ["maxFileAge", "SOAP::SOAPString"]] 1568 | 1569 | attr_accessor :origin 1570 | attr_accessor :destination 1571 | attr_accessor :howMany 1572 | attr_accessor :offset 1573 | attr_accessor :maxDepartureAge 1574 | attr_accessor :maxFileAge 1575 | 1576 | def initialize(origin = nil, destination = nil, howMany = nil, offset = nil, maxDepartureAge = nil, maxFileAge = nil) 1577 | @origin = origin 1578 | @destination = destination 1579 | @howMany = howMany 1580 | @offset = offset 1581 | @maxDepartureAge = maxDepartureAge 1582 | @maxFileAge = maxFileAge 1583 | end 1584 | end 1585 | 1586 | # {http://flightxml.flightaware.com/soap/FlightXML2}RoutesBetweenAirportsExResults 1587 | class RoutesBetweenAirportsExResults 1588 | @@schema_type = "RoutesBetweenAirportsExResults" 1589 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1590 | @@schema_element = [["routesBetweenAirportsExResult", ["ArrayOfRoutesBetweenAirportsExStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "RoutesBetweenAirportsExResult")]]] 1591 | 1592 | def RoutesBetweenAirportsExResult 1593 | @routesBetweenAirportsExResult 1594 | end 1595 | 1596 | def RoutesBetweenAirportsExResult=(value) 1597 | @routesBetweenAirportsExResult = value 1598 | end 1599 | 1600 | def initialize(routesBetweenAirportsExResult = nil) 1601 | @routesBetweenAirportsExResult = routesBetweenAirportsExResult 1602 | end 1603 | end 1604 | 1605 | # {http://flightxml.flightaware.com/soap/FlightXML2}RoutesBetweenAirportsExStruct 1606 | class RoutesBetweenAirportsExStruct 1607 | @@schema_type = "RoutesBetweenAirportsExStruct" 1608 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1609 | @@schema_element = [["count", "SOAP::SOAPInt"], ["route", "SOAP::SOAPString"], ["filedAltitude_min", "SOAP::SOAPInt"], ["filedAltitude_max", "SOAP::SOAPInt"], ["last_departuretime", "SOAP::SOAPInt"]] 1610 | 1611 | attr_accessor :count 1612 | attr_accessor :route 1613 | attr_accessor :filedAltitude_min 1614 | attr_accessor :filedAltitude_max 1615 | attr_accessor :last_departuretime 1616 | 1617 | def initialize(count = nil, route = nil, filedAltitude_min = nil, filedAltitude_max = nil, last_departuretime = nil) 1618 | @count = count 1619 | @route = route 1620 | @filedAltitude_min = filedAltitude_min 1621 | @filedAltitude_max = filedAltitude_max 1622 | @last_departuretime = last_departuretime 1623 | end 1624 | end 1625 | 1626 | # {http://flightxml.flightaware.com/soap/FlightXML2}RoutesBetweenAirportsRequest 1627 | class RoutesBetweenAirportsRequest 1628 | @@schema_type = "RoutesBetweenAirportsRequest" 1629 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1630 | @@schema_element = [["origin", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"]] 1631 | 1632 | attr_accessor :origin 1633 | attr_accessor :destination 1634 | 1635 | def initialize(origin = nil, destination = nil) 1636 | @origin = origin 1637 | @destination = destination 1638 | end 1639 | end 1640 | 1641 | # {http://flightxml.flightaware.com/soap/FlightXML2}RoutesBetweenAirportsResults 1642 | class RoutesBetweenAirportsResults 1643 | @@schema_type = "RoutesBetweenAirportsResults" 1644 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1645 | @@schema_element = [["routesBetweenAirportsResult", ["ArrayOfRoutesBetweenAirportsStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "RoutesBetweenAirportsResult")]]] 1646 | 1647 | def RoutesBetweenAirportsResult 1648 | @routesBetweenAirportsResult 1649 | end 1650 | 1651 | def RoutesBetweenAirportsResult=(value) 1652 | @routesBetweenAirportsResult = value 1653 | end 1654 | 1655 | def initialize(routesBetweenAirportsResult = nil) 1656 | @routesBetweenAirportsResult = routesBetweenAirportsResult 1657 | end 1658 | end 1659 | 1660 | # {http://flightxml.flightaware.com/soap/FlightXML2}RoutesBetweenAirportsStruct 1661 | class RoutesBetweenAirportsStruct 1662 | @@schema_type = "RoutesBetweenAirportsStruct" 1663 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1664 | @@schema_element = [["count", "SOAP::SOAPInt"], ["route", "SOAP::SOAPString"], ["filedAltitude", "SOAP::SOAPInt"]] 1665 | 1666 | attr_accessor :count 1667 | attr_accessor :route 1668 | attr_accessor :filedAltitude 1669 | 1670 | def initialize(count = nil, route = nil, filedAltitude = nil) 1671 | @count = count 1672 | @route = route 1673 | @filedAltitude = filedAltitude 1674 | end 1675 | end 1676 | 1677 | # {http://flightxml.flightaware.com/soap/FlightXML2}ScheduledFlightStruct 1678 | class ScheduledFlightStruct 1679 | @@schema_type = "ScheduledFlightStruct" 1680 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1681 | @@schema_element = [["ident", "SOAP::SOAPString"], ["aircrafttype", "SOAP::SOAPString"], ["filed_departuretime", "SOAP::SOAPInt"], ["estimatedarrivaltime", "SOAP::SOAPInt"], ["origin", "SOAP::SOAPString"], ["destination", "SOAP::SOAPString"], ["originName", "SOAP::SOAPString"], ["originCity", "SOAP::SOAPString"], ["destinationName", "SOAP::SOAPString"], ["destinationCity", "SOAP::SOAPString"]] 1682 | 1683 | attr_accessor :ident 1684 | attr_accessor :aircrafttype 1685 | attr_accessor :filed_departuretime 1686 | attr_accessor :estimatedarrivaltime 1687 | attr_accessor :origin 1688 | attr_accessor :destination 1689 | attr_accessor :originName 1690 | attr_accessor :originCity 1691 | attr_accessor :destinationName 1692 | attr_accessor :destinationCity 1693 | 1694 | def initialize(ident = nil, aircrafttype = nil, filed_departuretime = nil, estimatedarrivaltime = nil, origin = nil, destination = nil, originName = nil, originCity = nil, destinationName = nil, destinationCity = nil) 1695 | @ident = ident 1696 | @aircrafttype = aircrafttype 1697 | @filed_departuretime = filed_departuretime 1698 | @estimatedarrivaltime = estimatedarrivaltime 1699 | @origin = origin 1700 | @destination = destination 1701 | @originName = originName 1702 | @originCity = originCity 1703 | @destinationName = destinationName 1704 | @destinationCity = destinationCity 1705 | end 1706 | end 1707 | 1708 | # {http://flightxml.flightaware.com/soap/FlightXML2}ScheduledRequest 1709 | class ScheduledRequest 1710 | @@schema_type = "ScheduledRequest" 1711 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1712 | @@schema_element = [["airport", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["filter", "SOAP::SOAPString"], ["offset", "SOAP::SOAPInt"]] 1713 | 1714 | attr_accessor :airport 1715 | attr_accessor :howMany 1716 | attr_accessor :filter 1717 | attr_accessor :offset 1718 | 1719 | def initialize(airport = nil, howMany = nil, filter = nil, offset = nil) 1720 | @airport = airport 1721 | @howMany = howMany 1722 | @filter = filter 1723 | @offset = offset 1724 | end 1725 | end 1726 | 1727 | # {http://flightxml.flightaware.com/soap/FlightXML2}ScheduledResults 1728 | class ScheduledResults 1729 | @@schema_type = "ScheduledResults" 1730 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1731 | @@schema_element = [["scheduledResult", ["ScheduledStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "ScheduledResult")]]] 1732 | 1733 | def ScheduledResult 1734 | @scheduledResult 1735 | end 1736 | 1737 | def ScheduledResult=(value) 1738 | @scheduledResult = value 1739 | end 1740 | 1741 | def initialize(scheduledResult = nil) 1742 | @scheduledResult = scheduledResult 1743 | end 1744 | end 1745 | 1746 | # {http://flightxml.flightaware.com/soap/FlightXML2}ScheduledStruct 1747 | class ScheduledStruct 1748 | @@schema_type = "ScheduledStruct" 1749 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1750 | @@schema_element = [["next_offset", "SOAP::SOAPInt"], ["scheduled", "ScheduledFlightStruct[]"]] 1751 | 1752 | attr_accessor :next_offset 1753 | attr_accessor :scheduled 1754 | 1755 | def initialize(next_offset = nil, scheduled = []) 1756 | @next_offset = next_offset 1757 | @scheduled = scheduled 1758 | end 1759 | end 1760 | 1761 | # {http://flightxml.flightaware.com/soap/FlightXML2}SearchBirdseyeInFlightRequest 1762 | class SearchBirdseyeInFlightRequest 1763 | @@schema_type = "SearchBirdseyeInFlightRequest" 1764 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1765 | @@schema_element = [["query", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["offset", "SOAP::SOAPInt"]] 1766 | 1767 | attr_accessor :query 1768 | attr_accessor :howMany 1769 | attr_accessor :offset 1770 | 1771 | def initialize(query = nil, howMany = nil, offset = nil) 1772 | @query = query 1773 | @howMany = howMany 1774 | @offset = offset 1775 | end 1776 | end 1777 | 1778 | # {http://flightxml.flightaware.com/soap/FlightXML2}SearchBirdseyeInFlightResults 1779 | class SearchBirdseyeInFlightResults 1780 | @@schema_type = "SearchBirdseyeInFlightResults" 1781 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1782 | @@schema_element = [["searchBirdseyeInFlightResult", ["InFlightStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "SearchBirdseyeInFlightResult")]]] 1783 | 1784 | def SearchBirdseyeInFlightResult 1785 | @searchBirdseyeInFlightResult 1786 | end 1787 | 1788 | def SearchBirdseyeInFlightResult=(value) 1789 | @searchBirdseyeInFlightResult = value 1790 | end 1791 | 1792 | def initialize(searchBirdseyeInFlightResult = nil) 1793 | @searchBirdseyeInFlightResult = searchBirdseyeInFlightResult 1794 | end 1795 | end 1796 | 1797 | # {http://flightxml.flightaware.com/soap/FlightXML2}SearchBirdseyePositionsRequest 1798 | class SearchBirdseyePositionsRequest 1799 | @@schema_type = "SearchBirdseyePositionsRequest" 1800 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1801 | @@schema_element = [["query", "SOAP::SOAPString"], ["uniqueFlights", "SOAP::SOAPBoolean"], ["howMany", "SOAP::SOAPInt"], ["offset", "SOAP::SOAPInt"]] 1802 | 1803 | attr_accessor :query 1804 | attr_accessor :uniqueFlights 1805 | attr_accessor :howMany 1806 | attr_accessor :offset 1807 | 1808 | def initialize(query = nil, uniqueFlights = nil, howMany = nil, offset = nil) 1809 | @query = query 1810 | @uniqueFlights = uniqueFlights 1811 | @howMany = howMany 1812 | @offset = offset 1813 | end 1814 | end 1815 | 1816 | # {http://flightxml.flightaware.com/soap/FlightXML2}SearchBirdseyePositionsResults 1817 | class SearchBirdseyePositionsResults 1818 | @@schema_type = "SearchBirdseyePositionsResults" 1819 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1820 | @@schema_element = [["searchBirdseyePositionsResult", ["ArrayOfTrackExStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "SearchBirdseyePositionsResult")]]] 1821 | 1822 | def SearchBirdseyePositionsResult 1823 | @searchBirdseyePositionsResult 1824 | end 1825 | 1826 | def SearchBirdseyePositionsResult=(value) 1827 | @searchBirdseyePositionsResult = value 1828 | end 1829 | 1830 | def initialize(searchBirdseyePositionsResult = nil) 1831 | @searchBirdseyePositionsResult = searchBirdseyePositionsResult 1832 | end 1833 | end 1834 | 1835 | # {http://flightxml.flightaware.com/soap/FlightXML2}SearchCountRequest 1836 | class SearchCountRequest 1837 | @@schema_type = "SearchCountRequest" 1838 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1839 | @@schema_element = [["query", "SOAP::SOAPString"]] 1840 | 1841 | attr_accessor :query 1842 | 1843 | def initialize(query = nil) 1844 | @query = query 1845 | end 1846 | end 1847 | 1848 | # {http://flightxml.flightaware.com/soap/FlightXML2}SearchCountResults 1849 | class SearchCountResults 1850 | @@schema_type = "SearchCountResults" 1851 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1852 | @@schema_element = [["searchCountResult", ["SOAP::SOAPInt", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "SearchCountResult")]]] 1853 | 1854 | def SearchCountResult 1855 | @searchCountResult 1856 | end 1857 | 1858 | def SearchCountResult=(value) 1859 | @searchCountResult = value 1860 | end 1861 | 1862 | def initialize(searchCountResult = nil) 1863 | @searchCountResult = searchCountResult 1864 | end 1865 | end 1866 | 1867 | # {http://flightxml.flightaware.com/soap/FlightXML2}SearchRequest 1868 | class SearchRequest 1869 | @@schema_type = "SearchRequest" 1870 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1871 | @@schema_element = [["query", "SOAP::SOAPString"], ["howMany", "SOAP::SOAPInt"], ["offset", "SOAP::SOAPInt"]] 1872 | 1873 | attr_accessor :query 1874 | attr_accessor :howMany 1875 | attr_accessor :offset 1876 | 1877 | def initialize(query = nil, howMany = nil, offset = nil) 1878 | @query = query 1879 | @howMany = howMany 1880 | @offset = offset 1881 | end 1882 | end 1883 | 1884 | # {http://flightxml.flightaware.com/soap/FlightXML2}SearchResults 1885 | class SearchResults 1886 | @@schema_type = "SearchResults" 1887 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1888 | @@schema_element = [["searchResult", ["InFlightStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "SearchResult")]]] 1889 | 1890 | def SearchResult 1891 | @searchResult 1892 | end 1893 | 1894 | def SearchResult=(value) 1895 | @searchResult = value 1896 | end 1897 | 1898 | def initialize(searchResult = nil) 1899 | @searchResult = searchResult 1900 | end 1901 | end 1902 | 1903 | # {http://flightxml.flightaware.com/soap/FlightXML2}SetMaximumResultSizeRequest 1904 | class SetMaximumResultSizeRequest 1905 | @@schema_type = "SetMaximumResultSizeRequest" 1906 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1907 | @@schema_element = [["max_size", "SOAP::SOAPInt"]] 1908 | 1909 | attr_accessor :max_size 1910 | 1911 | def initialize(max_size = nil) 1912 | @max_size = max_size 1913 | end 1914 | end 1915 | 1916 | # {http://flightxml.flightaware.com/soap/FlightXML2}SetMaximumResultSizeResults 1917 | class SetMaximumResultSizeResults 1918 | @@schema_type = "SetMaximumResultSizeResults" 1919 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1920 | @@schema_element = [["setMaximumResultSizeResult", ["SOAP::SOAPInt", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "SetMaximumResultSizeResult")]]] 1921 | 1922 | def SetMaximumResultSizeResult 1923 | @setMaximumResultSizeResult 1924 | end 1925 | 1926 | def SetMaximumResultSizeResult=(value) 1927 | @setMaximumResultSizeResult = value 1928 | end 1929 | 1930 | def initialize(setMaximumResultSizeResult = nil) 1931 | @setMaximumResultSizeResult = setMaximumResultSizeResult 1932 | end 1933 | end 1934 | 1935 | # {http://flightxml.flightaware.com/soap/FlightXML2}TafRequest 1936 | class TafRequest 1937 | @@schema_type = "TafRequest" 1938 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1939 | @@schema_element = [["airport", "SOAP::SOAPString"]] 1940 | 1941 | attr_accessor :airport 1942 | 1943 | def initialize(airport = nil) 1944 | @airport = airport 1945 | end 1946 | end 1947 | 1948 | # {http://flightxml.flightaware.com/soap/FlightXML2}TafResults 1949 | class TafResults 1950 | @@schema_type = "TafResults" 1951 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1952 | @@schema_element = [["tafResult", ["SOAP::SOAPString", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "TafResult")]]] 1953 | 1954 | def TafResult 1955 | @tafResult 1956 | end 1957 | 1958 | def TafResult=(value) 1959 | @tafResult = value 1960 | end 1961 | 1962 | def initialize(tafResult = nil) 1963 | @tafResult = tafResult 1964 | end 1965 | end 1966 | 1967 | # {http://flightxml.flightaware.com/soap/FlightXML2}TafStruct 1968 | class TafStruct 1969 | @@schema_type = "TafStruct" 1970 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1971 | @@schema_element = [["airport", "SOAP::SOAPString"], ["timeString", "SOAP::SOAPString"], ["forecast", "SOAP::SOAPString[]"]] 1972 | 1973 | attr_accessor :airport 1974 | attr_accessor :timeString 1975 | attr_accessor :forecast 1976 | 1977 | def initialize(airport = nil, timeString = nil, forecast = []) 1978 | @airport = airport 1979 | @timeString = timeString 1980 | @forecast = forecast 1981 | end 1982 | end 1983 | 1984 | # {http://flightxml.flightaware.com/soap/FlightXML2}TailOwnerRequest 1985 | class TailOwnerRequest 1986 | @@schema_type = "TailOwnerRequest" 1987 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 1988 | @@schema_element = [["ident", "SOAP::SOAPString"]] 1989 | 1990 | attr_accessor :ident 1991 | 1992 | def initialize(ident = nil) 1993 | @ident = ident 1994 | end 1995 | end 1996 | 1997 | # {http://flightxml.flightaware.com/soap/FlightXML2}TailOwnerResults 1998 | class TailOwnerResults 1999 | @@schema_type = "TailOwnerResults" 2000 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 2001 | @@schema_element = [["tailOwnerResult", ["TailOwnerStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "TailOwnerResult")]]] 2002 | 2003 | def TailOwnerResult 2004 | @tailOwnerResult 2005 | end 2006 | 2007 | def TailOwnerResult=(value) 2008 | @tailOwnerResult = value 2009 | end 2010 | 2011 | def initialize(tailOwnerResult = nil) 2012 | @tailOwnerResult = tailOwnerResult 2013 | end 2014 | end 2015 | 2016 | # {http://flightxml.flightaware.com/soap/FlightXML2}TailOwnerStruct 2017 | class TailOwnerStruct 2018 | @@schema_type = "TailOwnerStruct" 2019 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 2020 | @@schema_element = [["owner", "SOAP::SOAPString"], ["location", "SOAP::SOAPString"], ["location2", "SOAP::SOAPString"], ["website", "SOAP::SOAPString"]] 2021 | 2022 | attr_accessor :owner 2023 | attr_accessor :location 2024 | attr_accessor :location2 2025 | attr_accessor :website 2026 | 2027 | def initialize(owner = nil, location = nil, location2 = nil, website = nil) 2028 | @owner = owner 2029 | @location = location 2030 | @location2 = location2 2031 | @website = website 2032 | end 2033 | end 2034 | 2035 | # {http://flightxml.flightaware.com/soap/FlightXML2}TrackExStruct 2036 | class TrackExStruct 2037 | @@schema_type = "TrackExStruct" 2038 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 2039 | @@schema_element = [["faFlightID", "SOAP::SOAPString"], ["timestamp", "SOAP::SOAPInt"], ["latitude", "SOAP::SOAPFloat"], ["longitude", "SOAP::SOAPFloat"], ["groundspeed", "SOAP::SOAPInt"], ["altitude", "SOAP::SOAPInt"], ["altitudeStatus", "SOAP::SOAPString"], ["updateType", "SOAP::SOAPString"], ["altitudeChange", "SOAP::SOAPString"]] 2040 | 2041 | attr_accessor :faFlightID 2042 | attr_accessor :timestamp 2043 | attr_accessor :latitude 2044 | attr_accessor :longitude 2045 | attr_accessor :groundspeed 2046 | attr_accessor :altitude 2047 | attr_accessor :altitudeStatus 2048 | attr_accessor :updateType 2049 | attr_accessor :altitudeChange 2050 | 2051 | def initialize(faFlightID = nil, timestamp = nil, latitude = nil, longitude = nil, groundspeed = nil, altitude = nil, altitudeStatus = nil, updateType = nil, altitudeChange = nil) 2052 | @faFlightID = faFlightID 2053 | @timestamp = timestamp 2054 | @latitude = latitude 2055 | @longitude = longitude 2056 | @groundspeed = groundspeed 2057 | @altitude = altitude 2058 | @altitudeStatus = altitudeStatus 2059 | @updateType = updateType 2060 | @altitudeChange = altitudeChange 2061 | end 2062 | end 2063 | 2064 | # {http://flightxml.flightaware.com/soap/FlightXML2}TrackStruct 2065 | class TrackStruct 2066 | @@schema_type = "TrackStruct" 2067 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 2068 | @@schema_element = [["timestamp", "SOAP::SOAPInt"], ["latitude", "SOAP::SOAPFloat"], ["longitude", "SOAP::SOAPFloat"], ["groundspeed", "SOAP::SOAPInt"], ["altitude", "SOAP::SOAPInt"], ["altitudeStatus", "SOAP::SOAPString"], ["updateType", "SOAP::SOAPString"], ["altitudeChange", "SOAP::SOAPString"]] 2069 | 2070 | attr_accessor :timestamp 2071 | attr_accessor :latitude 2072 | attr_accessor :longitude 2073 | attr_accessor :groundspeed 2074 | attr_accessor :altitude 2075 | attr_accessor :altitudeStatus 2076 | attr_accessor :updateType 2077 | attr_accessor :altitudeChange 2078 | 2079 | def initialize(timestamp = nil, latitude = nil, longitude = nil, groundspeed = nil, altitude = nil, altitudeStatus = nil, updateType = nil, altitudeChange = nil) 2080 | @timestamp = timestamp 2081 | @latitude = latitude 2082 | @longitude = longitude 2083 | @groundspeed = groundspeed 2084 | @altitude = altitude 2085 | @altitudeStatus = altitudeStatus 2086 | @updateType = updateType 2087 | @altitudeChange = altitudeChange 2088 | end 2089 | end 2090 | 2091 | # {http://flightxml.flightaware.com/soap/FlightXML2}ZipcodeInfoRequest 2092 | class ZipcodeInfoRequest 2093 | @@schema_type = "ZipcodeInfoRequest" 2094 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 2095 | @@schema_element = [["zipcode", "SOAP::SOAPString"]] 2096 | 2097 | attr_accessor :zipcode 2098 | 2099 | def initialize(zipcode = nil) 2100 | @zipcode = zipcode 2101 | end 2102 | end 2103 | 2104 | # {http://flightxml.flightaware.com/soap/FlightXML2}ZipcodeInfoResults 2105 | class ZipcodeInfoResults 2106 | @@schema_type = "ZipcodeInfoResults" 2107 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 2108 | @@schema_element = [["zipcodeInfoResult", ["ZipcodeInfoStruct", XSD::QName.new("http://flightxml.flightaware.com/soap/FlightXML2", "ZipcodeInfoResult")]]] 2109 | 2110 | def ZipcodeInfoResult 2111 | @zipcodeInfoResult 2112 | end 2113 | 2114 | def ZipcodeInfoResult=(value) 2115 | @zipcodeInfoResult = value 2116 | end 2117 | 2118 | def initialize(zipcodeInfoResult = nil) 2119 | @zipcodeInfoResult = zipcodeInfoResult 2120 | end 2121 | end 2122 | 2123 | # {http://flightxml.flightaware.com/soap/FlightXML2}ZipcodeInfoStruct 2124 | class ZipcodeInfoStruct 2125 | @@schema_type = "ZipcodeInfoStruct" 2126 | @@schema_ns = "http://flightxml.flightaware.com/soap/FlightXML2" 2127 | @@schema_element = [["latitude", "SOAP::SOAPFloat"], ["longitude", "SOAP::SOAPFloat"], ["city", "SOAP::SOAPString"], ["state", "SOAP::SOAPString"], ["county", "SOAP::SOAPString"]] 2128 | 2129 | attr_accessor :latitude 2130 | attr_accessor :longitude 2131 | attr_accessor :city 2132 | attr_accessor :state 2133 | attr_accessor :county 2134 | 2135 | def initialize(latitude = nil, longitude = nil, city = nil, state = nil, county = nil) 2136 | @latitude = latitude 2137 | @longitude = longitude 2138 | @city = city 2139 | @state = state 2140 | @county = county 2141 | end 2142 | end 2143 | 2144 | --------------------------------------------------------------------------------