aboutsummaryrefslogtreecommitdiffstats
path: root/api/dto
diff options
context:
space:
mode:
Diffstat (limited to 'api/dto')
-rw-r--r--api/dto/calendar.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/api/dto/calendar.go b/api/dto/calendar.go
new file mode 100644
index 0000000..33da621
--- /dev/null
+++ b/api/dto/calendar.go
@@ -0,0 +1,15 @@
+package dto
+
+type GetCalendarResponse struct {
+ ID int32 `json:"id"`
+ Name string `json:"name"`
+ Key string `json:"key"`
+ URL string `json:"url"`
+}
+
+type CreateCalendarResponse struct {
+ ID int32 `json:"id"`
+ Name string `json:"name"`
+ Key string `json:"key"`
+ URL string `json:"url"`
+}