-
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.
- Loading branch information
1 parent
a28a580
commit 07b36ee
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
back/src/main/kotlin/knu/dong/onedayonebaek/github/dto/CommitWebhookRequest.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,11 +1,11 @@ | ||
package knu.dong.onedayonebaek.github.dto | ||
|
||
import java.time.LocalDateTime | ||
import java.time.ZonedDateTime | ||
|
||
data class CommitWebhookRequest( | ||
val pusher: Pusher, | ||
val commits: List<Commit> = ArrayList() | ||
) { | ||
data class Commit (val url: String, val message: String, val timestamp: LocalDateTime) | ||
data class Commit (val url: String, val message: String, val timestamp: ZonedDateTime) | ||
data class Pusher (val name: String, val email: String) | ||
} |