original_docstring: 
          Update the name or the password for a server.
  
          :param server: The :class:`Server` (or its ID) to update.
          :param name: Update the server's name.
          :param password: Update the root password.
          
docstring: Update the name or the password for a server.
docstring_tokens: Update the name or the password for a server .
code: def update(self, server, name=None, password=None, description=None):
          """
          Update the name or the password for a server.
  
          :param server: The :class:`Server` (or its ID) to update.
          :param name: Update the server's name.
          :param password: Update the root password.
          """
  
          if name is None and password is None and description is None:
              return
          body = {"server": {}}
          if description:
              body["server"]["description"] = description
          if name:
              body["server"]["name"] = name
          if password:
              body["server"]["adminPass"] = password
          self._update("/extras/servers/%s" % base.getid(server), body)
code_tokens: def update ( self , server , name = None , password = None , description = None ) : if name is None and password is None and description is None : return body = { "server" : { } } if description : body [ "server" ] [ "description" ] = description if name : body [ "server" ] [ "name" ] = name if password : body [ "server" ] [ "adminPass" ] = password self . _update ( "/extras/servers/%s" % base . getid ( server ) , body )
short_docstring: Update the name or the password for a server.
short_docstring_tokens: Update the name or the password for a server .
comment: """
          Update the name or the password for a server.
  
          :param server: The :class:`Server` (or its ID) to update.
          :param name: Update the server's name.
          :param password: Update the root password.
          """