2019-02-20 18:57:55 +01:00
|
|
|
class CalendarEvent (object):
|
|
|
|
"""Defines a calendar event, independent of any implementation"""
|
2019-07-13 08:05:35 +02:00
|
|
|
|
|
|
|
def __init__(self):
|
2019-02-26 16:23:27 +01:00
|
|
|
self.begin_datetime = None
|
|
|
|
self.end_datetime = None
|
2019-03-16 18:50:52 +01:00
|
|
|
self.duration = None
|
2019-03-21 22:29:23 +01:00
|
|
|
self.allday = None
|
2019-04-08 15:29:09 +02:00
|
|
|
self.multiday = None
|
2019-03-23 12:24:43 +01:00
|
|
|
self.rrule = None
|
2019-02-20 18:57:55 +01:00
|
|
|
|
|
|
|
self.title = None
|
|
|
|
self.description = None
|
|
|
|
self.attendees = []
|
|
|
|
self.highlight = None
|
|
|
|
|
2019-02-25 21:43:27 +01:00
|
|
|
self.calendar_name = None
|
2020-04-19 22:25:50 +02:00
|
|
|
self.calendar_url = None
|
2019-02-25 21:43:27 +01:00
|
|
|
|
|
|
|
self.location = None
|
2019-02-26 21:41:12 +01:00
|
|
|
self.fetch_datetime = None
|
|
|
|
|
|
|
|
def __repr__(self):
|
2019-07-13 08:05:35 +02:00
|
|
|
return self.title
|