Skip to content

Commit 3c1905c

Browse files
authored
Merge pull request #245 from amadeus4dev/remove-travel-restrictionsv1
Remove Travel Restrictions v1
2 parents b549665 + 22ace0d commit 3c1905c

File tree

17 files changed

+12
-374
lines changed

17 files changed

+12
-374
lines changed

README.md

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

407-
// Travel Restrictions v1 GET
408-
DiseaseAreaReport diseaseAreaReport
409-
= amadeus.dutyOfCare.diseases.covid19AreaReport.get(Params.with("countryCode","US"));
410407
// Travel Restrictions v2 GET
411408
DiseaseReport diseaseReport
412409
= amadeus.dutyOfCare.diseases.covid19Report.get(Params.with("countryCode","US"));
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.amadeus.dutyofcare;
22

33
import com.amadeus.Amadeus;
4-
import com.amadeus.dutyofcare.diseases.Covid19AreaReport;
54
import com.amadeus.dutyofcare.diseases.Covid19Report;
65

76
/**
@@ -11,14 +10,6 @@
1110
* </p>
1211
*/
1312
public class Diseases {
14-
/**
15-
* <p>
16-
* A namespaced client for the
17-
* <code>/v1/duty-of-care/diseases/covid19-area-report</code> endpoints.
18-
* </p>
19-
*/
20-
public Covid19AreaReport covid19AreaReport;
21-
2213
/**
2314
* <p>
2415
* A namespaced client for the
@@ -32,7 +23,6 @@ public class Diseases {
3223
* @hide
3324
*/
3425
public Diseases(Amadeus client) {
35-
this.covid19AreaReport = new Covid19AreaReport(client);
3626
this.covid19Report = new Covid19Report(client);
3727
}
3828
}

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

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

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

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import lombok.ToString;
77

88
/**
9-
* A DiseaseReport object as returned by the Travel Restrictions V2 API.
9+
* A DiseaseReport object as returned by the Travel Restrictions v2 API.
1010
* @see Covid19Report#get()
1111
*/
1212
@ToString

0 commit comments

Comments
 (0)