-
-
Notifications
You must be signed in to change notification settings - Fork 321
Expand file tree
/
Copy pathCommitsApiResponse.kt
More file actions
20 lines (18 loc) · 733 Bytes
/
CommitsApiResponse.kt
File metadata and controls
20 lines (18 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package at.hannibal2.skyhanni.data.git.commit
import at.hannibal2.skyhanni.utils.KSerializable
import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName
@KSerializable
data class CommitsApiResponse(
@Expose val sha: String,
@Expose @field:SerializedName("node_id") val nodeId: String,
@Expose val commit: Commit,
@Expose val url: String,
@Expose @field:SerializedName("html_url") val htmlUrl: String,
@Expose @field:SerializedName("comments_url") val commentsUrl: String,
@Expose val author: CommitAuthor,
@Expose val committer: CommitAuthor,
@Expose val parents: List<CommitTree>,
@Expose val stats: CommitStats,
@Expose val files: List<CommitFile>,
)