All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amadeus.ReferenceData Maven / Gradle / Ivy

package com.amadeus;

import com.amadeus.referencedata.Airlines;
import com.amadeus.referencedata.Location;
import com.amadeus.referencedata.Locations;
import com.amadeus.referencedata.RecommendedLocations;
import com.amadeus.referencedata.Urls;

/**
 * 

* A namespaced client for the * /v2/reference-data endpoints. *

* *

* Access via the Amadeus client object. *

* *
 * Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
 * amadeus.referenceData;
* * @hide */ public class ReferenceData { private Amadeus client; /** *

* A namespaced client for the * /v2/reference-data/urls endpoints. *

*/ public Urls urls; /** *

* A namespaced client for the * /v2/reference-data/locations endpoints. *

*/ public Locations locations; /** *

* A namespaced client for the * /v2/reference-data/airlines endpoints. *

*/ public Airlines airlines; /** *

* A namespaced client for the * /v1/reference-data/recommended-locations endpoints. *

*/ public RecommendedLocations recommendedLocations; /** * Constructor. * @hide */ public ReferenceData(Amadeus client) { this.client = client; this.urls = new Urls(client); this.locations = new Locations(client); this.airlines = new Airlines(client); this.recommendedLocations = new RecommendedLocations(client); } /** *

* A namespaced client for the * /v2/reference-data/location/:hotel_id endpoints. *

*/ public Location location(String locationId) { return new Location(client, locationId); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy