ultracart_api 3.1.17 → 3.1.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -4
  3. data/docs/CouponPercentOffMsrpItems.md +1 -1
  4. data/docs/CustomerLoyalty.md +1 -0
  5. data/docs/EmailCampaign.md +2 -1
  6. data/docs/EmailFlow.md +2 -1
  7. data/docs/LibraryItemAttribute.md +0 -1
  8. data/docs/OrderApi.md +5 -1
  9. data/docs/OrderProcessPaymentRequest.md +1 -0
  10. data/docs/OrderQuery.md +3 -1
  11. data/docs/OrderSummary.md +1 -0
  12. data/docs/ScreenRecording.md +13 -0
  13. data/docs/ScreenRecordingAdPlatform.md +13 -0
  14. data/docs/ScreenRecordingFilter.md +12 -0
  15. data/docs/ScreenRecordingFilterPageView.md +1 -0
  16. data/docs/ScreenRecordingFilterValues.md +12 -2
  17. data/docs/ScreenRecordingFilterValuesPageView.md +13 -0
  18. data/docs/ScreenRecordingHeatmap.md +19 -0
  19. data/docs/ScreenRecordingHeatmapIndexResponse.md +12 -0
  20. data/docs/ScreenRecordingHeatmapRequest.md +9 -0
  21. data/docs/ScreenRecordingHeatmapReset.md +8 -0
  22. data/docs/ScreenRecordingHeatmapResponse.md +12 -0
  23. data/docs/ScreenRecordingHeatmapUrl.md +12 -0
  24. data/docs/ScreenRecordingPageView.md +3 -0
  25. data/docs/ScreenRecordingPageViewEvent.md +1 -0
  26. data/docs/ScreenRecordingQueryResponse.md +3 -0
  27. data/docs/ScreenRecordingSegment.md +3 -0
  28. data/docs/ScreenRecordingSettings.md +5 -0
  29. data/docs/StorefrontApi.md +158 -0
  30. data/docs/TaxJarConfig.md +1 -0
  31. data/lib/ultracart_api.rb +8 -0
  32. data/lib/ultracart_api/api/order_api.rb +8 -2
  33. data/lib/ultracart_api/api/storefront_api.rb +176 -0
  34. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +1 -1
  35. data/lib/ultracart_api/models/customer_loyalty.rb +11 -1
  36. data/lib/ultracart_api/models/email_campaign.rb +12 -2
  37. data/lib/ultracart_api/models/email_flow.rb +12 -2
  38. data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
  39. data/lib/ultracart_api/models/order_process_payment_request.rb +11 -1
  40. data/lib/ultracart_api/models/order_query.rb +22 -2
  41. data/lib/ultracart_api/models/order_summary.rb +10 -1
  42. data/lib/ultracart_api/models/screen_recording.rb +128 -1
  43. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +235 -0
  44. data/lib/ultracart_api/models/screen_recording_filter.rb +109 -1
  45. data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +10 -1
  46. data/lib/ultracart_api/models/screen_recording_filter_values.rb +124 -18
  47. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +237 -0
  48. data/lib/ultracart_api/models/screen_recording_heatmap.rb +283 -0
  49. data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +223 -0
  50. data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +193 -0
  51. data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +184 -0
  52. data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +221 -0
  53. data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +222 -0
  54. data/lib/ultracart_api/models/screen_recording_page_view.rb +30 -1
  55. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +10 -1
  56. data/lib/ultracart_api/models/screen_recording_query_response.rb +30 -1
  57. data/lib/ultracart_api/models/screen_recording_segment.rb +30 -1
  58. data/lib/ultracart_api/models/screen_recording_settings.rb +49 -4
  59. data/lib/ultracart_api/models/tax_jar_config.rb +11 -1
  60. data/lib/ultracart_api/version.rb +1 -1
  61. metadata +18 -2
