Skip to content

Commit

Permalink
change api for flights, switch to skyscanner
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiGrimault committed Jan 12, 2024
1 parent 79f67ad commit 144815d
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 64 deletions.
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 greenhub/src/main/java/com/greenhub/models/plane/Arrival.java

This file was deleted.

11 changes: 0 additions & 11 deletions greenhub/src/main/java/com/greenhub/models/plane/Departure.java

This file was deleted.

18 changes: 0 additions & 18 deletions greenhub/src/main/java/com/greenhub/models/plane/FlightData.java

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions greenhub/src/main/java/com/greenhub/models/plane/Pagination.java

This file was deleted.

0 comments on commit 144815d

Please sign in to comment.