ultracart_api 3.6.3 → 3.6.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,6 +28,8 @@ module UltracartClient
28
28
 
29
29
  attr_accessor :echeck
30
30
 
31
+ attr_accessor :insurance
32
+
31
33
  attr_accessor :loan_hero
32
34
 
33
35
  attr_accessor :money_order
@@ -61,6 +63,7 @@ module UltracartClient
61
63
  :'cod' => :'cod',
62
64
  :'credit_card' => :'credit_card',
63
65
  :'echeck' => :'echeck',
66
+ :'insurance' => :'insurance',
64
67
  :'loan_hero' => :'loan_hero',
65
68
  :'money_order' => :'money_order',
66
69
  :'paypal' => :'paypal',
@@ -85,6 +88,7 @@ module UltracartClient
85
88
  :'cod' => :'PaymentsConfigurationCOD',
86
89
  :'credit_card' => :'PaymentsConfigurationCreditCard',
87
90
  :'echeck' => :'PaymentsConfigurationEcheck',
91
+ :'insurance' => :'PaymentsConfigurationInsurance',
88
92
  :'loan_hero' => :'PaymentsConfigurationLoanHero',
89
93
  :'money_order' => :'PaymentsConfigurationMoneyOrder',
90
94
  :'paypal' => :'PaymentsConfigurationPayPal',
@@ -135,6 +139,10 @@ module UltracartClient
135
139
  self.echeck = attributes[:'echeck']
136
140
  end
137
141
 
142
+ if attributes.has_key?(:'insurance')
143
+ self.insurance = attributes[:'insurance']
144
+ end
145
+
138
146
  if attributes.has_key?(:'loan_hero')
139
147
  self.loan_hero = attributes[:'loan_hero']
140
148
  end
@@ -205,6 +213,7 @@ module UltracartClient
205
213
  cod == o.cod &&
206
214
  credit_card == o.credit_card &&
207
215
  echeck == o.echeck &&
216
+ insurance == o.insurance &&
208
217
  loan_hero == o.loan_hero &&
209
218
  money_order == o.money_order &&
210
219
  paypal == o.paypal &&
@@ -227,7 +236,7 @@ module UltracartClient
227
236
  # Calculates hash code according to all attributes.
228
237
  # @return [Fixnum] Hash code
229
238
  def hash
230
- [affirm, amazon, cash, check, cod, credit_card, echeck, loan_hero, money_order, paypal, purchase_order, quote_request, sezzle, show_accounting_code, switch_to_sub_tab, switch_to_tab, ultracart_payments_wepay, wire_transfer].hash
239
+ [affirm, amazon, cash, check, cod, credit_card, echeck, insurance, loan_hero, money_order, paypal, purchase_order, quote_request, sezzle, show_accounting_code, switch_to_sub_tab, switch_to_tab, ultracart_payments_wepay, wire_transfer].hash
231
240
  end
232
241
 
233
242
  # Builds the object from hash
