'Generate a container of links that refer to the provided version.'

def _build_links(self, version_data):

    links = copy.deepcopy(version_data.get('links', {}))
    version_num = version_data['id'].split('.')[0]
    links.append({'rel': 'self', 'href': self._generate_href(version=version_num)})
    return links
