budgea_client 4.0.3 → 5.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 (125) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +50 -5
  4. data/budgea_openapi.json +1888 -383
  5. data/docs/Account.md +2 -0
  6. data/docs/AccountLog.md +1 -0
  7. data/docs/AdministrationApi.md +366 -55
  8. data/docs/AuthenticationApi.md +15 -13
  9. data/docs/BanksApi.md +988 -194
  10. data/docs/Client.md +1 -1
  11. data/docs/Connection.md +2 -0
  12. data/docs/ConnectionLog.md +1 -0
  13. data/docs/ConnectionSource.md +18 -0
  14. data/docs/ConnectionsApi.md +618 -25
  15. data/docs/Connector.md +1 -1
  16. data/docs/ConnectorSource.md +15 -0
  17. data/docs/DocumentsApi.md +72 -72
  18. data/docs/Field.md +1 -0
  19. data/docs/InlineResponse20011.md +1 -1
  20. data/docs/InlineResponse20012.md +1 -1
  21. data/docs/InlineResponse20013.md +1 -1
  22. data/docs/InlineResponse20014.md +1 -1
  23. data/docs/InlineResponse20015.md +1 -1
  24. data/docs/InlineResponse20016.md +1 -1
  25. data/docs/InlineResponse20017.md +1 -1
  26. data/docs/InlineResponse20018.md +1 -1
  27. data/docs/InlineResponse20019.md +2 -1
  28. data/docs/InlineResponse20030.md +1 -1
  29. data/docs/InlineResponse20031.md +1 -1
  30. data/docs/InlineResponse20032.md +1 -1
  31. data/docs/InlineResponse20033.md +1 -1
  32. data/docs/InlineResponse20034.md +1 -1
  33. data/docs/InlineResponse20035.md +1 -1
  34. data/docs/InlineResponse20036.md +1 -1
  35. data/docs/InlineResponse20037.md +1 -1
  36. data/docs/InlineResponse20038.md +1 -1
  37. data/docs/InlineResponse20039.md +1 -1
  38. data/docs/InlineResponse20040.md +1 -1
  39. data/docs/InlineResponse20041.md +9 -0
  40. data/docs/InlineResponse20042.md +9 -0
  41. data/docs/OIDCApi.md +3 -3
  42. data/docs/Order.md +14 -0
  43. data/docs/PFMApi.md +87 -39
  44. data/docs/ProvidersApi.md +979 -122
  45. data/docs/RecipientsApi.md +4 -4
  46. data/docs/Subscription.md +1 -0
  47. data/docs/SubscriptionLog.md +15 -0
  48. data/docs/TermsApi.md +3 -3
  49. data/docs/Transaction.md +1 -0
  50. data/docs/Transfer.md +5 -1
  51. data/docs/TransferApi.md +77 -0
  52. data/docs/TransfersApi.md +39 -39
  53. data/docs/UsersManagementApi.md +13 -13
  54. data/docs/WealthApi.md +24 -24
  55. data/lib/budgea_client.rb +7 -2
  56. data/lib/budgea_client/api/administration_api.rb +381 -71
  57. data/lib/budgea_client/api/authentication_api.rb +16 -13
  58. data/lib/budgea_client/api/banks_api.rb +1034 -211
  59. data/lib/budgea_client/api/connections_api.rb +648 -30
  60. data/lib/budgea_client/api/documents_api.rb +85 -85
  61. data/lib/budgea_client/api/oidc_api.rb +3 -3
  62. data/lib/budgea_client/api/pfm_api.rb +87 -40
  63. data/lib/budgea_client/api/providers_api.rb +1045 -151
  64. data/lib/budgea_client/api/recipients_api.rb +4 -4
  65. data/lib/budgea_client/api/terms_api.rb +3 -3
  66. data/lib/budgea_client/api/transfer_api.rb +94 -0
  67. data/lib/budgea_client/api/transfers_api.rb +39 -39
  68. data/lib/budgea_client/api/users_management_api.rb +14 -14
  69. data/lib/budgea_client/api/wealth_api.rb +25 -25
  70. data/lib/budgea_client/models/account.rb +24 -4
  71. data/lib/budgea_client/models/account_log.rb +16 -1
  72. data/lib/budgea_client/models/client.rb +11 -11
  73. data/lib/budgea_client/models/connection.rb +23 -4
  74. data/lib/budgea_client/models/connection_log.rb +11 -1
  75. data/lib/budgea_client/models/connection_source.rb +309 -0
  76. data/lib/budgea_client/models/connector.rb +18 -15
  77. data/lib/budgea_client/models/connector_source.rb +273 -0
  78. data/lib/budgea_client/models/field.rb +14 -4
  79. data/lib/budgea_client/models/inline_response_200_11.rb +18 -18
  80. data/lib/budgea_client/models/inline_response_200_12.rb +11 -11
  81. data/lib/budgea_client/models/inline_response_200_13.rb +11 -11
  82. data/lib/budgea_client/models/inline_response_200_14.rb +18 -18
  83. data/lib/budgea_client/models/inline_response_200_15.rb +11 -11
  84. data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
  85. data/lib/budgea_client/models/inline_response_200_17.rb +11 -11
  86. data/lib/budgea_client/models/inline_response_200_18.rb +18 -18
  87. data/lib/budgea_client/models/inline_response_200_19.rb +21 -11
  88. data/lib/budgea_client/models/inline_response_200_30.rb +18 -18
  89. data/lib/budgea_client/models/inline_response_200_31.rb +11 -11
  90. data/lib/budgea_client/models/inline_response_200_32.rb +18 -18
  91. data/lib/budgea_client/models/inline_response_200_33.rb +18 -18
  92. data/lib/budgea_client/models/inline_response_200_34.rb +11 -11
  93. data/lib/budgea_client/models/inline_response_200_35.rb +18 -18
  94. data/lib/budgea_client/models/inline_response_200_36.rb +18 -18
  95. data/lib/budgea_client/models/inline_response_200_37.rb +11 -11
  96. data/lib/budgea_client/models/inline_response_200_38.rb +18 -18
  97. data/lib/budgea_client/models/inline_response_200_39.rb +11 -11
  98. data/lib/budgea_client/models/inline_response_200_40.rb +18 -18
  99. data/lib/budgea_client/models/inline_response_200_41.rb +200 -0
  100. data/lib/budgea_client/models/inline_response_200_42.rb +200 -0
  101. data/lib/budgea_client/models/order.rb +259 -0
  102. data/lib/budgea_client/models/subscription.rb +11 -1
  103. data/lib/budgea_client/models/subscription_log.rb +269 -0
  104. data/lib/budgea_client/models/transaction.rb +11 -1
  105. data/lib/budgea_client/models/transfer.rb +49 -2
  106. data/lib/budgea_client/models/user.rb +2 -2
  107. data/lib/budgea_client/version.rb +1 -1
  108. data/original_budgea_openapi.json +1980 -351
  109. data/pkg/budgea_client-2.0.0.gem +0 -0
  110. data/pkg/budgea_client-3.0.1.gem +0 -0
  111. data/pkg/budgea_client-4.0.0.gem +0 -0
  112. data/spec/api/transfer_api_spec.rb +54 -0
  113. data/spec/models/connection_source_spec.rb +101 -0
  114. data/spec/models/connector_source_spec.rb +83 -0
  115. data/spec/models/inline_response_200_41_spec.rb +47 -0
  116. data/spec/models/inline_response_200_42_spec.rb +47 -0
  117. data/spec/models/order_spec.rb +77 -0
  118. data/spec/models/subscription_log_spec.rb +83 -0
  119. metadata +34 -9
  120. data/config.yaml +0 -15
  121. data/pkg/budgea_client-2.0.1.gem +0 -0
  122. data/pkg/budgea_client-2.0.2.gem +0 -0
  123. data/pkg/budgea_client-3.0.0.gem +0 -0
  124. data/pkg/budgea_client-4.0.1.gem +0 -0
  125. data/pkg/budgea_client-4.0.2.gem +0 -0