@@ -0,0 +1,222 @@
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 ScreenRecordingHeatmapUrl
17
+ attr_accessor :histogram_data
18
+
19
+ attr_accessor :histogram_interval
20
+
21
+ attr_accessor :histogram_start_dts
22
+
23
+ attr_accessor :session_count
24
+
25
+ attr_accessor :url
26
+
27
+ # Attribute mapping from ruby-style variable name to JSON key.
28
+ def self.attribute_map
29
+ {
30
+ :'histogram_data' => :'histogram_data',
31
+ :'histogram_interval' => :'histogram_interval',
32
+ :'histogram_start_dts' => :'histogram_start_dts',
33
+ :'session_count' => :'session_count',
34
+ :'url' => :'url'
35
+ }
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.swagger_types
40
+ {
41
+ :'histogram_data' => :'Array<Integer>',
42
+ :'histogram_interval' => :'String',
43
+ :'histogram_start_dts' => :'String',
44
+ :'session_count' => :'Integer',
45
+ :'url' => :'String'
46
+ }
47
+ end
48
+
49
+ # Initializes the object
50
+ # @param [Hash] attributes Model attributes in the form of hash
51
+ def initialize(attributes = {})
52
+ return unless attributes.is_a?(Hash)
53
+
54
+ # convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
56
+
57
+ if attributes.has_key?(:'histogram_data')
58
+ if (value = attributes[:'histogram_data']).is_a?(Array)
59
+ self.histogram_data = value
60
+ end
61
+ end
62
+
63
+ if attributes.has_key?(:'histogram_interval')
64
+ self.histogram_interval = attributes[:'histogram_interval']
65
+ end
66
+
67
+ if attributes.has_key?(:'histogram_start_dts')
68
+ self.histogram_start_dts = attributes[:'histogram_start_dts']
69
+ end
70
+
71
+ if attributes.has_key?(:'session_count')
72
+ self.session_count = attributes[:'session_count']
73
+ end
74
+
75
+ if attributes.has_key?(:'url')
76
+ self.url = attributes[:'url']
77
+ end
78
+ end
79
+
80
+ # Show invalid properties with the reasons. Usually used together with valid?
81
+ # @return Array for valid properties with the reasons
82
+ def list_invalid_properties
83
+ invalid_properties = Array.new
84
+ invalid_properties
85
+ end
86
+
87
+ # Check to see if the all the properties in the model are valid
88
+ # @return true if the model is valid
89
+ def valid?
90
+ true
91
+ end
92
+
93
+ # Checks equality by comparing each attribute.
94
+ # @param [Object] Object to be compared
95
+ def ==(o)
96
+ return true if self.equal?(o)
97
+ self.class == o.class &&
98
+ histogram_data == o.histogram_data &&
99
+ histogram_interval == o.histogram_interval &&
100
+ histogram_start_dts == o.histogram_start_dts &&
101
+ session_count == o.session_count &&
102
+ url == o.url
103
+ end
104
+
105
+ # @see the `==` method
106
+ # @param [Object] Object to be compared
107
+ def eql?(o)
108
+ self == o
109
+ end
110
+
111
+ # Calculates hash code according to all attributes.
112
+ # @return [Fixnum] Hash code
113
+ def hash
114
+ [histogram_data, histogram_interval, histogram_start_dts, session_count, url].hash
115
+ end
116
+
117
+ # Builds the object from hash
118
+ # @param [Hash] attributes Model attributes in the form of hash
119
+ # @return [Object] Returns the model itself
120
+ def build_from_hash(attributes)
121
+ return nil unless attributes.is_a?(Hash)
122
+ self.class.swagger_types.each_pair do |key, type|
123
+ if type =~ /\AArray<(.*)>/i
124
+ # check to ensure the input is an array given that the attribute
125
+ # is documented as an array but the input is not
126
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
127
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
128
+ end
129
+ elsif !attributes[self.class.attribute_map[key]].nil?
130
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
131
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
132
+ end
133
+
134
+ self
135
+ end
136
+
137
+ # Deserializes the data based on type
138
+ # @param string type Data type
139
+ # @param string value Value to be deserialized
140
+ # @return [Object] Deserialized data
141
+ def _deserialize(type, value)
142
+ case type.to_sym
143
+ when :DateTime
144
+ DateTime.parse(value)
145
+ when :Date
146
+ Date.parse(value)
147
+ when :String
148
+ value.to_s
149
+ when :Integer
150
+ value.to_i
151
+ when :Float
152
+ value.to_f
153
+ when :BOOLEAN
154
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
155
+ true
156
+ else
157
+ false
158
+ end
159
+ when :Object
160
+ # generic object (usually a Hash), return directly
161
+ value
162
+ when /\AArray<(?<inner_type>.+)>\z/
163
+ inner_type = Regexp.last_match[:inner_type]
164
+ value.map { |v| _deserialize(inner_type, v) }
165
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
166
+ k_type = Regexp.last_match[:k_type]
167
+ v_type = Regexp.last_match[:v_type]
168
+ {}.tap do |hash|
169
+ value.each do |k, v|
170
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
171
+ end
172
+ end
173
+ else # model
174
+ temp_model = UltracartClient.const_get(type).new
175
+ temp_model.build_from_hash(value)
176
+ end
177
+ end
178
+
179
+ # Returns the string representation of the object
180
+ # @return [String] String presentation of the object
181
+ def to_s
182
+ to_hash.to_s
183
+ end
184
+
185
+ # to_body is an alias to to_hash (backward compatibility)
186
+ # @return [Hash] Returns the object in the form of hash
187
+ def to_body
188
+ to_hash
189
+ end
190
+
191
+ # Returns the object in the form of hash
192
+ # @return [Hash] Returns the object in the form of hash
193
+ def to_hash
194
+ hash = {}
195
+ self.class.attribute_map.each_pair do |attr, param|
196
+ value = self.send(attr)
197
+ next if value.nil?
198
+ hash[param] = _to_hash(value)
199
+ end
200
+ hash
201
+ end
202
+
203
+ # Outputs non-array value in the form of hash
204
+ # For object, use to_hash. Otherwise, just return the value
205
+ # @param [Object] value Any valid value
206
+ # @return [Hash] Returns the value in the form of hash
207
+ def _to_hash(value)
208
+ if value.is_a?(Array)
209
+ value.compact.map { |v| _to_hash(v) }
210
+ elsif value.is_a?(Hash)
211
+ {}.tap do |hash|
212
+ value.each { |k, v| hash[k] = _to_hash(v) }
213
+ end
214
+ elsif value.respond_to? :to_hash
215
+ value.to_hash
216
+ else
217
+ value
218
+ end
219
+ end
220
+
221
+ end
222
+ end
@@ -14,6 +14,8 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class ScreenRecordingPageView
17
+ attr_accessor :domain
18
+
17
19
  attr_accessor :events
