caldav: add Client.MultiGetCalendar

This commit is contained in:
Simon Ser
2020-05-13 16:45:10 +02:00
parent 5328b4c493
commit a4e0e81003
3 changed files with 46 additions and 0 deletions

View File

@@ -60,6 +60,15 @@ type calendarQuery struct {
// TODO: timezone
}
// https://tools.ietf.org/html/rfc4791#section-9.10
type calendarMultiget struct {
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:caldav calendar-multiget"`
Hrefs []internal.Href `xml:"DAV: href"`
Prop *internal.Prop `xml:"DAV: prop,omitempty"`
AllProp *struct{} `xml:"DAV: allprop,omitempty"`
PropName *struct{} `xml:"DAV: propname,omitempty"`
}
// https://tools.ietf.org/html/rfc4791#section-9.7
type filter struct {
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:caldav filter"`