@@ -20,8 +20,6 @@ module BudgeaClient
20
20
  # Name of the bank or provider
21
21
  attr_accessor :name
22
22
 
23
- attr_accessor :id_weboob
24
-
25
23
  # This connector is hidden from your users
26
24
  attr_accessor :hidden
27
25
 
@@ -56,6 +54,9 @@ module BudgeaClient
56
54
  # Unique connector identifier
57
55
  attr_accessor :uuid
58
56
 
57
+ # If true, new connections cannot be added with this connector
58
+ attr_accessor :restricted
59
+
59
60
  attr_accessor :fields
60
61
 
61
62
  attr_accessor :capabilities
@@ -65,7 +66,6 @@ module BudgeaClient
65
66
  {
66
67
  :'id' => :'id',
67
68
  :'name' => :'name',
68
- :'id_weboob' => :'id_weboob',
69
69
  :'hidden' => :'hidden',
70
70
  :'charged' => :'charged',
71
71
  :'code' => :'code',
@@ -78,6 +78,7 @@ module BudgeaClient
78
78
  :'auth_mechanism' => :'auth_mechanism',
79
79
  :'siret' => :'siret',
80
80
  :'uuid' => :'uuid',
81
+ :'restricted' => :'restricted',
81
82
  :'fields' => :'fields',
82
83
  :'capabilities' => :'capabilities'
83
84
  }
