public class BusiestPeriod
extends java.lang.Object
A namespaced client for the
/v1/travel/analytics/air-traffic/busiest-period endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
amadeus.travel.analytics.airTraffis.busiestPeriod;| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ARRIVING |
static java.lang.String |
DEPARTING |
| Constructor and Description |
|---|
BusiestPeriod(Amadeus client)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Period[] |
get()
Convenience method for calling
get without any parameters. |
Period[] |
get(Params params)
Returns a list of busiest periods reports.
|
public static final java.lang.String ARRIVING
public static final java.lang.String DEPARTING
public BusiestPeriod(Amadeus client)
public Period[] get(Params params) throws ResponseException
Returns a list of busiest periods reports.
amadeus.travel.analytics.airTraffic.busiestPeriod.get(Params
.with("cityCode", "PAR")
.and("period", "2017"));params - the parameters to send to the APIResponseException - when an exception occurspublic Period[] get() throws ResponseException
get without any parameters.ResponseExceptionTraveled.get()