-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d22a06
commit 953d082
Showing
5 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...e_all_in_one/android_architectures/clean_code_with_mvi_mvvm/data/remote/CurrentWeather.kt
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,10 @@ | ||
package com.example.jetpack_compose_all_in_one.android_architectures.clean_code_with_mvi_mvvm.data.remote | ||
|
||
data class CurrentWeather( | ||
val is_day: Int, | ||
val temperature: Double, | ||
val time: String, | ||
val weathercode: Int, | ||
val winddirection: Double, | ||
val windspeed: Double | ||
) |
8 changes: 8 additions & 0 deletions
8
...k_compose_all_in_one/android_architectures/clean_code_with_mvi_mvvm/data/remote/Hourly.kt
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,8 @@ | ||
package com.example.jetpack_compose_all_in_one.android_architectures.clean_code_with_mvi_mvvm.data.remote | ||
|
||
data class Hourly( | ||
val relativehumidity_2m: List<Int>, | ||
val temperature_2m: List<Double>, | ||
val time: List<String>, | ||
val windspeed_10m: List<Double> | ||
) |
8 changes: 8 additions & 0 deletions
8
...pose_all_in_one/android_architectures/clean_code_with_mvi_mvvm/data/remote/HourlyUnits.kt
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,8 @@ | ||
package com.example.jetpack_compose_all_in_one.android_architectures.clean_code_with_mvi_mvvm.data.remote | ||
|
||
data class HourlyUnits( | ||
val relativehumidity_2m: String, | ||
val temperature_2m: String, | ||
val time: String, | ||
val windspeed_10m: 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
14 changes: 14 additions & 0 deletions
14
..._all_in_one/android_architectures/clean_code_with_mvi_mvvm/data/remote/WeatherResponse.kt
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,14 @@ | ||
package com.example.jetpack_compose_all_in_one.android_architectures.clean_code_with_mvi_mvvm.data.remote | ||
|
||
data class WeatherResponse( | ||
val current_weather: CurrentWeather, | ||
val elevation: Double, | ||
val generationtime_ms: Double, | ||
val hourly: Hourly, | ||
val hourly_units: HourlyUnits, | ||
val latitude: Double, | ||
val longitude: Double, | ||
val timezone: String, | ||
val timezone_abbreviation: String, | ||
val utc_offset_seconds: Int | ||
) |