@@ -88,7 +89,6 @@ module BudgeaClient
88
89
  {
89
90
  :'id' => :'Integer',
90
91
  :'name' => :'String',
91
- :'id_weboob' => :'String',
92
92
  :'hidden' => :'BOOLEAN',
93
93
  :'charged' => :'BOOLEAN',
94
94
  :'code' => :'String',
@@ -101,6 +101,7 @@ module BudgeaClient
101
101
  :'auth_mechanism' => :'String',
102
102
  :'siret' => :'String',
103
103
  :'uuid' => :'String',
104
+ :'restricted' => :'BOOLEAN',
104
105
  :'fields' => :'Array<Field>',
105
106
  :'capabilities' => :'Array<String>'
106
107
  }
@@ -122,10 +123,6 @@ module BudgeaClient
122
123
  self.name = attributes[:'name']
123
124
  end
124
125
 
125
- if attributes.has_key?(:'id_weboob')
126
- self.id_weboob = attributes[:'id_weboob']
127
- end
128
-
129
126
  if attributes.has_key?(:'hidden')
130
127
  self.hidden = attributes[:'hidden']
131
128
  else
@@ -182,6 +179,12 @@ module BudgeaClient
182
179
  self.uuid = attributes[:'uuid']
183
180
  end
184
181
 
182
+ if attributes.has_key?(:'restricted')
183
+ self.restricted = attributes[:'restricted']
184
+ else
185
+ self.restricted = false
186
+ end
187
+
185
188
  if attributes.has_key?(:'fields')
186
189
  if (value = attributes[:'fields']).is_a?(Array)
187
190
  self.fields = value
@@ -207,10 +210,6 @@ module BudgeaClient
207
210
  invalid_properties.push('invalid value for "name", name cannot be nil.')
208
211
  end
209
212
 
210
- if @id_weboob.nil?
211
- invalid_properties.push('invalid value for "id_weboob", id_weboob cannot be nil.')
212
- end
213
-
214
213
  if @charged.nil?
215
214
  invalid_properties.push('invalid value for "charged", charged cannot be nil.')
216
215
  end
@@ -223,6 +222,10 @@ module BudgeaClient
223
222
  invalid_properties.push('invalid value for "uuid", uuid cannot be nil.')
224
223
  end
225
224
 
225
+ if @restricted.nil?
226
+ invalid_properties.push('invalid value for "restricted", restricted cannot be nil.')
227
+ end
228
+
226
229
  invalid_properties
227
230
  end
228
231
 
@@ -231,10 +234,10 @@ module BudgeaClient
231
234
  def valid?
232
235
  return false if @id.nil?
233
236
  return false if @name.nil?
234
- return false if @id_weboob.nil?
235
237
  return false if @charged.nil?
236
238
  return false if @beta.nil?
