forked from adatechschool/GreenHub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change api for flights, switch to skyscanner
- Loading branch information
1 parent
79f67ad
commit 144815d
Showing
6 changed files
with
20 additions
and
64 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
greenhub/src/main/java/com/greenhub/models/SkyscannerResponse/FlightResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.greenhub.models.SkyscannerResponse; | ||
|
||
public class Root{ | ||
public Content content; | ||
|
||
public static class Content{ | ||
public Stats stats; | ||
public class Stats{ | ||
public Itineraries itineraries; | ||
|
||
public class Itineraries{ | ||
public int minDuration; | ||
|
||
public int getMinDuration() { | ||
return minDuration; | ||
} | ||
} | ||
} | ||
} | ||
} |
11 changes: 0 additions & 11 deletions
11
greenhub/src/main/java/com/greenhub/models/plane/Arrival.java
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
greenhub/src/main/java/com/greenhub/models/plane/Departure.java
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
greenhub/src/main/java/com/greenhub/models/plane/FlightData.java
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
greenhub/src/main/java/com/greenhub/models/plane/FlightResponse.java
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
greenhub/src/main/java/com/greenhub/models/plane/Pagination.java
This file was deleted.
Oops, something went wrong.