#NEWLINE# def build( self , version_data ) : #NEWLINE# #INDENT# 'Generic method used to generate a version entity.' #NEWLINE# version = { #NEWLINE# #INDENT# 'id' : version_data [ 'id' ] , #NEWLINE# 'status' : version_data [ 'status' ] , #NEWLINE# 'links' : self . _build_links ( version_data ) , #NEWLINE# #UNINDENT# } #NEWLINE# return version