@@ -0,0 +1,194 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class PaymentsConfigurationInsurance
17
+ # Master flag indicating this merchant accepts insurance
18
+ attr_accessor :accept_insurance
19
+
20
+ attr_accessor :restrictions
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'accept_insurance' => :'accept_insurance',
26
+ :'restrictions' => :'restrictions'
27
+ }
28
+ end
29
+
30
+ # Attribute type mapping.
31
+ def self.swagger_types
32
+ {
33
+ :'accept_insurance' => :'BOOLEAN',
34
+ :'restrictions' => :'PaymentsConfigurationRestrictions'
35
+ }
36
+ end
37
+
38
+ # Initializes the object
39
+ # @param [Hash] attributes Model attributes in the form of hash
40
+ def initialize(attributes = {})
41
+ return unless attributes.is_a?(Hash)
42
+
43
+ # convert string to symbol for hash key
44
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
45
+
46
+ if attributes.has_key?(:'accept_insurance')
47
+ self.accept_insurance = attributes[:'accept_insurance']
48
+ end
49
+
50
+ if attributes.has_key?(:'restrictions')
51
+ self.restrictions = attributes[:'restrictions']
52
+ end
53
+ end
54
+
55
+ # Show invalid properties with the reasons. Usually used together with valid?
56
+ # @return Array for valid properties with the reasons
57
+ def list_invalid_properties
58
+ invalid_properties = Array.new
59
+ invalid_properties
60
+ end
61
+
62
+ # Check to see if the all the properties in the model are valid
63
+ # @return true if the model is valid
64
+ def valid?
65
+ true
66
+ end
67
+
68
+ # Checks equality by comparing each attribute.
69
+ # @param [Object] Object to be compared
70
+ def ==(o)
71
+ return true if self.equal?(o)
72
+ self.class == o.class &&
73
+ accept_insurance == o.accept_insurance &&
74
+ restrictions == o.restrictions
75
+ end
76
+
77
+ # @see the `==` method
78
+ # @param [Object] Object to be compared
79
+ def eql?(o)
80
+ self == o
81
+ end
82
+
83
+ # Calculates hash code according to all attributes.
84
+ # @return [Fixnum] Hash code
85
+ def hash
86
+ [accept_insurance, restrictions].hash
87
+ end
88
+
89
+ # Builds the object from hash
90
+ # @param [Hash] attributes Model attributes in the form of hash
91
+ # @return [Object] Returns the model itself
92
+ def build_from_hash(attributes)
93
+ return nil unless attributes.is_a?(Hash)
94
+ self.class.swagger_types.each_pair do |key, type|
95
+ if type =~ /\AArray<(.*)>/i
96
+ # check to ensure the input is an array given that the attribute
97
+ # is documented as an array but the input is not
98
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
99
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
100
+ end
101
+ elsif !attributes[self.class.attribute_map[key]].nil?
102
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
103
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
104
+ end
105
+
106
+ self
107
+ end
108
+
109
+ # Deserializes the data based on type
110
+ # @param string type Data type
111
+ # @param string value Value to be deserialized
112
+ # @return [Object] Deserialized data
113
+ def _deserialize(type, value)
114
+ case type.to_sym
115
+ when :DateTime
116
+ DateTime.parse(value)
117
+ when :Date
118
+ Date.parse(value)
119
+ when :String
120
+ value.to_s
121
+ when :Integer
122
+ value.to_i
123
+ when :Float
124
+ value.to_f
125
+ when :BOOLEAN
126
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
127
+ true
128
+ else
129
+ false
130
+ end
131
+ when :Object
132
+ # generic object (usually a Hash), return directly
133
+ value
134
+ when /\AArray<(?<inner_type>.+)>\z/
135
+ inner_type = Regexp.last_match[:inner_type]
136
+ value.map { |v| _deserialize(inner_type, v) }
137
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
138
+ k_type = Regexp.last_match[:k_type]
139
+ v_type = Regexp.last_match[:v_type]
140
+ {}.tap do |hash|
141
+ value.each do |k, v|
142
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
143
+ end
144
+ end
145
+ else # model
146
+ temp_model = UltracartClient.const_get(type).new
147
+ temp_model.build_from_hash(value)
148
+ end
149
+ end
150
+
151
+ # Returns the string representation of the object
152
+ # @return [String] String presentation of the object
153
+ def to_s
154
+ to_hash.to_s
155
+ end
156
+
157
+ # to_body is an alias to to_hash (backward compatibility)
158
+ # @return [Hash] Returns the object in the form of hash
159
+ def to_body
160
+ to_hash
161
+ end
162
+
163
+ # Returns the object in the form of hash
164
+ # @return [Hash] Returns the object in the form of hash
165
+ def to_hash
166
+ hash = {}
167
+ self.class.attribute_map.each_pair do |attr, param|
168
+ value = self.send(attr)
169
+ next if value.nil?
170
+ hash[param] = _to_hash(value)
171
+ end
172
+ hash
173
+ end
174
+
175
+ # Outputs non-array value in the form of hash
176
+ # For object, use to_hash. Otherwise, just return the value
177
+ # @param [Object] value Any valid value
178
+ # @return [Hash] Returns the value in the form of hash
179
+ def _to_hash(value)
180
+ if value.is_a?(Array)
181
+ value.compact.map { |v| _to_hash(v) }
182
+ elsif value.is_a?(Hash)
183
+ {}.tap do |hash|
184
+ value.each { |k, v| hash[k] = _to_hash(v) }
185
+ end
186
+ elsif value.respond_to? :to_hash
187
+ value.to_hash
188
+ else
189
+ value
190
+ end
191
+ end
192
+
193
+ end
194
+ end
@@ -20,14 +20,22 @@ module UltracartClient
20
20
 
