appnigma-sdk 0.2.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +11 -0
  3. data/README.md +90 -69
  4. data/lib/appnigma/client.rb +21 -28
  5. data/lib/appnigma/constants.rb +1 -0
  6. data/lib/appnigma/crm.rb +63 -6
  7. data/lib/appnigma/errors.rb +15 -0
  8. data/lib/appnigma/generated/api/default_api.rb +523 -61
  9. data/lib/appnigma/generated/api_client.rb +1 -1
  10. data/lib/appnigma/generated/api_error.rb +1 -1
  11. data/lib/appnigma/generated/api_model_base.rb +1 -1
  12. data/lib/appnigma/generated/configuration.rb +1 -1
  13. data/lib/appnigma/generated/models/action_entry.rb +341 -0
  14. data/lib/appnigma/generated/models/connection_status.rb +1 -1
  15. data/lib/appnigma/generated/models/create_connection_link_input.rb +1 -1
  16. data/lib/appnigma/generated/models/create_connection_link_output.rb +2 -2
  17. data/lib/appnigma/generated/models/crm_company.rb +1 -1
  18. data/lib/appnigma/generated/models/crm_company_get_output.rb +1 -1
  19. data/lib/appnigma/generated/models/crm_company_list_output.rb +1 -1
  20. data/lib/appnigma/generated/models/{post_output.rb → crm_company_write_output.rb} +20 -46
  21. data/lib/appnigma/generated/models/crm_contact.rb +1 -1
  22. data/lib/appnigma/generated/models/crm_contact_get_output.rb +1 -1
  23. data/lib/appnigma/generated/models/crm_contact_list_output.rb +1 -1
  24. data/lib/appnigma/generated/models/crm_contact_write_output.rb +177 -0
  25. data/lib/appnigma/generated/models/crm_create_input.rb +256 -0
  26. data/lib/appnigma/generated/models/crm_custom_field.rb +1 -1
  27. data/lib/appnigma/generated/models/crm_deal.rb +1 -1
  28. data/lib/appnigma/generated/models/{post_input.rb → crm_deal_create_input.rb} +48 -81
  29. data/lib/appnigma/generated/models/crm_deal_get_output.rb +1 -1
  30. data/lib/appnigma/generated/models/crm_deal_list_output.rb +1 -1
  31. data/lib/appnigma/generated/models/crm_deal_write_output.rb +177 -0
  32. data/lib/appnigma/generated/models/crm_email.rb +1 -1
  33. data/lib/appnigma/generated/models/crm_get_input.rb +1 -1
  34. data/lib/appnigma/generated/models/crm_labelled.rb +1 -1
  35. data/lib/appnigma/generated/models/crm_list_input.rb +1 -1
  36. data/lib/appnigma/generated/models/crm_phone.rb +1 -1
  37. data/lib/appnigma/generated/models/{pull_input.rb → crm_update_input.rb} +66 -100
  38. data/lib/appnigma/generated/models/function_entry.rb +1 -1
  39. data/lib/appnigma/generated/models/function_owner.rb +1 -1
  40. data/lib/appnigma/generated/models/function_owner_one_of.rb +1 -1
  41. data/lib/appnigma/generated/models/function_owner_one_of1.rb +1 -1
  42. data/lib/appnigma/generated/models/get_connection_output.rb +1 -1
  43. data/lib/appnigma/generated/models/get_guide_output.rb +1 -1
  44. data/lib/appnigma/generated/models/json_value.rb +1 -1
  45. data/lib/appnigma/generated/models/{pull_output_records_inner.rb → list_actions_output.rb} +21 -47
  46. data/lib/appnigma/generated/models/list_functions_output.rb +1 -1
  47. data/lib/appnigma/generated/models/list_platforms_output.rb +179 -0
  48. data/lib/appnigma/generated/models/platform_entry.rb +269 -0
  49. data/lib/appnigma/generated/models/platform_entry_coverage_inner.rb +219 -0
  50. data/lib/appnigma/generated/models/platform_request_input.rb +1 -1
  51. data/lib/appnigma/generated/models/platform_request_input_body.rb +1 -1
  52. data/lib/appnigma/generated/models/platform_request_output.rb +1 -1
  53. data/lib/appnigma/generated/models/ran_as.rb +4 -6
  54. data/lib/appnigma/generated/models/run_action_input.rb +277 -0
  55. data/lib/appnigma/generated/models/{pull_output.rb → run_action_output.rb} +21 -34
  56. data/lib/appnigma/generated/models/run_input.rb +3 -3
  57. data/lib/appnigma/generated/models/run_output.rb +1 -1
  58. data/lib/appnigma/generated/models/sdk_error.rb +1 -1
  59. data/lib/appnigma/generated/models/sdk_error_error.rb +3 -3
  60. data/lib/appnigma/generated/models/sdk_error_error_details.rb +32 -3
  61. data/lib/appnigma/generated/models/sdk_problem.rb +1 -1
  62. data/lib/appnigma/generated/version.rb +1 -1
  63. data/lib/appnigma/generated.rb +14 -7
  64. data/lib/appnigma/names.rb +9 -0
  65. data/lib/appnigma/platforms.rb +18 -0
  66. data/lib/appnigma/retry.rb +3 -3
  67. data/lib/appnigma/version.rb +2 -2
  68. metadata +15 -7
  69. data/lib/appnigma/generated/models/post_input_record_value.rb +0 -104
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0
@@ -14,51 +14,26 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Appnigma::Generated
17
- class PullInput < ApiModelBase
17
+ class CrmUpdateInput < ApiModelBase
18
18
  # Your own id for the end customer.
