com.amadeus.Airport Maven / Gradle / Ivy
package com.amadeus;
import com.amadeus.airport.DirectDestinations;
import com.amadeus.airport.predictions.Predictions;
/**
*
* A namespaced client for the
* /v1/airport
endpoints.
*
*
*
* Access via the Amadeus client object.
*
*
*
* Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
* amadeus.airport
*
* @hide
*/
public class Airport {
/**
*
* A namespaced client for the
* /v1/airport/predictions
endpoints.
*
*/
public Predictions predictions;
/**
*
* A namespaced client for the
* /v1/airport/direct-destinations
endpoints.
*
*/
public DirectDestinations directDestinations;
/**
* Constructor.
* @hide
*/
public Airport(Amadeus client) {
this.predictions = new Predictions(client);
this.directDestinations = new DirectDestinations(client);
}
}