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

com.amadeus.Safety Maven / Gradle / Ivy

package com.amadeus;

import com.amadeus.safety.SafetyRatedLocation;
import com.amadeus.safety.SafetyRatedLocations;

/**
 * 

* A namespaced client for the * /v1/safety endpoints. *

* *

* Access via the Amadeus client object. *

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

* A namespaced client for the * /v1/safety/safety-rated-locations endpoints. *

*/ public SafetyRatedLocations safetyRatedLocations; /** * Constructor. * @hide */ public Safety(Amadeus client) { this.client = client; this.safetyRatedLocations = new SafetyRatedLocations(client); } /** *

* A namespaced client for the * /v1/safety/safety-rated-locations/:safetyRatedLocationId endpoints. *

*/ public SafetyRatedLocation safetyRatedLocation(String safetyRatedLocationId) { return new SafetyRatedLocation(client, safetyRatedLocationId); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy