#NEWLINE# def ToUri( self ) : #NEWLINE# #INDENT# 'Generates a URI from the query parameters set in the object.\n\n    Returns:\n      A string containing the URI used to retrieve entries from the Analytics\n      List feed.\n    ' #NEWLINE# old_feed = self . feed #NEWLINE# self . feed = ( ( '/' . join ( [ new_feed ] ) + '?' ) + urllib . urlencode ( dict ( [ ( key , value ) for ( key , value ) in self . elements . iteritems ( ) if value ] ) ) ) #NEWLINE# new_feed = gdata . service . Query . ToUri ( self ) #NEWLINE# self . feed = old_feed #NEWLINE# return new_feed