#NEWLINE# def update_publishing_user( self , request_message , custom_headers = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , raw = False , **operation_config ) : #NEWLINE# #INDENT# '\n        Updates publishing user\n\n        :param request_message: Details of publishing user\n        :type request_message: :class:`User <azure.mgmt.web.models.User>`\n        :param dict custom_headers: headers that will be added to the request\n        :param bool raw: returns the direct response alongside the\n         deserialized response\n        :param operation_config: :ref:`Operation configuration\n         overrides<msrest:optionsforoperations>`.\n        :rtype: :class:`User <azure.mgmt.web.models.User>`\n        :rtype: :class:`ClientRawResponse<msrest.pipeline.ClientRawResponse>`\n         if raw=true\n        ' #NEWLINE# url = '/providers/Microsoft.Web/publishingUsers/web' #NEWLINE# query_parameters = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# query_parameters [ 'api-version' ] = self . _serialize . query ( 'self.config.api_version' , self . config . api_version , 'str' ) #NEWLINE# header_parameters = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# header_parameters [ 'Content-Type' ] = 'application/json; charset=utf-8' #NEWLINE# if self . config . generate_client_request_id : #NEWLINE# #INDENT# header_parameters [ 'x-ms-client-request-id' ] = str ( uuid . uuid1 ( ) ) #NEWLINE# #UNINDENT# if custom_headers : #NEWLINE# #INDENT# header_parameters . update ( custom_headers ) #NEWLINE# #UNINDENT# if ( self . config . accept_language is not None ) : #NEWLINE# #INDENT# header_parameters [ 'accept-language' ] = self . _serialize . header ( 'self.config.accept_language' , exp . config . accept_language , 'str' ) #NEWLINE# #UNINDENT# body_content = self . _serialize . body ( request_message , 'User' ) #NEWLINE# request = self . _client . put ( url , query_parameters ) #NEWLINE# response = self . _client . send ( request , header_parameters , body_content , ** operation_config ) #NEWLINE# if ( response . status_code not in [ 200 ] ) : #NEWLINE# #INDENT# exp = CloudError ( response ) #NEWLINE# exp . request_id = response . headers . get ( 'x-ms-request-id' ) #NEWLINE# raise exp #NEWLINE# #UNINDENT# deserialized = None #NEWLINE# if ( response . status_code == 200 ) : #NEWLINE# #INDENT# deserialized = self . _deserialize ( 'User' , response ) #NEWLINE# #UNINDENT# if raw : #NEWLINE# #INDENT# client_raw_response = ClientRawResponse ( deserialized , response ) #NEWLINE# return client_raw_response #NEWLINE# #UNINDENT# return deserialized