-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update library; Add alternative Nlb API
- Loading branch information
Showing
7 changed files
with
57 additions
and
9 deletions.
There are no files selected for viewing
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
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
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
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
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,17 @@ | ||
package hoo.etahk.remote.response | ||
|
||
import com.google.gson.annotations.SerializedName | ||
|
||
data class NlbEta2Res( | ||
@SerializedName("estimatedArrivals") val estimatedArrivals: List<EstimatedArrival?>? = listOf(), | ||
@SerializedName("message") val message: String? = "" | ||
) { | ||
data class EstimatedArrival( | ||
@SerializedName("estimatedArrivalTime") val estimatedArrivalTime: String? = "", | ||
@SerializedName("routeVariantName") val routeVariantName: String? = "", | ||
@SerializedName("departed") val departed: Long? = 0, | ||
@SerializedName("noGPS") val noGPS: Long? = 0, | ||
@SerializedName("wheelChair") val wheelChair: Long? = 0, | ||
@SerializedName("generateTime") val generateTime: String? = "" | ||
) | ||
} |
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
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