com.amadeus.referencedata.locations.Hotels Maven / Gradle / Ivy
package com.amadeus.referencedata.locations;
import com.amadeus.Amadeus;
import com.amadeus.referencedata.locations.hotels.ByCity;
import com.amadeus.referencedata.locations.hotels.ByGeocode;
import com.amadeus.referencedata.locations.hotels.ByHotels;
/**
*
* A namespaced client for the
* /v1/reference-data/locations/hotels
endpoints.
*
*
*
* Access via the Amadeus client object.
*
*
*
* Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
* amadeus.referenceData.locations.hotels;
*/
public class Hotels {
/**
*
* A namespaced client for the
* /v1/reference-data/locations/hotels/by-city
endpoints.
*
*/
public ByCity byCity;
/**
*
* A namespaced client for the
* /v1/reference-data/locations/hotels/by-hotels
endpoints.
*
*/
public ByHotels byHotels;
/**
*
* A namespaced client for the
* /v1/reference-data/locations/hotels/by-geocode
endpoints.
*
*/
public ByGeocode byGeocode;
/**
* Constructor.
* @hide
*/
public Hotels(Amadeus client) {
this.byCity = new ByCity(client);
this.byHotels = new ByHotels(client);
this.byGeocode = new ByGeocode(client);
}
}