com.amadeus.travel.Predictions Maven / Gradle / Ivy
package com.amadeus.travel;
import com.amadeus.Amadeus;
import com.amadeus.travel.predictions.FlightDelay;
import com.amadeus.travel.predictions.TripPurpose;
/**
*
* A namespaced client for the
* /v1/travel/predictions
endpoints.
*
*
*
* Access via the Amadeus client object.
*
*
*
* Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
* amadeus.travel.predictions;
*
* @hide
*/
public class Predictions {
/**
*
* A namespaced client for the
* /v1/travel/predictions/trip-purpose
endpoints.
*
*/
public TripPurpose tripPurpose;
/** A namespaced client for the
* /v1/travel/predictions/flight-delay
endpoints.
*
*/
public FlightDelay flightDelay;
/**
* Constructor.
*
* @hide
*/
public Predictions(Amadeus client) {
this.tripPurpose = new TripPurpose(client);
this.flightDelay = new FlightDelay(client);
}
}