19
19
  attr_accessor :end_customer_id
20
20
 
21
- # Only hubspot for now: post and pull work on HubSpot until unified data replaces them.
21
+ # The platform key, such as hubspot.
22
22
  attr_accessor :platform
23
23
 
24
- attr_accessor :object
24
+ # The record's id in the CRM.
25
+ attr_accessor :id
25
26
 
26
- # 1 to 100. Default 100.
27
- attr_accessor :limit
28
-
29
- # The next marker from the previous page.
30
- attr_accessor :after
31
-
32
- class EnumAttributeValidator
33
- attr_reader :datatype
34
- attr_reader :allowable_values
35
-
36
- def initialize(datatype, allowable_values)
37
- @allowable_values = allowable_values.map do |value|
38
- case datatype.to_s
39
- when /Integer/i
40
- value.to_i
41
- when /Float/i
42
- value.to_f
43
- else
44
- value
45
- end
46
- end
47
- end
48
-
49
- def valid?(value)
50
- !value || allowable_values.include?(value)
51
- end
52
- end
27
+ # The fields to set. null clears a value; a field left out is left alone.
28
+ attr_accessor :record
53
29
 
54
30
  # Attribute mapping from ruby-style variable name to JSON key.
55
31
  def self.attribute_map
56
32
  {
57
33
  :'end_customer_id' => :'endCustomerId',
58
34
  :'platform' => :'platform',
59
- :'object' => :'object',
60
- :'limit' => :'limit',
61
- :'after' => :'after'
35
+ :'id' => :'id',
36
+ :'record' => :'record'
62
37
  }
63
38
  end
64
39
 
@@ -77,9 +52,8 @@ module Appnigma::Generated
77
52
  {
78
53
  :'end_customer_id' => :'String',
79
54
  :'platform' => :'String',
80
- :'object' => :'String',
81
- :'limit' => :'Integer',
82
- :'after' => :'String'
55
+ :'id' => :'String',
56
+ :'record' => :'Hash<String, JsonValue>'
83
57
  }
84
58
  end
85
59
 
@@ -103,14 +77,14 @@ module Appnigma::Generated
103
77
  # @param [Hash] attributes Model attributes in the form of hash
104
78
  def initialize(attributes = {})
105
79
  if (!attributes.is_a?(Hash))
106
- fail ArgumentError, "The input argument (attributes) must be a hash in `Appnigma::Generated::PullInput` initialize method"
80
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Appnigma::Generated::CrmUpdateInput` initialize method"
107
81
  end
108
82
 
109
83
  # check to see if the attribute exists and convert string to symbol for hash key
110
84
  acceptable_attribute_map = self.class.acceptable_attribute_map
111
85
  attributes = attributes.each_with_object({}) { |(k, v), h|
112
86
  if (!acceptable_attribute_map.key?(k.to_sym))
113
- fail ArgumentError, "`#{k}` is not a valid attribute in `Appnigma::Generated::PullInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
87
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Appnigma::Generated::CrmUpdateInput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
114
88
  end
