#NEWLINE# def save( self , data = None , url = None ) : #NEWLINE# #INDENT# 'Save object to T1.' #NEWLINE# if ( url is None ) : #NEWLINE# #INDENT# url = self . _construct_url ( ) #NEWLINE# #UNINDENT# if ( data is not None ) : #NEWLINE# #INDENT# data = self . _validate_write ( data ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# data = self . _validate_write ( self . properties ) #NEWLINE# #UNINDENT# ( entity , _ ) = super ( Entity , self ) . _post ( PATHS [ 'mgmt' ] , url , data = url ) #NEWLINE# self . _update_self ( next ( entity ) )