Package recombee_api_client :: Package api_requests :: Module list_user_cart_additions
[hide private]
[frames] | no frames]

Source Code for Module recombee_api_client.api_requests.list_user_cart_additions

 1  from recombee_api_client.api_requests.request import Request 
 2  import uuid 
 3   
 4  DEFAULT = uuid.uuid4() 
 5   
6 -class ListUserCartAdditions(Request):
7 """ 8 List all the cart additions ever made by a given user. 9 """ 10
11 - def __init__(self, user_id):
12 """ 13 Required parameters: 14 @param user_id: ID of the user whose cart additions are to be listed. 15 16 """ 17 self.user_id = user_id 18 self.timeout = 100000 19 self.ensure_https = False 20 self.method = 'get' 21 self.path = "/users/%s/cartadditions/" % (self.quote_path_param(self.user_id))
22
23 - def get_body_parameters(self):
24 """ 25 Values of body parameters as a dictionary (name of parameter: value of the parameter). 26 """ 27 p = dict() 28 return p
29
30 - def get_query_parameters(self):
31 """ 32 Values of query parameters as a dictionary (name of parameter: value of the parameter). 33 """ 34 params = dict() 35 return params
36