1#!/usr/bin/env python
2# -*- encoding: utf-8 -*-
3
4from caldav.lib.namespace import ns
5from .base import BaseElement, ValuedBaseElement
6
7
8# Operations
9class Propfind(BaseElement):
10    tag = ns("D", "propfind")
11
12
13class PropertyUpdate(BaseElement):
14    tag = ns("D", "propertyupdate")
15
16
17class Mkcol(BaseElement):
18    tag = ns("D", "mkcol")
19
20class SyncCollection(BaseElement):
21    tag = ns("D", "sync-collection")
22
23# Filters
24
25# Conditions
26class SyncToken(BaseElement):
27    tag = ns("D", "sync-token")
28
29class SyncLevel(BaseElement):
30    tag = ns("D", "sync-level")
31
32# Components / Data
33
34
35class Prop(BaseElement):
36    tag = ns("D", "prop")
37
38
39class Collection(BaseElement):
40    tag = ns("D", "collection")
41
42
43class Set(BaseElement):
44    tag = ns("D", "set")
45
46
47# Properties
48class ResourceType(BaseElement):
49    tag = ns("D", "resourcetype")
50
51
52class DisplayName(ValuedBaseElement):
53    tag = ns("D", "displayname")
54
55
56class GetEtag(ValuedBaseElement):
57    tag = ns("D", "getetag")
58
59class Href(BaseElement):
60    tag = ns("D", "href")
61
62class SupportedReportSet(BaseElement):
63    tag = ns("D", "supported-report-set")
64
65class Response(BaseElement):
66    tag = ns("D", "response")
67
68
69class Status(BaseElement):
70    tag = ns("D", "status")
71
72class PropStat(BaseElement):
73    tag = ns("D", "propstat")
74
75class MultiStatus(BaseElement):
76    tag = ns("D", "multistatus")
77
78class CurrentUserPrincipal(BaseElement):
79    tag = ns("D", "current-user-principal")
80
81class PrincipalCollectionSet(BaseElement):
82    tag = ns("D", "principal-collection-set")
83
84class Allprop(BaseElement):
85    tag = ns("D", "allprop")
86