public class Safety
extends java.lang.Object
A namespaced client for the
/v1/safety endpoints.
Access via the Amadeus client object.
Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
amadeus.safety;| Modifier and Type | Field and Description |
|---|---|
SafetyRatedLocations |
safetyRatedLocations
A namespaced client for the
/v1/safety/safety-rated-locations endpoints. |
| Modifier and Type | Method and Description |
|---|---|
SafetyRatedLocation |
safetyRatedLocation(java.lang.String safetyRatedLocationId)
A namespaced client for the
/v1/safety/safety-rated-locations/:safetyRatedLocationId endpoints. |
public SafetyRatedLocations safetyRatedLocations
A namespaced client for the
/v1/safety/safety-rated-locations endpoints.
public Safety(Amadeus client)
public SafetyRatedLocation safetyRatedLocation(java.lang.String safetyRatedLocationId)
A namespaced client for the
/v1/safety/safety-rated-locations/:safetyRatedLocationId endpoints.