237
239
  return false if @uuid.nil?
240
+ return false if @restricted.nil?
238
241
  true
239
242
  end
240
243
 
@@ -245,7 +248,6 @@ module BudgeaClient
245
248
  self.class == o.class &&
246
249
  id == o.id &&
247
250
  name == o.name &&
248
- id_weboob == o.id_weboob &&
249
251
  hidden == o.hidden &&
250
252
  charged == o.charged &&
251
253
  code == o.code &&
@@ -258,6 +260,7 @@ module BudgeaClient
258
260
  auth_mechanism == o.auth_mechanism &&
259
261
  siret == o.siret &&
260
262
  uuid == o.uuid &&
263
+ restricted == o.restricted &&
261
264
  fields == o.fields &&
262
265
  capabilities == o.capabilities
263
266
  end
@@ -271,7 +274,7 @@ module BudgeaClient
271
274
  # Calculates hash code according to all attributes.
272
275
  # @return [Fixnum] Hash code
273
276
  def hash
274
- [id, name, id_weboob, hidden, charged, code, beta, color, slug, sync_frequency, months_to_fetch, account_types, auth_mechanism, siret, uuid, fields, capabilities].hash
277
+ [id, name, hidden, charged, code, beta, color, slug, sync_frequency, months_to_fetch, account_types, auth_mechanism, siret, uuid, restricted, fields, capabilities].hash
275
278
  end
276
279
 
277
280
  # Builds the object from hash
