mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-07 04:09:15 +02:00
feat:#39 added fetcher for Events
This commit is contained in:
@@ -42,3 +42,26 @@ type faculty struct {
|
||||
Description string `json:"bezeichnung"`
|
||||
Internal string `json:"internal"`
|
||||
}
|
||||
|
||||
type Events struct {
|
||||
TotalItems int `json:"hydra:totalItems"`
|
||||
Events []Event `json:"hydra:member"`
|
||||
}
|
||||
|
||||
type Event struct {
|
||||
ID string `json:"id"`
|
||||
Faculty string `json:"fakultaet"`
|
||||
SeminarGroups []string `json:"seminargruppen"`
|
||||
Flags []string `json:"flags"`
|
||||
Modul string `json:"modul"`
|
||||
EventType string `json:"veranstaltungstyp"`
|
||||
Professors []string `json:"dozierende"`
|
||||
Rooms []string `json:"raeume"`
|
||||
Courses []string `json:"studiengaenge"`
|
||||
Description string `json:"bezeichnung"`
|
||||
Day string `json:"wochentag"`
|
||||
StartTime string `json:"beginAt"`
|
||||
EndTime string `json:"endAt"`
|
||||
CalendarWeeks []int `json:"kalenderwochen"`
|
||||
Semester string `json:"semester"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user