115
89
  h[k.to_sym] = v
116
90
  }
@@ -127,18 +101,18 @@ module Appnigma::Generated
127
101
  self.platform = nil
128
102
  end
129
103
 
130
- if attributes.key?(:'object')
131
- self.object = attributes[:'object']
104
+ if attributes.key?(:'id')
105
+ self.id = attributes[:'id']
132
106
  else
133
- self.object = nil
134
- end
135
-
136
- if attributes.key?(:'limit')
137
- self.limit = attributes[:'limit']
107
+ self.id = nil
138
108
  end
139
109
 
140
- if attributes.key?(:'after')
141
- self.after = attributes[:'after']
110
+ if attributes.key?(:'record')
111
+ if (value = attributes[:'record']).is_a?(Hash)
112
+ self.record = value
113
+ end
114
+ else
115
+ self.record = nil
142
116
  end
143
117
  end
144
118
 
@@ -160,20 +134,25 @@ module Appnigma::Generated
160
134
  invalid_properties.push('invalid value for "platform", platform cannot be nil.')
161
135
  end
162
136
 
163
- if @object.nil?
164
- invalid_properties.push('invalid value for "object", object cannot be nil.')
137
+ pattern = Regexp.new(/^[a-z0-9]+(?:-[a-z0-9]+)*$/)
138
+ if @platform !~ pattern
139
+ invalid_properties.push("invalid value for \"platform\", must conform to the pattern #{pattern}.")
140
+ end
141
+
142
+ if @id.nil?
143
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
165
144
  end
166
145
 
167
- if !@limit.nil? && @limit > 100
168
- invalid_properties.push('invalid value for "limit", must be smaller than or equal to 100.')
146
+ if @id.to_s.length > 200
147
+ invalid_properties.push('invalid value for "id", the character length must be smaller than or equal to 200.')
169
148
  end
170
149
 
171
- if !@limit.nil? && @limit < 1
172
- invalid_properties.push('invalid value for "limit", must be greater than or equal to 1.')
150
+ if @id.to_s.length < 1
151
+ invalid_properties.push('invalid value for "id", the character length must be greater than or equal to 1.')
173
152
  end
174
153
 
175
- if !@after.nil? && @after.to_s.length < 1
176
- invalid_properties.push('invalid value for "after", the character length must be greater than or equal to 1.')
154
+ if @record.nil?
155
+ invalid_properties.push('invalid value for "record", record cannot be nil.')
177
156
  end
178
157
 
179
158
  invalid_properties
@@ -186,14 +165,11 @@ module Appnigma::Generated
186
165
  return false if @end_customer_id.nil?
187
166
  return false if @end_customer_id !~ Regexp.new(/^[A-Za-z0-9._-]{1,100}$/)
188
167
  return false if @platform.nil?
189
- platform_validator = EnumAttributeValidator.new('String', ["hubspot"])
190
- return false unless platform_validator.valid?(@platform)
191
- return false if @object.nil?
192
- object_validator = EnumAttributeValidator.new('String', ["contact", "company", "deal"])
193
- return false unless object_validator.valid?(@object)
194
- return false if !@limit.nil? && @limit > 100
195
- return false if !@limit.nil? && @limit < 1
196
- return false if !@after.nil? && @after.to_s.length < 1
168
+ return false if @platform !~ Regexp.new(/^[a-z0-9]+(?:-[a-z0-9]+)*$/)
169
+ return false if @id.nil?
170
+ return false if @id.to_s.length > 200
171
+ return false if @id.to_s.length < 1
172
+ return false if @record.nil?
197
173
  true
198
174
  end
199
175
 
@@ -212,56 +188,47 @@ module Appnigma::Generated
212
188
  @end_customer_id = end_customer_id
213
189
  end
214
190
 
215
- # Custom attribute writer method checking allowed values (enum).
216
- # @param [Object] platform Object to be assigned
191
+ # Custom attribute writer method with validation
192
+ # @param [Object] platform Value to be assigned
217
193
  def platform=(platform)
218
- validator = EnumAttributeValidator.new('String', ["hubspot"])
219
- unless validator.valid?(platform)
220
- fail ArgumentError, "invalid value for \"platform\", must be one of #{validator.allowable_values}."
194
+ if platform.nil?
195
+ fail ArgumentError, 'platform cannot be nil'
221
196
  end
