Class: RecombeeApiClient::ListItemProperties

Inherits:
ApiRequest
  • Object
show all
Defined in:
lib/recombee_api_client/api/list_item_properties.rb

Overview

Gets the list of all the item properties in your database.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from HashNormalizer

#camelize, #normalize_optional

Constructor Details

#initializeListItemProperties

Returns a new instance of ListItemProperties.



19
20
21
22
# File 'lib/recombee_api_client/api/list_item_properties.rb', line 19

def initialize()
  @timeout = 100000
  @ensure_https = false
end

Instance Attribute Details

#ensure_httpsObject

Returns the value of attribute ensure_https.



15
16
17
# File 'lib/recombee_api_client/api/list_item_properties.rb', line 15

def ensure_https
  @ensure_https
end

#timeoutObject

Returns the value of attribute timeout.



14
15
16
# File 'lib/recombee_api_client/api/list_item_properties.rb', line 14

def timeout
  @timeout
end

Instance Method Details

#body_parametersObject

Values of body parameters as a Hash



30
31
32
33
# File 'lib/recombee_api_client/api/list_item_properties.rb', line 30

def body_parameters
  p = Hash.new
  p
end

#methodObject

HTTP method



25
26
27
# File 'lib/recombee_api_client/api/list_item_properties.rb', line 25

def method
  :get
end

#pathObject

Relative path to the endpoint



43
44
45
# File 'lib/recombee_api_client/api/list_item_properties.rb', line 43

def path
  "/{databaseId}/items/properties/list/"
end

#query_parametersObject

Values of query parameters as a Hash. name of parameter => value of the parameter



37
38
39
40
# File 'lib/recombee_api_client/api/list_item_properties.rb', line 37

def query_parameters
  params = {}
  params
end