21
21
  attr_accessor :communications_campaign_name
22
22
 
23
+ attr_accessor :communications_campaign_name_filter
24
+
23
25
  attr_accessor :communications_email_subject
24
26
 
27
+ attr_accessor :communications_email_subject_filter
28
+
25
29
  attr_accessor :communications_flow_name
26
30
 
31
+ attr_accessor :communications_flow_name_filter
32
+
27
33
  attr_accessor :email
28
34
 
29
35
  attr_accessor :email_domain
30
36
 
37
+ attr_accessor :email_domain_filter
38
+
31
39
  attr_accessor :email_identified
32
40
 
33
41
  attr_accessor :end_timestamp
@@ -40,10 +48,16 @@ module UltracartClient
40
48
 
41
49
  attr_accessor :geolocation_country
42
50
 
51
+ attr_accessor :geolocation_country_filter
52
+
43
53
  attr_accessor :geolocation_state
44
54
 
55
+ attr_accessor :geolocation_state_filter
56
+
45
57
  attr_accessor :language_iso_code
46
58
 
59
+ attr_accessor :language_iso_code_filter
60
+
47
61
  attr_accessor :last_x_days
48
62
 
49
63
  attr_accessor :max_filter_values
@@ -58,9 +72,11 @@ module UltracartClient
58
72
 
59
73
  attr_accessor :preferred_language
60
74
 
75
+ attr_accessor :preferred_language_filter
76
+
61
77
  attr_accessor :referrer_domain
62
78
 
63
- attr_accessor :return_filter_values
79
+ attr_accessor :referrer_domain_filter
64
80
 
65
81
  attr_accessor :screen_recording_uuids
66
82
 
@@ -68,6 +84,8 @@ module UltracartClient
68
84
 
69
85
  attr_accessor :skip_filter_values
70
86
 
87
+ attr_accessor :skip_histogram
88
+
71
89
  attr_accessor :skip_hits
72
90
 
73
91
  attr_accessor :start_timestamp
@@ -76,12 +94,28 @@ module UltracartClient
76
94
 
77
95
  attr_accessor :time_on_site
78
96
 
97
+ attr_accessor :time_on_site_max_filter
98
+
99
+ attr_accessor :time_on_site_min_filter
100
+
101
+ attr_accessor :url_filter
102
+
79
103
  attr_accessor :user_agent_device_name
80
104
 
105
+ attr_accessor :user_agent_device_name_filter
106
+
107
+ attr_accessor :user_agent_device_os_name_filter
108
+
109
+ attr_accessor :user_agent_device_os_version_filter
110
+
81
111
  attr_accessor :user_agent_name
82
112
 
113
+ attr_accessor :user_agent_name_filter
114
+
83
115
  attr_accessor :user_agent_original
84
116
 
117
+ attr_accessor :user_agent_original_filter
118
+
85
119
  attr_accessor :user_agent_os_name
86
120
 
87
121
  attr_accessor :user_agent_os_version
@@ -90,8 +124,12 @@ module UltracartClient
90
124
 
91
125
  attr_accessor :utm_campaign
92
126
 
127
+ attr_accessor :utm_campaign_filter
128
+
93
129
  attr_accessor :utm_source
94
130
 
131
+ attr_accessor :utm_source_filter
132
+
95
133
  attr_accessor :visitor_number
96
134
 
97
135
  attr_accessor :watched
@@ -102,18 +140,25 @@ module UltracartClient
102
140
  :'affiliate_email' => :'affiliate_email',
103
141
  :'affiliate_id' => :'affiliate_id',
104
142
  :'communications_campaign_name' => :'communications_campaign_name',
143
+ :'communications_campaign_name_filter' => :'communications_campaign_name_filter',
105
144
  :'communications_email_subject' => :'communications_email_subject',