222
- @platform = platform
223
- end
224
197
 
225
- # Custom attribute writer method checking allowed values (enum).
226
- # @param [Object] object Object to be assigned
227
- def object=(object)
228
- validator = EnumAttributeValidator.new('String', ["contact", "company", "deal"])
229
- unless validator.valid?(object)
230
- fail ArgumentError, "invalid value for \"object\", must be one of #{validator.allowable_values}."
198
+ pattern = Regexp.new(/^[a-z0-9]+(?:-[a-z0-9]+)*$/)
199
+ if platform !~ pattern
200
+ fail ArgumentError, "invalid value for \"platform\", must conform to the pattern #{pattern}."
231
201
  end
232
- @object = object
202
+
203
+ @platform = platform
233
204
  end
234
205
 
235
206
  # Custom attribute writer method with validation
236
- # @param [Object] limit Value to be assigned
237
- def limit=(limit)
238
- if limit.nil?
239
- fail ArgumentError, 'limit cannot be nil'
207
+ # @param [Object] id Value to be assigned
208
+ def id=(id)
209
+ if id.nil?
210
+ fail ArgumentError, 'id cannot be nil'
240
211
  end
241
212
 
242
- if limit > 100
243
- fail ArgumentError, 'invalid value for "limit", must be smaller than or equal to 100.'
213
+ if id.to_s.length > 200
214
+ fail ArgumentError, 'invalid value for "id", the character length must be smaller than or equal to 200.'
244
215
  end
245
216
 
246
- if limit < 1
247
- fail ArgumentError, 'invalid value for "limit", must be greater than or equal to 1.'
217
+ if id.to_s.length < 1
218
+ fail ArgumentError, 'invalid value for "id", the character length must be greater than or equal to 1.'
248
219
  end
249
220
 
250
- @limit = limit
221
+ @id = id
251
222
  end
252
223
 
253
224
  # Custom attribute writer method with validation
254
- # @param [Object] after Value to be assigned
255
- def after=(after)
256
- if after.nil?
257
- fail ArgumentError, 'after cannot be nil'
258
- end
259
-
260
- if after.to_s.length < 1
261
- fail ArgumentError, 'invalid value for "after", the character length must be greater than or equal to 1.'
225
+ # @param [Object] record Value to be assigned
226
+ def record=(record)
227
+ if record.nil?
228
+ fail ArgumentError, 'record cannot be nil'
262
229
  end
263
230
 
264
- @after = after
231
+ @record = record
265
232
  end
266
233
 
267
234
  # Checks equality by comparing each attribute.
@@ -271,9 +238,8 @@ module Appnigma::Generated
271
238
  self.class == o.class &&
272
239
  end_customer_id == o.end_customer_id &&
273
240
  platform == o.platform &&
274
- object == o.object &&
275
- limit == o.limit &&
276
- after == o.after
241
+ id == o.id &&
242
+ record == o.record
277
243
  end
278
244
 
279
245
  # @see the `==` method
@@ -285,7 +251,7 @@ module Appnigma::Generated
285
251
  # Calculates hash code according to all attributes.
286
252
  # @return [Integer] Hash code
287
253
  def hash
288
- [end_customer_id, platform, object, limit, after].hash
254
+ [end_customer_id, platform, id, record].hash
289
255
  end
290
256
 
291
257
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0
@@ -14,16 +14,13 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Appnigma::Generated
17
- class PullOutputRecordsInner < ApiModelBase
18
- attr_accessor :id
19
-
20
- attr_accessor :properties
17
+ class ListActionsOutput < ApiModelBase
18
+ attr_accessor :actions
21
19
 
22
20
  # Attribute mapping from ruby-style variable name to JSON key.
23
21
  def self.attribute_map
24
22
  {
25
- :'id' => :'id',
26
- :'properties' => :'properties'
23
+ :'actions' => :'actions'
27
24
  }
28
25
  end
29
26
 
@@ -40,8 +37,7 @@ module Appnigma::Generated
40
37
  # Attribute type mapping.
41
38
  def self.openapi_types
42
39
  {
43
- :'id' => :'String',
44
- :'properties' => :'Hash<String, String>'
40
+ :'actions' => :'Array<ActionEntry>'
45
41
  }
46
42
  end
