Skip to content

Commit bea01f2

Browse files
authored
Merge pull request #254 from amadeus4dev/deco-travel-restrictionsv2
Remove Travel Restrictions v2
2 parents ece279e + d01bed1 commit bea01f2

File tree

9 files changed

+0
-2833
lines changed

9 files changed

+0
-2833
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,6 @@ Destination[] directDestinations = amadeus.airport.directDestinations.get(Params
388388
FlightAvailability[] flightAvailabilities
389389
= amadeus.shopping.availability.flightAvailabilities.post(body);
390390

391-
// Travel Restrictions v2 GET
392-
DiseaseReport diseaseReport
393-
= amadeus.dutyOfCare.diseases.covid19Report.get(Params.with("countryCode","US"));
394391

395392
// Location Score GET
396393
ScoredLocation[] scoredLocations

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ public class Amadeus extends HTTPClient {
9090
*/
9191
public Analytics analytics;
9292

93-
/**
94-
* <p>
95-
* A namespaced client for the <code>/v1/duty-of-care</code> endpoints.
96-
* </p>
97-
*/
98-
public DutyOfCare dutyOfCare;
99-
10093
/**
10194
* <p>
10295
* A namespaced client for the <code>/v1/location</code> endpoints.
@@ -129,7 +122,6 @@ protected Amadeus(Configuration configuration) {
129122
this.safety = new Safety(this);
130123
this.schedule = new Schedule(this);
131124
this.analytics = new Analytics(this);
132-
this.dutyOfCare = new DutyOfCare(this);
133125
this.location = new Location(this);
134126
this.airline = new Airline(this);
135127
this.ordering = new Ordering(this);

src/main/java/com/amadeus/DutyOfCare.java

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

src/main/java/com/amadeus/dutyOfCare/Diseases.java

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

src/main/java/com/amadeus/dutyOfCare/diseases/Covid19Report.java

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

0 commit comments

Comments
 (0)