@@ -0,0 +1,273 @@
1
+ =begin
2
+ #Budgea API Documentation
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 2.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module BudgeaClient
16
+ class ConnectorSource
17
+ # ID of the connector source
18
+ attr_accessor :id
19
+
20
+ # ID of the connector
21
+ attr_accessor :id_connector
22
+
23
+ # Name of the source
24
+ attr_accessor :name
25
+
26
+ attr_accessor :id_weboob
27
+
28
+ # Authentication mechanism to use
29
+ attr_accessor :auth_mechanism
30
+
31
+ # Name of the source this fallback is for
32
+ attr_accessor :fallback
33
+
34
+ # This source is not used to synchronize the connection
35
+ attr_accessor :disabled
36
+
37
+ # The source priority order for the synchronization
38
+ attr_accessor :priority
39
+
40
+ # Attribute mapping from ruby-style variable name to JSON key.
41
+ def self.attribute_map
42
+ {
43
+ :'id' => :'id',
44
+ :'id_connector' => :'id_connector',
45
+ :'name' => :'name',
46
+ :'id_weboob' => :'id_weboob',
47
+ :'auth_mechanism' => :'auth_mechanism',
48
+ :'fallback' => :'fallback',
49
+ :'disabled' => :'disabled',
50
+ :'priority' => :'priority'
51
+ }
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.swagger_types
56
+ {
57
+ :'id' => :'Integer',
58
+ :'id_connector' => :'Integer',
59
+ :'name' => :'String',
60
+ :'id_weboob' => :'String',
61
+ :'auth_mechanism' => :'String',
62
+ :'fallback' => :'String',
63
+ :'disabled' => :'DateTime',
64
+ :'priority' => :'Integer'
65
+ }
66
+ end
67
+
68
+ # Initializes the object
69
+ # @param [Hash] attributes Model attributes in the form of hash
70
+ def initialize(attributes = {})
71
+ return unless attributes.is_a?(Hash)
72
+
73
+ # convert string to symbol for hash key
74
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
75
+
76
+ if attributes.has_key?(:'id')
77
+ self.id = attributes[:'id']
78
+ end
79
+
80
+ if attributes.has_key?(:'id_connector')
81
+ self.id_connector = attributes[:'id_connector']
82
+ end
83
+
84
+ if attributes.has_key?(:'name')
85
+ self.name = attributes[:'name']
86
+ end
87
+
88
+ if attributes.has_key?(:'id_weboob')
89
+ self.id_weboob = attributes[:'id_weboob']
90
+ end
91
+
92
+ if attributes.has_key?(:'auth_mechanism')
93
+ self.auth_mechanism = attributes[:'auth_mechanism']
94
+ end
95
+
96
+ if attributes.has_key?(:'fallback')
97
+ self.fallback = attributes[:'fallback']
98
+ end
99
+
100
+ if attributes.has_key?(:'disabled')
101
+ self.disabled = attributes[:'disabled']
102
+ end
103
+
104
+ if attributes.has_key?(:'priority')
105
+ self.priority = attributes[:'priority']
106
+ end
107
+ end
108
+
109
+ # Show invalid properties with the reasons. Usually used together with valid?
110
+ # @return Array for valid properties with the reasons
111
+ def list_invalid_properties
112
+ invalid_properties = Array.new
113
+ if @id.nil?
114
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
115
+ end
116
+
117
+ if @id_connector.nil?
118
+ invalid_properties.push('invalid value for "id_connector", id_connector cannot be nil.')
119
+ end
120
+
121
+ if @name.nil?
122
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
123
+ end
124
+
125
+ if @id_weboob.nil?
126
+ invalid_properties.push('invalid value for "id_weboob", id_weboob cannot be nil.')
127
+ end
128
+
129
+ invalid_properties
130
+ end
131
+
132
+ # Check to see if the all the properties in the model are valid
133
+ # @return true if the model is valid
134
+ def valid?
135
+ return false if @id.nil?
136
+ return false if @id_connector.nil?
137
+ return false if @name.nil?
138
+ return false if @id_weboob.nil?
139
+ true
140
+ end
141
+
142
+ # Checks equality by comparing each attribute.
143
+ # @param [Object] Object to be compared
144
+ def ==(o)
145
+ return true if self.equal?(o)
146
+ self.class == o.class &&
147
+ id == o.id &&
148
+ id_connector == o.id_connector &&
149
+ name == o.name &&
150
+ id_weboob == o.id_weboob &&
151
+ auth_mechanism == o.auth_mechanism &&
152
+ fallback == o.fallback &&
153
+ disabled == o.disabled &&
154
+ priority == o.priority
155
+ end
156
+
157
+ # @see the `==` method
158
+ # @param [Object] Object to be compared
159
+ def eql?(o)
160
+ self == o
161
+ end
162
+
163
+ # Calculates hash code according to all attributes.
164
+ # @return [Fixnum] Hash code
165
+ def hash
166
+ [id, id_connector, name, id_weboob, auth_mechanism, fallback, disabled, priority].hash
167
+ end
168
+
169
+ # Builds the object from hash
170
+ # @param [Hash] attributes Model attributes in the form of hash
171
+ # @return [Object] Returns the model itself
172
+ def build_from_hash(attributes)
173
+ return nil unless attributes.is_a?(Hash)
174
+ self.class.swagger_types.each_pair do |key, type|
175
+ if type =~ /\AArray<(.*)>/i
176
+ # check to ensure the input is an array given that the the attribute
177
+ # is documented as an array but the input is not
178
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
179
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
180
+ end
181
+ elsif !attributes[self.class.attribute_map[key]].nil?
182
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
183
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
184
+ end
185
+
186
+ self
187
+ end
188
+
189
+ # Deserializes the data based on type
190
+ # @param string type Data type
191
+ # @param string value Value to be deserialized
192
+ # @return [Object] Deserialized data
193
+ def _deserialize(type, value)
194
+ case type.to_sym
195
+ when :DateTime
196
+ DateTime.parse(value)
197
+ when :Date
198
+ Date.parse(value)
199
+ when :String
200
+ value.to_s
201
+ when :Integer
202
+ value.to_i
203
+ when :Float
204
+ value.to_f
205
+ when :BOOLEAN
206
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
207
+ true
208
+ else
209
+ false
210
+ end
211
+ when :Object
212
+ # generic object (usually a Hash), return directly
213
+ value
214
+ when /\AArray<(?<inner_type>.+)>\z/
215
+ inner_type = Regexp.last_match[:inner_type]
216
+ value.map { |v| _deserialize(inner_type, v) }
217
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
218
+ k_type = Regexp.last_match[:k_type]
219
+ v_type = Regexp.last_match[:v_type]
220
+ {}.tap do |hash|
221
+ value.each do |k, v|
222
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
223
+ end
224
+ end
225
+ else # model
226
+ temp_model = BudgeaClient.const_get(type).new
227
+ temp_model.build_from_hash(value)
228
+ end
229
+ end
230
+
231
+ # Returns the string representation of the object
232
+ # @return [String] String presentation of the object
233
+ def to_s
234
+ to_hash.to_s
235
+ end
236
+
237
+ # to_body is an alias to to_hash (backward compatibility)
238
+ # @return [Hash] Returns the object in the form of hash
239
+ def to_body
240
+ to_hash
241
+ end
242
+
243
+ # Returns the object in the form of hash
244
+ # @return [Hash] Returns the object in the form of hash
245
+ def to_hash
246
+ hash = {}
247
+ self.class.attribute_map.each_pair do |attr, param|
248
+ value = self.send(attr)
249
+ next if value.nil?
250
+ hash[param] = _to_hash(value)
251
+ end
252
+ hash
253
+ end
254
+
255
+ # Outputs non-array value in the form of hash
256
+ # For object, use to_hash. Otherwise, just return the value
257
+ # @param [Object] value Any valid value
258
+ # @return [Hash] Returns the value in the form of hash
259
+ def _to_hash(value)
260
+ if value.is_a?(Array)
261
+ value.compact.map { |v| _to_hash(v) }
262
+ elsif value.is_a?(Hash)
263
+ {}.tap do |hash|
264
+ value.each { |k, v| hash[k] = _to_hash(v) }
265
+ end
266
+ elsif value.respond_to? :to_hash
267
+ value.to_hash
268
+ else
269
+ value
270
+ end
271
+ end
272
+ end
273
+ end
@@ -43,6 +43,9 @@ module BudgeaClient
43
43
  # If true, field has to be set to synchronize the connection
