code: def get_definition(self, project, definition_id, revision=None, min_metrics_time=None, property_filters=None, include_latest_builds=None):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if definition_id is not None:
              route_values['definitionId'] = self._serialize.url('definition_id', definition_id, 'int')
          query_parameters = {}
          if revision is not None:
              query_parameters['revision'] = self._serialize.query('revision', revision, 'int')
          if min_metrics_time is not None:
              query_parameters['minMetricsTime'] = self._serialize.query('min_metrics_time', min_metrics_time, 'iso-8601')
          if property_filters is not None:
              property_filters = ",".join(property_filters)
              query_parameters['propertyFilters'] = self._serialize.query('property_filters', property_filters, 'str')
          if include_latest_builds is not None:
              query_parameters['includeLatestBuilds'] = self._serialize.query('include_latest_builds', include_latest_builds, 'bool')
          response = self._send(http_method='GET',
                                location_id='dbeaf647-6167-421a-bda9-c9327b25e2e6',
                                version='5.0',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('BuildDefinition', response)
docs: GetDefinition.
          Gets a definition, optionally at a specific revision.
          :param str project: Project ID or project name
          :param int definition_id: The ID of the definition.
          :param int revision: The revision number to retrieve. If this is not specified, the latest version will be returned.
          :param datetime min_metrics_time: If specified, indicates the date from which metrics should be included.
          :param [str] property_filters: A comma-delimited list of properties to include in the results.
          :param bool include_latest_builds:
          :rtype: :class:`<BuildDefinition> <azure.devops.v5_0.build.models.BuildDefinition>`