2019-02-20 18:57:55 +01:00
|
|
|
class CalendarEvent (object):
|
|
|
|
"""Defines a calendar event, independent of any implementation"""
|
|
|
|
def __init__ (self):
|
2019-02-26 16:23:27 +01:00
|
|
|
self.begin_datetime = None
|
|
|
|
self.end_datetime = None
|
2019-03-10 13:23:26 +01:00
|
|
|
self.all_day = 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
|
|
|
|
|
|
|
|
self.location = None
|
2019-02-26 21:41:12 +01:00
|
|
|
self.fetch_datetime = None
|
|
|
|
|
|
|
|
def __repr__(self):
|
|
|
|
return self.title
|