18
20
 
19
21
  # First event timestamp
@@ -42,6 +44,12 @@ module UltracartClient
42
44
 
43
45
  attr_accessor :time_on_page
44
46
 
47
+ # Amount of time for DOMContentLoaded event to fire (milliseconds)
48
+ attr_accessor :timing_dom_content_loaded
49
+
50
+ # Amount of time for loaded event to fire (milliseconds)
51
+ attr_accessor :timing_loaded
52
+
45
53
  attr_accessor :truncated_events
46
54
 
47
55
  attr_accessor :ucapv
@@ -51,6 +59,7 @@ module UltracartClient
51
59
  # Attribute mapping from ruby-style variable name to JSON key.
52
60
  def self.attribute_map
53
61
  {
62
+ :'domain' => :'domain',
54
63
  :'events' => :'events',
55
64
  :'first_event_timestamp' => :'first_event_timestamp',
56
65
  :'http_post' => :'http_post',
@@ -64,6 +73,8 @@ module UltracartClient
64
73
  :'referrer_raw' => :'referrer_raw',
65
74
  :'screen_recording_page_view_uuid' => :'screen_recording_page_view_uuid',
66
75
  :'time_on_page' => :'time_on_page',
76
+ :'timing_dom_content_loaded' => :'timing_dom_content_loaded',
77
+ :'timing_loaded' => :'timing_loaded',
67
78
  :'truncated_events' => :'truncated_events',
68
79
  :'ucapv' => :'ucapv',
69
80
  :'url' => :'url'
@@ -73,6 +84,7 @@ module UltracartClient
73
84
  # Attribute type mapping.
74
85
  def self.swagger_types
75
86
  {
87
+ :'domain' => :'String',
76
88
  :'events' => :'Array<ScreenRecordingPageViewEvent>',
77
89
  :'first_event_timestamp' => :'String',
78
90
  :'http_post' => :'BOOLEAN',
@@ -86,6 +98,8 @@ module UltracartClient
86
98
  :'referrer_raw' => :'String',
87
99
  :'screen_recording_page_view_uuid' => :'String',
88
100
  :'time_on_page' => :'Integer',
101
+ :'timing_dom_content_loaded' => :'Integer',
102
+ :'timing_loaded' => :'Integer',
89
103
  :'truncated_events' => :'BOOLEAN',
90
104
  :'ucapv' => :'String',
91
105
  :'url' => :'String'
@@ -100,6 +114,10 @@ module UltracartClient
100
114
  # convert string to symbol for hash key
101
115
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
102
116
 
117
+ if attributes.has_key?(:'domain')
118
+ self.domain = attributes[:'domain']
119
+ end
120
+
103
121
  if attributes.has_key?(:'events')
104
122
  if (value = attributes[:'events']).is_a?(Array)
105
123
  self.events = value
@@ -158,6 +176,14 @@ module UltracartClient
158
176
  self.time_on_page = attributes[:'time_on_page']
159
177
  end
160
178
 
179
+ if attributes.has_key?(:'timing_dom_content_loaded')
180
+ self.timing_dom_content_loaded = attributes[:'timing_dom_content_loaded']
181
+ end
182
+
183
+ if attributes.has_key?(:'timing_loaded')
184
+ self.timing_loaded = attributes[:'timing_loaded']
185
+ end
186
+
161
187
  if attributes.has_key?(:'truncated_events')
162
188
  self.truncated_events = attributes[:'truncated_events']
163
189
  end
@@ -189,6 +215,7 @@ module UltracartClient
189
215
  def ==(o)
190
216
  return true if self.equal?(o)
191
217
  self.class == o.class &&
218
+ domain == o.domain &&
192
219
  events == o.events &&
193
220
  first_event_timestamp == o.first_event_timestamp &&
194
221
  http_post == o.http_post &&
@@ -202,6 +229,8 @@ module UltracartClient
202
229
  referrer_raw == o.referrer_raw &&
203
230
  screen_recording_page_view_uuid == o.screen_recording_page_view_uuid &&
204
231
  time_on_page == o.time_on_page &&
232
+ timing_dom_content_loaded == o.timing_dom_content_loaded &&
233
+ timing_loaded == o.timing_loaded &&
205
234
  truncated_events == o.truncated_events &&
206
235
  ucapv == o.ucapv &&
207
236
  url == o.url
@@ -216,7 +245,7 @@ module UltracartClient
216
245
  # Calculates hash code according to all attributes.
217
246
  # @return [Fixnum] Hash code
218
247
  def hash
219
- [events, first_event_timestamp, http_post, last_event_timestamp, missing_events, params, range_end, range_start, referrer, referrer_params, referrer_raw, screen_recording_page_view_uuid, time_on_page, truncated_events, ucapv, url].hash
248
+ [domain, events, first_event_timestamp, http_post, last_event_timestamp, missing_events, params, range_end, range_start, referrer, referrer_params, referrer_raw, screen_recording_page_view_uuid, time_on_page, timing_dom_content_loaded, timing_loaded, truncated_events, ucapv, url].hash
220
249
  end
221
250
 
222
251
  # Builds the object from hash
@@ -18,6 +18,8 @@ module UltracartClient
18
18
 
19
19
  attr_accessor :params
20
20
 
21
+ attr_accessor :prior_page_view
22
+
21
23
  # Timestamp of the event
22
24
  attr_accessor :timestamp
23
25
 
@@ -28,6 +30,7 @@ module UltracartClient
28
30
  {
29
31
  :'name' => :'name',
30
32
  :'params' => :'params',
33
+ :'prior_page_view' => :'prior_page_view',
31
34
  :'timestamp' => :'timestamp',
32
35
  :'ts' => :'ts'
33
36
  }
@@ -38,6 +41,7 @@ module UltracartClient
38
41
  {
39
42
  :'name' => :'String',
40
43
  :'params' => :'Array<ScreenRecordingPageViewEventParameter>',
44
+ :'prior_page_view' => :'BOOLEAN',
41
45
  :'timestamp' => :'String',
42
46
  :'ts' => :'Integer'
43
47
  }
@@ -61,6 +65,10 @@ module UltracartClient
61
65
  end
62
66
  end
63
67
 
68
+ if attributes.has_key?(:'prior_page_view')
69
+ self.prior_page_view = attributes[:'prior_page_view']
70
+ end
71
+
64
72
  if attributes.has_key?(:'timestamp')
65
73
  self.timestamp = attributes[:'timestamp']
66
74
  end
@@ -90,6 +98,7 @@ module UltracartClient
90
98
  self.class == o.class &&
91
99
  name == o.name &&
92
100
  params == o.params &&
101
+ prior_page_view == o.prior_page_view &&
93
102
  timestamp == o.timestamp &&
94
103
  ts == o.ts
95
104
  end
@@ -103,7 +112,7 @@ module UltracartClient
103
112
  # Calculates hash code according to all attributes.
104
113
  # @return [Fixnum] Hash code
105
114
  def hash
106
- [name, params, timestamp, ts].hash
115
+ [name, params, prior_page_view, timestamp, ts].hash
107
116
  end
108
117
 
109
118
  # Builds the object from hash
@@ -20,6 +20,12 @@ module UltracartClient
20
20
 
21
21
  attr_accessor :filter_values
22
22
 
23
+ attr_accessor :histogram_data
24
+
25
+ attr_accessor :histogram_interval
26
+
27
+ attr_accessor :histogram_start_dts
28
+
23
29
  attr_accessor :metadata
24
30
 
25
31
  attr_accessor :screen_recordings
@@ -35,6 +41,9 @@ module UltracartClient
35
41
  :'error' => :'error',
36
42
  :'filter' => :'filter',
37
43
  :'filter_values' => :'filter_values',
44
+ :'histogram_data' => :'histogram_data',
45
+ :'histogram_interval' => :'histogram_interval',
46
+ :'histogram_start_dts' => :'histogram_start_dts',
38
47
  :'metadata' => :'metadata',
39
48
  :'screen_recordings' => :'screen_recordings',
40
49
  :'success' => :'success',
@@ -48,6 +57,9 @@ module UltracartClient
48
57
  :'error' => :'Error',
49
58
  :'filter' => :'ScreenRecordingFilter',
50
59
  :'filter_values' => :'ScreenRecordingFilterValues',
60
+ :'histogram_data' => :'Array<Integer>',
61
+ :'histogram_interval' => :'String',
62
+ :'histogram_start_dts' => :'String',
51
63
  :'metadata' => :'ResponseMetadata',
52
64
  :'screen_recordings' => :'Array<ScreenRecording>',
53
65
  :'success' => :'BOOLEAN',
@@ -75,6 +87,20 @@ module UltracartClient
75
87
  self.filter_values = attributes[:'filter_values']
76
88
  end
77
89
 
90
+ if attributes.has_key?(:'histogram_data')
91
+ if (value = attributes[:'histogram_data']).is_a?(Array)
92
+ self.histogram_data = value
93
+ end
94
+ end
95
+
96
+ if attributes.has_key?(:'histogram_interval')
97
+ self.histogram_interval = attributes[:'histogram_interval']
98
+ end
99
+
100
+ if attributes.has_key?(:'histogram_start_dts')
101
+ self.histogram_start_dts = attributes[:'histogram_start_dts']
102
+ end
103
+
78
104
  if attributes.has_key?(:'metadata')
79
105
  self.metadata = attributes[:'metadata']
80
106
  end
@@ -115,6 +141,9 @@ module UltracartClient
115
141
  error == o.error &&
116
142
  filter == o.filter &&
117
143
  filter_values == o.filter_values &&
144
+ histogram_data == o.histogram_data &&
145
+ histogram_interval == o.histogram_interval &&
146
+ histogram_start_dts == o.histogram_start_dts &&
118
147
  metadata == o.metadata &&
119
148
  screen_recordings == o.screen_recordings &&
120
149
  success == o.success &&
@@ -130,7 +159,7 @@ module UltracartClient
130
159
  # Calculates hash code according to all attributes.
131
160
  # @return [Fixnum] Hash code
132
161
  def hash
133
- [error, filter, filter_values, metadata, screen_recordings, success, warning].hash
162
+ [error, filter, filter_values, histogram_data, histogram_interval, histogram_start_dts, metadata, screen_recordings, success, warning].hash
134
163
  end
135
164
 
136
165
  # Builds the object from hash
@@ -20,6 +20,12 @@ module UltracartClient
20
20
 
21
21
  attr_accessor :filter
22
22
 
23
+ attr_accessor :histogram_data
24
+
25
+ attr_accessor :histogram_interval
26
+
27
+ attr_accessor :histogram_start_dts
28
+
23
29
  attr_accessor :name
24
30
 
25
31
  attr_accessor :screen_recording_segment_oid
@@ -34,6 +40,9 @@ module UltracartClient
34
40
  :'create_dts' => :'create_dts',
35
41
  :'description' => :'description',
36
42
  :'filter' => :'filter',
43
+ :'histogram_data' => :'histogram_data',
44
+ :'histogram_interval' => :'histogram_interval',
45
+ :'histogram_start_dts' => :'histogram_start_dts',
37
46
  :'name' => :'name',
38
47
  :'screen_recording_segment_oid' => :'screen_recording_segment_oid',
39
48
  :'session_count' => :'session_count',
@@ -47,6 +56,9 @@ module UltracartClient
47
56
  :'create_dts' => :'String',
48
57
  :'description' => :'String',
49
58
  :'filter' => :'ScreenRecordingFilter',
59
+ :'histogram_data' => :'Array<Integer>',
60
+ :'histogram_interval' => :'String',
61
+ :'histogram_start_dts' => :'String',
50
62
  :'name' => :'String',
51
63
  :'screen_recording_segment_oid' => :'Integer',
52
64
  :'session_count' => :'Integer',
@@ -74,6 +86,20 @@ module UltracartClient
74
86
  self.filter = attributes[:'filter']
75
87
  end
76
88
 
89
+ if attributes.has_key?(:'histogram_data')
90
+ if (value = attributes[:'histogram_data']).is_a?(Array)
91
+ self.histogram_data = value
92
+ end
93
+ end
94
+
95
+ if attributes.has_key?(:'histogram_interval')
96
+ self.histogram_interval = attributes[:'histogram_interval']
97
+ end
98
+
99
+ if attributes.has_key?(:'histogram_start_dts')
100
+ self.histogram_start_dts = attributes[:'histogram_start_dts']
101
+ end
102
+
77
103
  if attributes.has_key?(:'name')
78
104
  self.name = attributes[:'name']
79
105
  end
@@ -112,6 +138,9 @@ module UltracartClient
112
138
  create_dts == o.create_dts &&
113
139
  description == o.description &&
114
140
  filter == o.filter &&
141
+ histogram_data == o.histogram_data &&
142
+ histogram_interval == o.histogram_interval &&
143
+ histogram_start_dts == o.histogram_start_dts &&
115
144
  name == o.name &&
116
145
  screen_recording_segment_oid == o.screen_recording_segment_oid &&
117
146
  session_count == o.session_count &&
@@ -127,7 +156,7 @@ module UltracartClient
127
156
  # Calculates hash code according to all attributes.
128
157
  # @return [Fixnum] Hash code
129
158
  def hash
130
- [create_dts, description, filter, name, screen_recording_segment_oid, session_count, session_count_last_update_dts].hash
159
+ [create_dts, description, filter, histogram_data, histogram_interval, histogram_start_dts, name, screen_recording_segment_oid, session_count, session_count_last_update_dts].hash
131
160
  end
132
161
 
133
162
  # Builds the object from hash