'makes url with the query params including pagination params
for pagination next and previous urls'

@staticmethod
def _get_next_prev_url(url_path, query_params, page_num, page_size):

    query_params = deepcopy(query_params)
    query_params.update({'page': page_num, 'page_size': page_size})
    return ((url_path + '?') + urlencode(query_params))
