def _generate_calendar_item(self, props): return T.CalendarItem( props['id'].to_xml(), T.Subject(props['subject']), T.HasAttachments('false'), T.IsAssociated('false'), T.Start(format_date_for_xml(props['start'])), T.End(format_date_for_xml(props['end'])), T.LegacyFreeBusyStatus('Busy'), T.Location(""), T.CalendarItemType('Single'), T.Organizer( T.Mailbox(T.Name(props['organizer_name']), T.EmailAddress('/O=Dummy'), T.RoutingType('EX'), T.MailboxType('OneOff'))))
def _generate_items_fragment(self, change_key): return M.Items( T.CalendarItem(T.ItemId(Id=self.item_id, ChangeKey=change_key)))