'Generic method used to generate a version entity.'

def build(self, version_data):

    version = {'id': version_data['id'], 'status': version_data['status'], 'links': self._build_links(version_data)}
    return version
