-
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.
Merge pull request #35 from umbum/develop
release 1.0.1
- Loading branch information
Showing
11 changed files
with
45 additions
and
63 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
8 changes: 5 additions & 3 deletions
8
...src/main/java/com/tistory/umbum/github_issue_widget_app/data/model/AccessTokenResponse.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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package com.tistory.umbum.github_issue_widget_app.data.model | ||
|
||
data class AccessTokenResponse(val accessToken: String, | ||
val tokenType: String, | ||
val scope: String) | ||
import com.google.gson.annotations.SerializedName | ||
|
||
data class AccessTokenResponse(@SerializedName("access_token") val accessToken: String, | ||
@SerializedName("token_type") val tokenType: String, | ||
@SerializedName("scope") val scope: String) |
27 changes: 14 additions & 13 deletions
27
app/src/main/java/com/tistory/umbum/github_issue_widget_app/data/model/IssueItem.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 |
---|---|---|
@@ -1,17 +1,18 @@ | ||
package com.tistory.umbum.github_issue_widget_app.data.model | ||
|
||
data class IssueItem(val id: Int, | ||
val title: String, | ||
val htmlUrl: String, | ||
val labels: List<LabelItem>, | ||
val repository: RepoItem | ||
) | ||
import com.google.gson.annotations.SerializedName | ||
|
||
data class LabelItem(val name: String, | ||
val color: String) | ||
data class IssueItem(@SerializedName("id") val id: Int, | ||
@SerializedName("title") val title: String, | ||
@SerializedName("html_url") val htmlUrl: String, | ||
@SerializedName("labels") val labels: List<LabelItem>, | ||
@SerializedName("repository") val repository: RepoItem) | ||
|
||
data class RepoItem(val id: Int, | ||
val name: String, | ||
val fullName: String, | ||
val private: Boolean, | ||
val openIssuesCount: Int) | ||
data class LabelItem(@SerializedName("name") val name: String, | ||
@SerializedName("color") val color: String) | ||
|
||
data class RepoItem(@SerializedName("id") val id: Int, | ||
@SerializedName("name") val name: String, | ||
@SerializedName("full_name") val fullName: String, | ||
@SerializedName("private") val private: Boolean, | ||
@SerializedName("open_issues_count") val openIssuesCount: Int) |
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
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