nodes: 0, module; 1, function_definition; 2, function_name:list_campaigns; 3, parameters; 4, block; 5, identifier:self; 6, dictionary_splat_pattern; 7, expression_statement; 8, expression_statement; 9, expression_statement; 10, expression_statement; 11, return_statement; 12, identifier:kwargs; 13, comment:"""List all update campaigns.
  
          :param int limit: number of campaigns to retrieve
          :param str order: sort direction of campaigns when ordered by creation time (desc|asc)
          :param str after: get campaigns after given campaign ID
          :param dict filters: Dictionary of filters to apply
          :return: List of :py:class:`Campaign` objects
          :rtype: PaginatedResponse
          """; 14, assignment; 15, assignment; 16, assignment; 17, call; 18, identifier:kwargs; 19, call; 20, identifier:kwargs; 21, call; 22, identifier:api; 23, call; 24, identifier:PaginatedResponse; 25, argument_list; 26, attribute; 27, argument_list; 28, attribute; 29, argument_list; 30, attribute; 31, argument_list; 32, attribute; 33, keyword_argument; 34, dictionary_splat; 35, identifier:self; 36, identifier:_verify_sort_options; 37, identifier:kwargs; 38, identifier:self; 39, identifier:_verify_filters; 40, identifier:kwargs; 41, identifier:Campaign; 42, True; 43, identifier:self; 44, identifier:_get_api; 45, attribute; 46, identifier:api; 47, identifier:update_campaign_list; 48, identifier:lwrap_type; 49, identifier:Campaign; 50, identifier:kwargs; 51, identifier:update_service; 52, identifier:DefaultApi
code: def list_campaigns(self, **kwargs):
          """List all update campaigns.
  
          :param int limit: number of campaigns to retrieve
          :param str order: sort direction of campaigns when ordered by creation time (desc|asc)
          :param str after: get campaigns after given campaign ID
          :param dict filters: Dictionary of filters to apply
          :return: List of :py:class:`Campaign` objects
          :rtype: PaginatedResponse
          """
          kwargs = self._verify_sort_options(kwargs)
          kwargs = self._verify_filters(kwargs, Campaign, True)
          api = self._get_api(update_service.DefaultApi)
          return PaginatedResponse(api.update_campaign_list, lwrap_type=Campaign, **kwargs)