145
+ :'communications_email_subject_filter' => :'communications_email_subject_filter',
106
146
  :'communications_flow_name' => :'communications_flow_name',
147
+ :'communications_flow_name_filter' => :'communications_flow_name_filter',
107
148
  :'email' => :'email',
108
149
  :'email_domain' => :'email_domain',
150
+ :'email_domain_filter' => :'email_domain_filter',
109
151
  :'email_identified' => :'email_identified',
110
152
  :'end_timestamp' => :'end_timestamp',
111
153
  :'esp_customer_uuid' => :'esp_customer_uuid',
112
154
  :'favorite' => :'favorite',
113
155
  :'geolocation' => :'geolocation',
114
156
  :'geolocation_country' => :'geolocation_country',
157
+ :'geolocation_country_filter' => :'geolocation_country_filter',
115
158
  :'geolocation_state' => :'geolocation_state',
159
+ :'geolocation_state_filter' => :'geolocation_state_filter',
116
160
  :'language_iso_code' => :'language_iso_code',
161
+ :'language_iso_code_filter' => :'language_iso_code_filter',
117
162
  :'last_x_days' => :'last_x_days',
118
163
  :'max_filter_values' => :'max_filter_values',
119
164
  :'order_id' => :'order_id',
@@ -121,23 +166,35 @@ module UltracartClient
121
166
  :'page_views' => :'page_views',
122
167
  :'placed_order' => :'placed_order',
123
168
  :'preferred_language' => :'preferred_language',
169
+ :'preferred_language_filter' => :'preferred_language_filter',
124
170
  :'referrer_domain' => :'referrer_domain',
125
- :'return_filter_values' => :'return_filter_values',
171
+ :'referrer_domain_filter' => :'referrer_domain_filter',
126
172
  :'screen_recording_uuids' => :'screen_recording_uuids',
127
173
  :'screen_sizes' => :'screen_sizes',
128
174
  :'skip_filter_values' => :'skip_filter_values',
175
+ :'skip_histogram' => :'skip_histogram',
129
176
  :'skip_hits' => :'skip_hits',
130
177
  :'start_timestamp' => :'start_timestamp',
131
178
  :'tags' => :'tags',
132
179
  :'time_on_site' => :'time_on_site',
180
+ :'time_on_site_max_filter' => :'time_on_site_max_filter',
181
+ :'time_on_site_min_filter' => :'time_on_site_min_filter',
182
+ :'url_filter' => :'url_filter',
133
183
  :'user_agent_device_name' => :'user_agent_device_name',
184
+ :'user_agent_device_name_filter' => :'user_agent_device_name_filter',
185
+ :'user_agent_device_os_name_filter' => :'user_agent_device_os_name_filter',
186
+ :'user_agent_device_os_version_filter' => :'user_agent_device_os_version_filter',
134
187
  :'user_agent_name' => :'user_agent_name',
188
+ :'user_agent_name_filter' => :'user_agent_name_filter',
135
189
  :'user_agent_original' => :'user_agent_original',
190
+ :'user_agent_original_filter' => :'user_agent_original_filter',
136
191
  :'user_agent_os_name' => :'user_agent_os_name',
137
192
  :'user_agent_os_version' => :'user_agent_os_version',
138
193
  :'user_ip' => :'user_ip',
139
194
  :'utm_campaign' => :'utm_campaign',
195
+ :'utm_campaign_filter' => :'utm_campaign_filter',
140
196
  :'utm_source' => :'utm_source',
197
+ :'utm_source_filter' => :'utm_source_filter',
141
198
  :'visitor_number' => :'visitor_number',
142
199
  :'watched' => :'watched'
143
200
  }
@@ -149,18 +206,25 @@ module UltracartClient
149
206
  :'affiliate_email' => :'String',
150
207
  :'affiliate_id' => :'Integer',
151
208
  :'communications_campaign_name' => :'String',
209
+ :'communications_campaign_name_filter' => :'BOOLEAN',
152
210
  :'communications_email_subject' => :'String',
211
+ :'communications_email_subject_filter' => :'BOOLEAN',
153
212
  :'communications_flow_name' => :'String',
213
+ :'communications_flow_name_filter' => :'BOOLEAN',
154
214
  :'email' => :'ScreenRecordingFilterStringSearch',
