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

Source Code for Module recombee_api_client.api_requests.list_user_view_portions

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