@@ -78,6 +78,16 @@ def dismiss_reminder(self):
78
78
self .context .add_query (qry )
79
79
return self
80
80
81
+ def permanent_delete (self ):
82
+ """
83
+ Permanently delete an event and place it in the purges folder in the dumpster in the user's mailbox.
84
+ Email clients such as outlook or outlook on the web can't access permanently deleted items.
85
+ Unless there's a hold set on the mailbox, the items are permanently deleted after a set period of time.
86
+ """
87
+ qry = ServiceOperationQuery (self , "permanentDelete" )
88
+ self .context .add_query (qry )
89
+ return self
90
+
81
91
@property
82
92
def allow_new_time_proposals (self ):
83
93
# type: () -> Optional[bool]
@@ -126,6 +136,53 @@ def is_all_day(self):
126
136
"""
127
137
return self .properties .get ("isAllDay" , None )
128
138
139
+ @property
140
+ def is_cancelled (self ):
141
+ # type: () -> Optional[bool]
142
+ """
143
+ Set to true if the event has been canceled.
144
+ """
145
+ return self .properties .get ("isCancelled" , None )
146
+
147
+ @property
148
+ def is_draft (self ):
149
+ # type: () -> Optional[bool]
150
+ """
151
+ Set to true if the user has updated the meeting in Outlook but hasn't sent the updates to attendees.
152
+ Set to false if all changes are sent, or if the event is an appointment without any attendees.
153
+ """
154
+ return self .properties .get ("isDraft" , None )
155
+
156
+ @property
157
+ def is_online_meeting (self ):
158
+ # type: () -> Optional[bool]
159
+ """
160
+ True if this event has online meeting information
161
+ (that is, onlineMeeting points to an onlineMeetingInfo resource), false otherwise.
162
+ Default is false (onlineMeeting is null). Optional.
163
+ After you set isOnlineMeeting to true, Microsoft Graph initializes onlineMeeting.
164
+ Subsequently, Outlook ignores any further changes to isOnlineMeeting, and the meeting remains available online.
165
+ """
166
+ return self .properties .get ("isOnlineMeeting" , None )
167
+
168
+ @property
169
+ def is_organizer (self ):
170
+ # type: () -> Optional[bool]
171
+ """
172
+ Set to true if the calendar owner (specified by the owner property of the calendar) is the organizer of
173
+ the event (specified by the organizer property of the event). It also applies if a delegate organized the
174
+ event on behalf of the owner.
175
+ """
176
+ return self .properties .get ("isOrganizer" , None )
177
+
178
+ @property
179
+ def is_reminder_on (self ):
180
+ # type: () -> Optional[bool]
181
+ """
182
+ Set to true if an alert is set to remind the user of the event.
183
+ """
184
+ return self .properties .get ("isReminderOn" , None )
185
+
129
186
@property
130
187
def start (self ):
131
188
"""The date, time, and time zone that the event starts. By default, the start time is in UTC."""
0 commit comments