155
215
  :'email_domain' => :'String',
216
+ :'email_domain_filter' => :'BOOLEAN',
156
217
  :'email_identified' => :'BOOLEAN',
157
218
  :'end_timestamp' => :'ScreenRecordingFilterRangeDate',
158
219
  :'esp_customer_uuid' => :'String',
159
220
  :'favorite' => :'BOOLEAN',
160
221
  :'geolocation' => :'ScreenRecordingFilterGeoDistance',
161
222
  :'geolocation_country' => :'ScreenRecordingFilterStringSearch',
223
+ :'geolocation_country_filter' => :'BOOLEAN',
162
224
  :'geolocation_state' => :'ScreenRecordingFilterStringSearch',
225
+ :'geolocation_state_filter' => :'BOOLEAN',
163
226
  :'language_iso_code' => :'ScreenRecordingFilterStringSearch',
227
+ :'language_iso_code_filter' => :'BOOLEAN',
164
228
  :'last_x_days' => :'Integer',
165
229
  :'max_filter_values' => :'Integer',
166
230
  :'order_id' => :'ScreenRecordingFilterStringSearch',
@@ -168,23 +232,35 @@ module UltracartClient
168
232
  :'page_views' => :'Array<ScreenRecordingFilterPageView>',
169
233
  :'placed_order' => :'BOOLEAN',
170
234
  :'preferred_language' => :'ScreenRecordingFilterStringSearch',
235
+ :'preferred_language_filter' => :'BOOLEAN',
171
236
  :'referrer_domain' => :'String',
172
- :'return_filter_values' => :'Array<String>',
237
+ :'referrer_domain_filter' => :'BOOLEAN',
173
238
  :'screen_recording_uuids' => :'Array<String>',
174
239
  :'screen_sizes' => :'Array<String>',
175
240
  :'skip_filter_values' => :'BOOLEAN',
241
+ :'skip_histogram' => :'BOOLEAN',
176
242
  :'skip_hits' => :'BOOLEAN',
177
243
  :'start_timestamp' => :'ScreenRecordingFilterRangeDate',
178
244
  :'tags' => :'Array<String>',
179
245
  :'time_on_site' => :'ScreenRecordingFilterRangeInteger',
246
+ :'time_on_site_max_filter' => :'BOOLEAN',
247
+ :'time_on_site_min_filter' => :'BOOLEAN',
248
+ :'url_filter' => :'BOOLEAN',
180
249
  :'user_agent_device_name' => :'String',
250
+ :'user_agent_device_name_filter' => :'BOOLEAN',
251
+ :'user_agent_device_os_name_filter' => :'BOOLEAN',
252
+ :'user_agent_device_os_version_filter' => :'BOOLEAN',
181
253
  :'user_agent_name' => :'String',
254
+ :'user_agent_name_filter' => :'BOOLEAN',
182
255
  :'user_agent_original' => :'ScreenRecordingFilterStringSearch',
256
+ :'user_agent_original_filter' => :'BOOLEAN',
183
257
  :'user_agent_os_name' => :'String',
184
258
  :'user_agent_os_version' => :'String',
185
259
  :'user_ip' => :'ScreenRecordingFilterIpSearch',
186
260
  :'utm_campaign' => :'String',
261
+ :'utm_campaign_filter' => :'BOOLEAN',
187
262
  :'utm_source' => :'String',
263
+ :'utm_source_filter' => :'BOOLEAN',
188
264
  :'visitor_number' => :'Integer',
189
265
  :'watched' => :'BOOLEAN'
190
266
  }
@@ -210,14 +286,26 @@ module UltracartClient
210
286
  self.communications_campaign_name = attributes[:'communications_campaign_name']
211
287
  end
212
288
 
289
+ if attributes.has_key?(:'communications_campaign_name_filter')
290
+ self.communications_campaign_name_filter = attributes[:'communications_campaign_name_filter']
291
+ end
292
+
213
293
  if attributes.has_key?(:'communications_email_subject')
214
294
  self.communications_email_subject = attributes[:'communications_email_subject']
215
295
  end
216
296
 
