code: def get_extension_events(self, publisher_name, extension_name, count=None, after_date=None, include=None, include_property=None):
          
          route_values = {}
          if publisher_name is not None:
              route_values['publisherName'] = self._serialize.url('publisher_name', publisher_name, 'str')
          if extension_name is not None:
              route_values['extensionName'] = self._serialize.url('extension_name', extension_name, 'str')
          query_parameters = {}
          if count is not None:
              query_parameters['count'] = self._serialize.query('count', count, 'int')
          if after_date is not None:
              query_parameters['afterDate'] = self._serialize.query('after_date', after_date, 'iso-8601')
          if include is not None:
              query_parameters['include'] = self._serialize.query('include', include, 'str')
          if include_property is not None:
              query_parameters['includeProperty'] = self._serialize.query('include_property', include_property, 'str')
          response = self._send(http_method='GET',
                                location_id='3d13c499-2168-4d06-bef4-14aba185dcd5',
                                version='5.1-preview.1',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('ExtensionEvents', response)
docs: GetExtensionEvents.
          [Preview API] Get install/uninstall events of an extension. If both count and afterDate parameters are specified, count takes precedence.
          :param str publisher_name: Name of the publisher
          :param str extension_name: Name of the extension
          :param int count: Count of events to fetch, applies to each event type.
          :param datetime after_date: Fetch events that occurred on or after this date
          :param str include: Filter options. Supported values: install, uninstall, review, acquisition, sales. Default is to fetch all types of events
          :param str include_property: Event properties to include. Currently only 'lastContactDetails' is supported for uninstall events
          :rtype: :class:`<ExtensionEvents> <azure.devops.v5_1.gallery.models.ExtensionEvents>`