44
44
  attr_accessor :required
45
45
 
46
+ # Authentication mechanisms this field is used for
47
+ attr_accessor :auth_mechanisms
48
+
46
49
  # Attribute mapping from ruby-style variable name to JSON key.
47
50
  def self.attribute_map
48
51
  {
@@ -55,7 +58,8 @@ module BudgeaClient
55
58
  :'ephemeral' => :'ephemeral',
56
59
  :'value' => :'value',
57
60
  :'values' => :'values',
58
- :'required' => :'required'
61
+ :'required' => :'required',
62
+ :'auth_mechanisms' => :'auth_mechanisms'
59
63
  }
60
64
  end
61
65
 
@@ -71,7 +75,8 @@ module BudgeaClient
71
75
  :'ephemeral' => :'BOOLEAN',
72
76
  :'value' => :'String',
73
77
  :'values' => :'Array<FieldValue>',
74
- :'required' => :'BOOLEAN'
78
+ :'required' => :'BOOLEAN',
79
+ :'auth_mechanisms' => :'String'
75
80
  }
76
81
  end
77
82
 
@@ -130,6 +135,10 @@ module BudgeaClient
130
135
  else
131
136
  self.required = true
132
137
  end
138
+
139
+ if attributes.has_key?(:'auth_mechanisms')
140
+ self.auth_mechanisms = attributes[:'auth_mechanisms']
141
+ end
133
142
  end
134
143
 
135
144
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -179,7 +188,8 @@ module BudgeaClient
179
188
  ephemeral == o.ephemeral &&
180
189
  value == o.value &&
181
190
  values == o.values &&
182
- required == o.required
191
+ required == o.required &&
192
+ auth_mechanisms == o.auth_mechanisms
183
193
  end
184
194
 
185
195
  # @see the `==` method
@@ -191,7 +201,7 @@ module BudgeaClient
191
201
  # Calculates hash code according to all attributes.
192
202
  # @return [Fixnum] Hash code
193
203
  def hash
194
- [id_connector, id, name, label, regex, type, ephemeral, value, values, required].hash
204
+ [id_connector, id, name, label, regex, type, ephemeral, value, values, required, auth_mechanisms].hash
195
205
  end
196
206
 
197
207
  # Builds the object from hash