47
43
 
@@ -65,30 +61,24 @@ module Appnigma::Generated
65
61
  # @param [Hash] attributes Model attributes in the form of hash
66
62
  def initialize(attributes = {})
67
63
  if (!attributes.is_a?(Hash))
68
- fail ArgumentError, "The input argument (attributes) must be a hash in `Appnigma::Generated::PullOutputRecordsInner` initialize method"
64
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Appnigma::Generated::ListActionsOutput` initialize method"
69
65
  end
70
66
 
71
67
  # check to see if the attribute exists and convert string to symbol for hash key
72
68
  acceptable_attribute_map = self.class.acceptable_attribute_map
73
69
  attributes = attributes.each_with_object({}) { |(k, v), h|
74
70
  if (!acceptable_attribute_map.key?(k.to_sym))
75
- fail ArgumentError, "`#{k}` is not a valid attribute in `Appnigma::Generated::PullOutputRecordsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
71
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Appnigma::Generated::ListActionsOutput`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
76
72
  end
77
73
  h[k.to_sym] = v
78
74
  }
79
75
 
80
- if attributes.key?(:'id')
81
- self.id = attributes[:'id']
82
- else
83
- self.id = nil
84
- end
85
-
86
- if attributes.key?(:'properties')
87
- if (value = attributes[:'properties']).is_a?(Hash)
88
- self.properties = value
76
+ if attributes.key?(:'actions')
77
+ if (value = attributes[:'actions']).is_a?(Array)
78
+ self.actions = value
89
79
  end
90
80
  else
91
- self.properties = nil
81
+ self.actions = nil
92
82
  end
93
83
  end
94
84
 
@@ -97,12 +87,8 @@ module Appnigma::Generated
97
87
  def list_invalid_properties
98
88
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
99
89
  invalid_properties = Array.new
100
- if @id.nil?
101
- invalid_properties.push('invalid value for "id", id cannot be nil.')
102
- end
103
-
104
- if @properties.nil?
105
- invalid_properties.push('invalid value for "properties", properties cannot be nil.')
90
+ if @actions.nil?
91
+ invalid_properties.push('invalid value for "actions", actions cannot be nil.')
106
92
  end
107
93
 
108
94
  invalid_properties
@@ -112,29 +98,18 @@ module Appnigma::Generated
112
98
  # @return true if the model is valid
113
99
  def valid?
114
100
  warn '[DEPRECATED] the `valid?` method is obsolete'
115
- return false if @id.nil?
116
- return false if @properties.nil?
101
+ return false if @actions.nil?
117
102
  true
118
103
  end
119
104
 
120
105
  # Custom attribute writer method with validation
121
- # @param [Object] id Value to be assigned
122
- def id=(id)
123
- if id.nil?
124
- fail ArgumentError, 'id cannot be nil'
125
- end
126
-
127
- @id = id
128
- end
129
-
130
- # Custom attribute writer method with validation
131
- # @param [Object] properties Value to be assigned
132
- def properties=(properties)
133
- if properties.nil?
134
- fail ArgumentError, 'properties cannot be nil'
106
+ # @param [Object] actions Value to be assigned
107
+ def actions=(actions)
108
+ if actions.nil?
109
+ fail ArgumentError, 'actions cannot be nil'
135
110
  end
136
111
 
137
- @properties = properties
112
+ @actions = actions
138
113
  end
139
114
 
140
115
  # Checks equality by comparing each attribute.
@@ -142,8 +117,7 @@ module Appnigma::Generated
142
117
  def ==(o)
143
118
  return true if self.equal?(o)
144
119
  self.class == o.class &&
145
- id == o.id &&
146
- properties == o.properties
120
+ actions == o.actions
147
121
  end
148
122
 
149
123
  # @see the `==` method
@@ -155,7 +129,7 @@ module Appnigma::Generated
155
129
  # Calculates hash code according to all attributes.
156
130
  # @return [Integer] Hash code
157
131
  def hash
158
- [id, properties].hash
132
+ [actions].hash
159
133
  end
160
134
 
161
135
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The routes a customer's product calls through an Appnigma SDK. Every answer carries a request id in X-Request-Id; quote it when you write to support.
5
5
 
6
- The version of the OpenAPI document: 2.0.0
6
+ The version of the OpenAPI document: 3.0.0
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.26.0