Files
2026-08-03 21:01:58 -04:00

27 lines
576 B
Go

package caldav
type MultiStatus struct {
Responses []Response `xml:"response"`
}
type Response struct {
Href string `xml:"href"`
PropStat []PropStat `xml:"propstat"`
}
type PropStat struct {
Prop Prop `xml:"prop"`
Status string `xml:"status"`
}
type Prop struct {
DisplayName string `xml:"displayname"`
Type ResourceType `xml:"resourcetype"`
CalendarData string `xml:"calendar-data"`
}
type ResourceType struct {
Collection *struct{} `xml:"DAV: collection"`
Calendar *struct{} `xml:"urn:ietf:params:xml:ns:caldav calendar"`
}