Package recombee_api_client :: Package api_requests :: Module delete_detail_view :: Class DeleteDetailView
[hide private]
[frames] | no frames]

Class DeleteDetailView

source code

     object --+    
              |    
request.Request --+
                  |
                 DeleteDetailView

Deletes an existing detail view uniquely specified by (`userId`, `itemId`, and `timestamp`) or all the detail views with given `userId` and `itemId` if `timestamp` is omitted.

Instance Methods [hide private]
 
__init__(self, user_id, item_id, timestamp=UUID('2aceb1b8-3dd8-42b8-89a1-c1ff35239901'))
Required parameters:
source code
 
get_body_parameters(self)
Values of body parameters as a dictionary (name of parameter: value of the parameter).
source code
 
get_query_parameters(self)
Values of query parameters as a dictionary (name of parameter: value of the parameter).
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from request.Request: quote_path_param

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, user_id, item_id, timestamp=UUID('2aceb1b8-3dd8-42b8-89a1-c1ff35239901'))
(Constructor)

source code 

Required parameters:

Parameters:
  • user_id - ID of the user who made the detail view.
  • item_id - ID of the item of which the details were viewed.

    Optional parameters:

  • timestamp - Unix timestamp of the detail view. If the `timestamp` is omitted, then all the detail views with given `userId` and `itemId` are deleted.
Overrides: object.__init__