code: def get_build_work_items_refs(self, project, build_id, top=None):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if build_id is not None:
              route_values['buildId'] = self._serialize.url('build_id', build_id, 'int')
          query_parameters = {}
          if top is not None:
              query_parameters['$top'] = self._serialize.query('top', top, 'int')
          response = self._send(http_method='GET',
                                location_id='5a21f5d2-5642-47e4-a0bd-1356e6731bee',
                                version='5.0',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('[ResourceRef]', self._unwrap_collection(response))
docs: GetBuildWorkItemsRefs.
          Gets the work items associated with a build.
          :param str project: Project ID or project name
          :param int build_id: The ID of the build.
          :param int top: The maximum number of work items to return.
          :rtype: [ResourceRef]