#NEWLINE# @ classmethod #NEWLINE# def update( cls , id , params = None , **body ) : #NEWLINE# #INDENT# '\n        Update an API resource object\n\n        :param params: updated resource object source\n        :type params: dictionary\n\n        :param body: updated resource object attributes\n        :type body: dictionary\n\n        :returns: JSON response from HTTP API request\n        ' #NEWLINE# if ( params is None ) : #NEWLINE# #INDENT# params = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# return HTTPClient . request ( 'PUT' , ( ( cls . _class_url + '/' ) + str ( id ) ) , body , ** params )