Skip to content

Commit efd8db4

Browse files
committed
delete references to safe place api
1 parent 70786e7 commit efd8db4

File tree

11 files changed

+0
-671
lines changed

11 files changed

+0
-671
lines changed

README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -284,22 +284,6 @@ PointOfInterest[] pointsOfInterest = amadeus.referenceData.locations.pointsOfInt
284284
// Returns a single Point of Interest from a given id
285285
PointOfInterest pointOfInterest = amadeus.referenceData.locations.pointOfInterest("9CB40CB5D0").get();
286286

287-
// Safe Place
288-
// How safe is Barcelona? (based a geo location and a radius)
289-
SafePlace[] safetyScore = amadeus.safety.safetyRatedLocations.get(Params
290-
.with("latitude", "41.39715")
291-
.and("longitude", "2.160873"));
292-
293-
// How safe is Barcelona? (based on a square)
294-
SafePlace[] safetyScore = amadeus.safety.safetyRatedLocations.bySquare.get(Params
295-
.with("north", "41.397158")
296-
.and("west", "2.160873")
297-
.and("south", "41.394582")
298-
.and("east", "2.177181"));
299-
300-
// What is the safety information of a location based on it's Id?
301-
SafePlace safetyScore = amadeus.safety.safetyRatedLocation("Q930400801").get();
302-
303287
// Tours and Activities
304288
// What are the popular activities in Barcelona (based a geo location and a radius)
305289
Activity[] activities = amadeus.shopping.activities.get(Params

src/main/java/com/amadeus/Amadeus.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,6 @@ public class Amadeus extends HTTPClient {
6868
*/
6969
public Booking booking;
7070

71-
/**
72-
* <p>
73-
* A namespaced client for the <code>/v1/safety</code> endpoints.
74-
* </p>
75-
*/
76-
public Safety safety;
77-
7871
/**
7972
* <p>
8073
* A namespaced client for the <code>/v2/schedule</code> endpoints.

src/main/java/com/amadeus/Safety.java

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/main/java/com/amadeus/resources/SafePlace.java

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/main/java/com/amadeus/safety/SafetyRatedLocation.java

Lines changed: 0 additions & 64 deletions
This file was deleted.

src/main/java/com/amadeus/safety/SafetyRatedLocations.java

Lines changed: 0 additions & 73 deletions
This file was deleted.

src/main/java/com/amadeus/safety/safetyRatedLocations/BySquare.java

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)