This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
c7413c8
commit 4738c18
Showing
12 changed files
with
406 additions
and
0 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
31 changes: 31 additions & 0 deletions
31
frogothemoviedbapi/src/main/java/com/frogobox/frogothemoviedbapi/data/model/NetworkLogo.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,31 @@ | ||
package com.frogobox.frogothemoviedbapi.data.model | ||
|
||
import com.google.gson.annotations.SerializedName | ||
|
||
data class NetworkLogo( | ||
|
||
@SerializedName("aspect_ratio") | ||
var aspect_ratio: Int? = null, | ||
|
||
@SerializedName("file_path") | ||
var file_path: String? = null, | ||
|
||
@SerializedName("height") | ||
var height: Int? = null, | ||
|
||
@SerializedName("id") | ||
var id: String? = null, | ||
|
||
@SerializedName("file_type") | ||
var file_type: String? = null, | ||
|
||
@SerializedName("vote_average") | ||
var vote_average: Int? = null, | ||
|
||
@SerializedName("vote_count") | ||
var vote_count: Int? = null, | ||
|
||
@SerializedName("width") | ||
var width: Int? = null | ||
|
||
) |
13 changes: 13 additions & 0 deletions
13
frogothemoviedbapi/src/main/java/com/frogobox/frogothemoviedbapi/data/model/NetworkName.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,13 @@ | ||
package com.frogobox.frogothemoviedbapi.data.model | ||
|
||
import com.google.gson.annotations.SerializedName | ||
|
||
data class NetworkName( | ||
|
||
@SerializedName("name") | ||
var name: String? = null, | ||
|
||
@SerializedName("type") | ||
var type: String? = null | ||
|
||
) |
31 changes: 31 additions & 0 deletions
31
...api/src/main/java/com/frogobox/frogothemoviedbapi/data/response/NetworkAlternativeName.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,31 @@ | ||
package com.frogobox.frogothemoviedbapi.data.response | ||
|
||
import com.frogobox.frogothemoviedbapi.data.model.NetworkName | ||
import com.google.gson.annotations.SerializedName | ||
|
||
/** | ||
* Created by Faisal Amir | ||
* FrogoBox Inc License | ||
* ========================================= | ||
* consumable-code-movie-tmdb-api | ||
* Copyright (C) 29/03/2020. | ||
* All rights reserved | ||
* ----------------------------------------- | ||
* Name : Muhammad Faisal Amir | ||
* E-mail : faisalamircs@gmail.com | ||
* Github : github.com/amirisback | ||
* LinkedIn : linkedin.com/in/faisalamircs | ||
* ----------------------------------------- | ||
* FrogoBox Software Industries | ||
* com.frogobox.frogothemoviedbapi.data.response | ||
* | ||
*/ | ||
data class NetworkAlternativeName( | ||
|
||
@SerializedName("id") | ||
var id: Int? = null, | ||
|
||
@SerializedName("results") | ||
var results: List<NetworkName>? = null | ||
|
||
) |
39 changes: 39 additions & 0 deletions
39
...hemoviedbapi/src/main/java/com/frogobox/frogothemoviedbapi/data/response/NetworkDetail.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,39 @@ | ||
package com.frogobox.frogothemoviedbapi.data.response | ||
|
||
import com.google.gson.annotations.SerializedName | ||
|
||
/** | ||
* Created by Faisal Amir | ||
* FrogoBox Inc License | ||
* ========================================= | ||
* consumable-code-movie-tmdb-api | ||
* Copyright (C) 29/03/2020. | ||
* All rights reserved | ||
* ----------------------------------------- | ||
* Name : Muhammad Faisal Amir | ||
* E-mail : faisalamircs@gmail.com | ||
* Github : github.com/amirisback | ||
* LinkedIn : linkedin.com/in/faisalamircs | ||
* ----------------------------------------- | ||
* FrogoBox Software Industries | ||
* com.frogobox.frogothemoviedbapi.data.response | ||
* | ||
*/ | ||
data class NetworkDetail( | ||
|
||
@SerializedName("headquarters") | ||
var headquarters: String? = null, | ||
|
||
@SerializedName("homepage") | ||
var homepage: String? = null, | ||
|
||
@SerializedName("id") | ||
var id: Int? = null, | ||
|
||
@SerializedName("name") | ||
var name: String? = null, | ||
|
||
@SerializedName("origin_country") | ||
var origin_country: String? = null | ||
|
||
) |
31 changes: 31 additions & 0 deletions
31
...themoviedbapi/src/main/java/com/frogobox/frogothemoviedbapi/data/response/NetworkImage.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,31 @@ | ||
package com.frogobox.frogothemoviedbapi.data.response | ||
|
||
import com.frogobox.frogothemoviedbapi.data.model.NetworkLogo | ||
import com.frogobox.frogothemoviedbapi.data.model.NetworkName | ||
import com.google.gson.annotations.SerializedName | ||
|
||
/** | ||
* Created by Faisal Amir | ||
* FrogoBox Inc License | ||
* ========================================= | ||
* consumable-code-movie-tmdb-api | ||
* Copyright (C) 29/03/2020. | ||
* All rights reserved | ||
* ----------------------------------------- | ||
* Name : Muhammad Faisal Amir | ||
* E-mail : faisalamircs@gmail.com | ||
* Github : github.com/amirisback | ||
* LinkedIn : linkedin.com/in/faisalamircs | ||
* ----------------------------------------- | ||
* FrogoBox Software Industries | ||
* com.frogobox.frogothemoviedbapi.data.response | ||
* | ||
*/ | ||
data class NetworkImage( | ||
|
||
@SerializedName("id") | ||
var id: Int? = null, | ||
|
||
@SerializedName("results") | ||
var results: List<NetworkLogo>? = null | ||
) |
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
Oops, something went wrong.