get_master()
      :raises InvalidEventType: When this method is called on an event that is not a Occurrence type.

      This will return the master event to the occurrence.

      **Examples**::

        event = service.calendar().get_event(id='<event_id>')
        print event.type  # If it prints out 'Occurrence' then that means we could get the master.

        master = event.get_master()
        print master.type  # Will print out 'RecurringMaster'.

def get_master(self):
    """
      get_master()
      :raises InvalidEventType: When this method is called on an event that is not a Occurrence type.

      This will return the master event to the occurrence.

      **Examples**::

        event = service.calendar().get_event(id='<event_id>')
        print event.type  # If it prints out 'Occurrence' then that means we could get the master.

        master = event.get_master()
        print master.type  # Will print out 'RecurringMaster'.


    """

    if self.type != 'Occurrence':
      raise InvalidEventType("get_master method can only be called on a 'Occurrence' event type")

    body = soap_request.get_master(exchange_id=self._id, format=u"AllProperties")
    response_xml = self.service.send(body)

    return Exchange2010CalendarEvent(service=self.service, xml=response_xml)