amadeus4dev/amadeus-node

View on GitHub
src/amadeus/namespaces/travel/analytics/air_traffic.js

Summary

Maintainability
A
1 hr
Test Coverage
import Traveled from './air_traffic/traveled.js';
import Booked from './air_traffic/booked.js';
import BusiestPeriod from './air_traffic/busiest_period.js';

/**
 * A namespaced client for the
 * `/v1/travel/analytics/air-traffic` endpoints
 *
 * Access via the {@link Amadeus} object
 *
 * ```js
 * let amadeus = new Amadeus();
 * amadeus.travel.analytics.airTraffic;
 * ```
 *
 * @param {Client} client
 */
class AirTraffic {
  constructor(client) {
    this.client   = client;
    this.traveled = new Traveled(client);
    this.booked = new Booked(client);
    this.busiestPeriod = new BusiestPeriod(client);
  }

}

export default AirTraffic;