297
+ if attributes.has_key?(:'communications_email_subject_filter')
298
+ self.communications_email_subject_filter = attributes[:'communications_email_subject_filter']
299
+ end
300
+
217
301
  if attributes.has_key?(:'communications_flow_name')
218
302
  self.communications_flow_name = attributes[:'communications_flow_name']
219
303
  end
220
304
 
305
+ if attributes.has_key?(:'communications_flow_name_filter')
306
+ self.communications_flow_name_filter = attributes[:'communications_flow_name_filter']
307
+ end
308
+
221
309
  if attributes.has_key?(:'email')
222
310
  self.email = attributes[:'email']
223
311
  end
@@ -226,6 +314,10 @@ module UltracartClient
226
314
  self.email_domain = attributes[:'email_domain']
227
315
  end
228
316
 
317
+ if attributes.has_key?(:'email_domain_filter')
318
+ self.email_domain_filter = attributes[:'email_domain_filter']
319
+ end
320
+
229
321
  if attributes.has_key?(:'email_identified')
230
322
  self.email_identified = attributes[:'email_identified']
231
323
  end
@@ -250,14 +342,26 @@ module UltracartClient
250
342
  self.geolocation_country = attributes[:'geolocation_country']
251
343
  end
252
344
 
345
+ if attributes.has_key?(:'geolocation_country_filter')
346
+ self.geolocation_country_filter = attributes[:'geolocation_country_filter']
347
+ end
348
+
253
349
  if attributes.has_key?(:'geolocation_state')
254
350
  self.geolocation_state = attributes[:'geolocation_state']
255
351
  end
256
352
 
353
+ if attributes.has_key?(:'geolocation_state_filter')
354
+ self.geolocation_state_filter = attributes[:'geolocation_state_filter']
355
+ end
356
+
257
357
  if attributes.has_key?(:'language_iso_code')
258
358
  self.language_iso_code = attributes[:'language_iso_code']
259
359
  end
260
360
 
361
+ if attributes.has_key?(:'language_iso_code_filter')
362
+ self.language_iso_code_filter = attributes[:'language_iso_code_filter']
363
+ end
364
+
261
365
  if attributes.has_key?(:'last_x_days')
262
366
  self.last_x_days = attributes[:'last_x_days']
263
367
  end
@@ -288,14 +392,16 @@ module UltracartClient
288
392
  self.preferred_language = attributes[:'preferred_language']
289
393
  end
290
394
 
395
+ if attributes.has_key?(:'preferred_language_filter')
396
+ self.preferred_language_filter = attributes[:'preferred_language_filter']
397
+ end
398
+
291
399
  if attributes.has_key?(:'referrer_domain')
292
400
  self.referrer_domain = attributes[:'referrer_domain']
293
401
  end
294
402
 
295
- if attributes.has_key?(:'return_filter_values')
296
- if (value = attributes[:'return_filter_values']).is_a?(Array)
297
- self.return_filter_values = value
298
- end
403
+ if attributes.has_key?(:'referrer_domain_filter')
404
+ self.referrer_domain_filter = attributes[:'referrer_domain_filter']
299
405
  end
300
406
 
301
407
  if attributes.has_key?(:'screen_recording_uuids')
@@ -314,6 +420,10 @@ module UltracartClient
314
420
  self.skip_filter_values = attributes[:'skip_filter_values']
315
421
  end
316
422
 
423
+ if attributes.has_key?(:'skip_histogram')
424
+ self.skip_histogram = attributes[:'skip_histogram']
425
+ end
426
+
317
427
  if attributes.has_key?(:'skip_hits')
318
428
  self.skip_hits = attributes[:'skip_hits']
319
429
  end
@@ -332,18 +442,50 @@ module UltracartClient
332
442
  self.time_on_site = attributes[:'time_on_site']
333
443
  end
334
444
 
445
+ if attributes.has_key?(:'time_on_site_max_filter')
446
+ self.time_on_site_max_filter = attributes[:'time_on_site_max_filter']
447
+ end
448
+
449
+ if attributes.has_key?(:'time_on_site_min_filter')
450
+ self.time_on_site_min_filter = attributes[:'time_on_site_min_filter']
451
+ end
452
+
453
+ if attributes.has_key?(:'url_filter')
454
+ self.url_filter = attributes[:'url_filter']
455
+ end
456
+
335
457
  if attributes.has_key?(:'user_agent_device_name')
