Compare commits

...

1 Commits

Author SHA1 Message Date
Gergely Polonkai 06c7b2ea52 Add the Response model
This is to store RSVPs.
2018-07-12 12:22:49 +02:00
1 changed files with 18 additions and 0 deletions

View File

@ -103,6 +103,24 @@ class ResponseType(Enum):
return Enum.__eq__(self, other)
class EventAvailability(Enum):
free = 0
busy = 1
class UserAvailability(EventAvailability):
tentative = 2
class ResponseVisibility(Enum):
private = 0
organisers = 1
attendees = 2
followers = 3
friends = 4
public = 5
class SettingsProxy:
"""Proxy object to get settings for a user
"""