def get_master(self):
if self.type != '<STR_LIT>':<EOL><INDENT>raise InvalidEventType("<STR_LIT>")<EOL><DEDENT>body = soap_request.get_master(exchange_id=self._id, format=u"<STR_LIT>")<EOL>response_xml = self.service.send(body)<EOL>return Exchange2010CalendarEvent(service=self.service, xml=response_xml)<EOL>
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'.