336
458
  self.user_agent_device_name = attributes[:'user_agent_device_name']
337
459
  end
338
460
 
461
+ if attributes.has_key?(:'user_agent_device_name_filter')
462
+ self.user_agent_device_name_filter = attributes[:'user_agent_device_name_filter']
463
+ end
464
+
465
+ if attributes.has_key?(:'user_agent_device_os_name_filter')
466
+ self.user_agent_device_os_name_filter = attributes[:'user_agent_device_os_name_filter']
467
+ end
468
+
469
+ if attributes.has_key?(:'user_agent_device_os_version_filter')
470
+ self.user_agent_device_os_version_filter = attributes[:'user_agent_device_os_version_filter']
471
+ end
472
+
339
473
  if attributes.has_key?(:'user_agent_name')
340
474
  self.user_agent_name = attributes[:'user_agent_name']
341
475
  end
342
476
 
477
+ if attributes.has_key?(:'user_agent_name_filter')
478
+ self.user_agent_name_filter = attributes[:'user_agent_name_filter']
479
+ end
480
+
343
481
  if attributes.has_key?(:'user_agent_original')
344
482
  self.user_agent_original = attributes[:'user_agent_original']
345
483
  end
346
484
 
485
+ if attributes.has_key?(:'user_agent_original_filter')
486
+ self.user_agent_original_filter = attributes[:'user_agent_original_filter']
487
+ end
488
+
347
489
  if attributes.has_key?(:'user_agent_os_name')
348
490
  self.user_agent_os_name = attributes[:'user_agent_os_name']
349
491
  end
@@ -360,10 +502,18 @@ module UltracartClient
360
502
  self.utm_campaign = attributes[:'utm_campaign']
361
503
  end
362
504
 
505
+ if attributes.has_key?(:'utm_campaign_filter')
506
+ self.utm_campaign_filter = attributes[:'utm_campaign_filter']
507
+ end
508
+
363
509
  if attributes.has_key?(:'utm_source')
364
510
  self.utm_source = attributes[:'utm_source']
365
511
  end
366
512
 
513
+ if attributes.has_key?(:'utm_source_filter')
514
+ self.utm_source_filter = attributes[:'utm_source_filter']
515
+ end
516
+
367
517
  if attributes.has_key?(:'visitor_number')
368
518
  self.visitor_number = attributes[:'visitor_number']
369
519
  end
@@ -394,18 +544,25 @@ module UltracartClient
394
544
  affiliate_email == o.affiliate_email &&
395
545
  affiliate_id == o.affiliate_id &&
396
546
  communications_campaign_name == o.communications_campaign_name &&
547
+ communications_campaign_name_filter == o.communications_campaign_name_filter &&
397
548
  communications_email_subject == o.communications_email_subject &&
549
+ communications_email_subject_filter == o.communications_email_subject_filter &&
398
550
  communications_flow_name == o.communications_flow_name &&
551
+ communications_flow_name_filter == o.communications_flow_name_filter &&
399
552
  email == o.email &&
400
553
  email_domain == o.email_domain &&
554
+ email_domain_filter == o.email_domain_filter &&
401
555
  email_identified == o.email_identified &&
402
556
  end_timestamp == o.end_timestamp &&
403
557
  esp_customer_uuid == o.esp_customer_uuid &&
404
558
  favorite == o.favorite &&
405
559
  geolocation == o.geolocation &&
406
560
  geolocation_country == o.geolocation_country &&
561
+ geolocation_country_filter == o.geolocation_country_filter &&
407
562
  geolocation_state == o.geolocation_state &&
563
+ geolocation_state_filter == o.geolocation_state_filter &&
408
564
  language_iso_code == o.language_iso_code &&
565
+ language_iso_code_filter == o.language_iso_code_filter &&
409
566
  last_x_days == o.last_x_days &&
410
567
  max_filter_values == o.max_filter_values &&
411
568
  order_id == o.order_id &&
