caldav: add prop-filter support to client

This commit is contained in:
Simon Ser
2020-02-05 18:38:46 +01:00
parent baf63fb1b7
commit 1d93353e3d
2 changed files with 28 additions and 1 deletions

View File

@@ -29,9 +29,19 @@ type CalendarCompRequest struct {
type CompFilter struct {
Name string
Start, End time.Time
Props []PropFilter
Comps []CompFilter
}
type PropFilter struct {
Name string
TextMatch *TextMatch
}
type TextMatch struct {
Text string
}
type CalendarQuery struct {
CompRequest CalendarCompRequest
CompFilter CompFilter