@@ -413,23 +570,35 @@ module UltracartClient
413
570
  page_views == o.page_views &&
414
571
  placed_order == o.placed_order &&
415
572
  preferred_language == o.preferred_language &&
573
+ preferred_language_filter == o.preferred_language_filter &&
416
574
  referrer_domain == o.referrer_domain &&
417
- return_filter_values == o.return_filter_values &&
575
+ referrer_domain_filter == o.referrer_domain_filter &&
418
576
  screen_recording_uuids == o.screen_recording_uuids &&
419
577
  screen_sizes == o.screen_sizes &&
420
578
  skip_filter_values == o.skip_filter_values &&
579
+ skip_histogram == o.skip_histogram &&
421
580
  skip_hits == o.skip_hits &&
422
581
  start_timestamp == o.start_timestamp &&
423
582
  tags == o.tags &&
424
583
  time_on_site == o.time_on_site &&
584
+ time_on_site_max_filter == o.time_on_site_max_filter &&
585
+ time_on_site_min_filter == o.time_on_site_min_filter &&
586
+ url_filter == o.url_filter &&
425
587
  user_agent_device_name == o.user_agent_device_name &&
588
+ user_agent_device_name_filter == o.user_agent_device_name_filter &&
589
+ user_agent_device_os_name_filter == o.user_agent_device_os_name_filter &&
590
+ user_agent_device_os_version_filter == o.user_agent_device_os_version_filter &&
426
591
  user_agent_name == o.user_agent_name &&
592
+ user_agent_name_filter == o.user_agent_name_filter &&
427
593
  user_agent_original == o.user_agent_original &&
594
+ user_agent_original_filter == o.user_agent_original_filter &&
428
595
  user_agent_os_name == o.user_agent_os_name &&
429
596
  user_agent_os_version == o.user_agent_os_version &&
430
597
  user_ip == o.user_ip &&
431
598
  utm_campaign == o.utm_campaign &&
599
+ utm_campaign_filter == o.utm_campaign_filter &&
432
600
  utm_source == o.utm_source &&
601
+ utm_source_filter == o.utm_source_filter &&
433
602
  visitor_number == o.visitor_number &&
434
603
  watched == o.watched
435
604
  end
@@ -443,7 +612,7 @@ module UltracartClient
443
612
  # Calculates hash code according to all attributes.
444
613
  # @return [Fixnum] Hash code
445
614
  def hash
446
- [affiliate_email, affiliate_id, communications_campaign_name, communications_email_subject, communications_flow_name, email, email_domain, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_state, language_iso_code, last_x_days, max_filter_values, order_id, page_view_count, page_views, placed_order, preferred_language, referrer_domain, return_filter_values, screen_recording_uuids, screen_sizes, skip_filter_values, skip_hits, start_timestamp, tags, time_on_site, user_agent_device_name, user_agent_name, user_agent_original, user_agent_os_name, user_agent_os_version, user_ip, utm_campaign, utm_source, visitor_number, watched].hash
615
+ [affiliate_email, affiliate_id, communications_campaign_name, communications_campaign_name_filter, communications_email_subject, communications_email_subject_filter, communications_flow_name, communications_flow_name_filter, email, email_domain, email_domain_filter, email_identified, end_timestamp, esp_customer_uuid, favorite, geolocation, geolocation_country, geolocation_country_filter, geolocation_state, geolocation_state_filter, language_iso_code, language_iso_code_filter, last_x_days, max_filter_values, order_id, page_view_count, page_views, placed_order, preferred_language, preferred_language_filter, referrer_domain, referrer_domain_filter, screen_recording_uuids, screen_sizes, skip_filter_values, skip_histogram, skip_hits, start_timestamp, tags, time_on_site, time_on_site_max_filter, time_on_site_min_filter, url_filter, user_agent_device_name, user_agent_device_name_filter, user_agent_device_os_name_filter, user_agent_device_os_version_filter, user_agent_name, user_agent_name_filter, user_agent_original, user_agent_original_filter, user_agent_os_name, user_agent_os_version, user_ip, utm_campaign, utm_campaign_filter, utm_source, utm_source_filter, visitor_number, watched].hash
447
616
  end
448
617
 
449
618
  # Builds the object from hash