budgea_client 5.0.0 → 5.1.2
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.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/README.md +19 -6
- data/budgea_openapi.json +1690 -1377
- data/config.json +1 -1
- data/docs/Account.md +1 -0
- data/docs/AdministrationApi.md +48 -48
- data/docs/AuthenticationApi.md +9 -9
- data/docs/BanksApi.md +392 -145
- data/docs/Connection.md +3 -0
- data/docs/ConnectionsApi.md +277 -30
- data/docs/DocumentsApi.md +48 -48
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse20017.md +1 -1
- data/docs/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse20020.md +1 -1
- data/docs/InlineResponse20021.md +1 -1
- data/docs/InlineResponse20022.md +1 -1
- data/docs/InlineResponse20023.md +1 -1
- data/docs/InlineResponse20024.md +1 -1
- data/docs/InlineResponse20025.md +1 -1
- data/docs/InlineResponse20026.md +1 -1
- data/docs/InlineResponse20027.md +1 -1
- data/docs/InlineResponse20028.md +1 -1
- data/docs/InlineResponse20029.md +1 -1
- data/docs/InlineResponse20030.md +1 -1
- data/docs/OIDCApi.md +3 -3
- data/docs/PFMApi.md +42 -42
- data/docs/ProvidersApi.md +343 -96
- data/docs/RecipientsApi.md +4 -4
- data/docs/TermsApi.md +74 -9
- data/docs/TransferApi.md +1 -1
- data/docs/TransfersApi.md +63 -63
- data/docs/UsersManagementApi.md +13 -13
- data/docs/WealthApi.md +75 -59
- data/lib/budgea_client/api/administration_api.rb +49 -49
- data/lib/budgea_client/api/authentication_api.rb +9 -9
- data/lib/budgea_client/api/banks_api.rb +403 -154
- data/lib/budgea_client/api/connections_api.rb +282 -33
- data/lib/budgea_client/api/documents_api.rb +49 -49
- data/lib/budgea_client/api/oidc_api.rb +3 -3
- data/lib/budgea_client/api/pfm_api.rb +44 -44
- data/lib/budgea_client/api/providers_api.rb +349 -100
- data/lib/budgea_client/api/recipients_api.rb +4 -4
- data/lib/budgea_client/api/terms_api.rb +77 -11
- data/lib/budgea_client/api/transfer_api.rb +1 -1
- data/lib/budgea_client/api/transfers_api.rb +75 -75
- data/lib/budgea_client/api/users_management_api.rb +14 -14
- data/lib/budgea_client/api/wealth_api.rb +99 -75
- data/lib/budgea_client/api_client.rb +2 -0
- data/lib/budgea_client/models/access.rb +2 -1
- data/lib/budgea_client/models/account.rb +14 -2
- data/lib/budgea_client/models/account_log.rb +2 -1
- data/lib/budgea_client/models/account_type.rb +2 -1
- data/lib/budgea_client/models/alert.rb +2 -1
- data/lib/budgea_client/models/auth_provider.rb +2 -1
- data/lib/budgea_client/models/category.rb +2 -1
- data/lib/budgea_client/models/certificate.rb +2 -1
- data/lib/budgea_client/models/client.rb +2 -1
- data/lib/budgea_client/models/config_log.rb +2 -1
- data/lib/budgea_client/models/connection.rb +70 -5
- data/lib/budgea_client/models/connection_log.rb +2 -1
- data/lib/budgea_client/models/connection_source.rb +2 -1
- data/lib/budgea_client/models/connector.rb +2 -1
- data/lib/budgea_client/models/connector_category.rb +2 -1
- data/lib/budgea_client/models/connector_logo.rb +2 -1
- data/lib/budgea_client/models/connector_source.rb +2 -1
- data/lib/budgea_client/models/currency.rb +2 -1
- data/lib/budgea_client/models/device.rb +2 -1
- data/lib/budgea_client/models/document.rb +2 -1
- data/lib/budgea_client/models/document_type.rb +2 -1
- data/lib/budgea_client/models/field.rb +2 -1
- data/lib/budgea_client/models/field_value.rb +2 -1
- data/lib/budgea_client/models/file.rb +2 -1
- data/lib/budgea_client/models/group.rb +2 -1
- data/lib/budgea_client/models/hash_table.rb +2 -1
- data/lib/budgea_client/models/inline_response_200.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_1.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_10.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_11.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_12.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_13.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_14.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_15.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_16.rb +13 -12
- data/lib/budgea_client/models/inline_response_200_17.rb +20 -19
- data/lib/budgea_client/models/inline_response_200_18.rb +20 -19
- data/lib/budgea_client/models/inline_response_200_19.rb +20 -19
- data/lib/budgea_client/models/inline_response_200_2.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_20.rb +20 -19
- data/lib/budgea_client/models/inline_response_200_21.rb +20 -19
- data/lib/budgea_client/models/inline_response_200_22.rb +13 -12
- data/lib/budgea_client/models/inline_response_200_23.rb +13 -12
- data/lib/budgea_client/models/inline_response_200_24.rb +20 -19
- data/lib/budgea_client/models/inline_response_200_25.rb +20 -19
- data/lib/budgea_client/models/inline_response_200_26.rb +13 -12
- data/lib/budgea_client/models/inline_response_200_27.rb +13 -12
- data/lib/budgea_client/models/inline_response_200_28.rb +13 -12
- data/lib/budgea_client/models/inline_response_200_29.rb +20 -19
- data/lib/budgea_client/models/inline_response_200_3.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_30.rb +13 -12
- data/lib/budgea_client/models/inline_response_200_31.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_32.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_33.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_34.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_35.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_36.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_37.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_38.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_39.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_4.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_40.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_41.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_42.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_5.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_6.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_7.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_8.rb +2 -1
- data/lib/budgea_client/models/inline_response_200_9.rb +2 -1
- data/lib/budgea_client/models/investment.rb +2 -1
- data/lib/budgea_client/models/investment_value.rb +2 -1
- data/lib/budgea_client/models/keyword.rb +2 -1
- data/lib/budgea_client/models/locked_user.rb +2 -1
- data/lib/budgea_client/models/oidc_whitelist.rb +2 -1
- data/lib/budgea_client/models/order.rb +2 -1
- data/lib/budgea_client/models/pocket.rb +2 -1
- data/lib/budgea_client/models/profile.rb +2 -1
- data/lib/budgea_client/models/project.rb +2 -1
- data/lib/budgea_client/models/project_type.rb +2 -1
- data/lib/budgea_client/models/recipient.rb +2 -1
- data/lib/budgea_client/models/recipient_log.rb +2 -1
- data/lib/budgea_client/models/security.rb +2 -1
- data/lib/budgea_client/models/subscription.rb +2 -1
- data/lib/budgea_client/models/subscription_log.rb +2 -1
- data/lib/budgea_client/models/terms_of_service.rb +2 -1
- data/lib/budgea_client/models/transaction.rb +2 -1
- data/lib/budgea_client/models/transaction_information.rb +2 -1
- data/lib/budgea_client/models/transactions_cluster.rb +2 -1
- data/lib/budgea_client/models/transfer.rb +2 -1
- data/lib/budgea_client/models/transfer_log.rb +2 -1
- data/lib/budgea_client/models/user.rb +2 -1
- data/lib/budgea_client/models/user_alert.rb +2 -1
- data/lib/budgea_client/models/webhook.rb +2 -1
- data/lib/budgea_client/models/webhook_data.rb +2 -1
- data/lib/budgea_client/models/webhook_log.rb +2 -1
- data/lib/budgea_client/version.rb +1 -1
- data/original_budgea_openapi.json +1559 -1474
- data/pkg/budgea_client-5.1.2.gem +0 -0
- data/spec/.!78900!.DS_Store +0 -0
- data/spec/.!79301!.DS_Store +0 -0
- data/spec/.!79684!.DS_Store +0 -0
- data/spec/.!83764!.DS_Store +0 -0
- data/spec/.DS_Store +0 -0
- metadata +9 -7
- data/pkg/budgea_client-2.0.0.gem +0 -0
- data/pkg/budgea_client-3.0.1.gem +0 -0
- data/pkg/budgea_client-4.0.0.gem +0 -0
|
@@ -128,7 +128,7 @@ module BudgeaClient
|
|
|
128
128
|
return nil unless attributes.is_a?(Hash)
|
|
129
129
|
self.class.swagger_types.each_pair do |key, type|
|
|
130
130
|
if type =~ /\AArray<(.*)>/i
|
|
131
|
-
# check to ensure the input is an array given that the
|
|
131
|
+
# check to ensure the input is an array given that the attribute
|
|
132
132
|
# is documented as an array but the input is not
|
|
133
133
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
134
134
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -224,5 +224,6 @@ module BudgeaClient
|
|
|
224
224
|
value
|
|
225
225
|
end
|
|
226
226
|
end
|
|
227
|
+
|
|
227
228
|
end
|
|
228
229
|
end
|
|
@@ -173,7 +173,7 @@ module BudgeaClient
|
|
|
173
173
|
return nil unless attributes.is_a?(Hash)
|
|
174
174
|
self.class.swagger_types.each_pair do |key, type|
|
|
175
175
|
if type =~ /\AArray<(.*)>/i
|
|
176
|
-
# check to ensure the input is an array given that the
|
|
176
|
+
# check to ensure the input is an array given that the attribute
|
|
177
177
|
# is documented as an array but the input is not
|
|
178
178
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
179
179
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -269,5 +269,6 @@ module BudgeaClient
|
|
|
269
269
|
value
|
|
270
270
|
end
|
|
271
271
|
end
|
|
272
|
+
|
|
272
273
|
end
|
|
273
274
|
end
|
|
@@ -163,7 +163,7 @@ module BudgeaClient
|
|
|
163
163
|
return nil unless attributes.is_a?(Hash)
|
|
164
164
|
self.class.swagger_types.each_pair do |key, type|
|
|
165
165
|
if type =~ /\AArray<(.*)>/i
|
|
166
|
-
# check to ensure the input is an array given that the
|
|
166
|
+
# check to ensure the input is an array given that the attribute
|
|
167
167
|
# is documented as an array but the input is not
|
|
168
168
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
169
169
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -259,5 +259,6 @@ module BudgeaClient
|
|
|
259
259
|
value
|
|
260
260
|
end
|
|
261
261
|
end
|
|
262
|
+
|
|
262
263
|
end
|
|
263
264
|
end
|
|
@@ -174,7 +174,7 @@ module BudgeaClient
|
|
|
174
174
|
return nil unless attributes.is_a?(Hash)
|
|
175
175
|
self.class.swagger_types.each_pair do |key, type|
|
|
176
176
|
if type =~ /\AArray<(.*)>/i
|
|
177
|
-
# check to ensure the input is an array given that the
|
|
177
|
+
# check to ensure the input is an array given that the attribute
|
|
178
178
|
# is documented as an array but the input is not
|
|
179
179
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
180
180
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -270,5 +270,6 @@ module BudgeaClient
|
|
|
270
270
|
value
|
|
271
271
|
end
|
|
272
272
|
end
|
|
273
|
+
|
|
273
274
|
end
|
|
274
275
|
end
|
|
@@ -297,7 +297,7 @@ module BudgeaClient
|
|
|
297
297
|
return nil unless attributes.is_a?(Hash)
|
|
298
298
|
self.class.swagger_types.each_pair do |key, type|
|
|
299
299
|
if type =~ /\AArray<(.*)>/i
|
|
300
|
-
# check to ensure the input is an array given that the
|
|
300
|
+
# check to ensure the input is an array given that the attribute
|
|
301
301
|
# is documented as an array but the input is not
|
|
302
302
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
303
303
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -393,5 +393,6 @@ module BudgeaClient
|
|
|
393
393
|
value
|
|
394
394
|
end
|
|
395
395
|
end
|
|
396
|
+
|
|
396
397
|
end
|
|
397
398
|
end
|
|
@@ -118,7 +118,7 @@ module BudgeaClient
|
|
|
118
118
|
return nil unless attributes.is_a?(Hash)
|
|
119
119
|
self.class.swagger_types.each_pair do |key, type|
|
|
120
120
|
if type =~ /\AArray<(.*)>/i
|
|
121
|
-
# check to ensure the input is an array given that the
|
|
121
|
+
# check to ensure the input is an array given that the attribute
|
|
122
122
|
# is documented as an array but the input is not
|
|
123
123
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
124
124
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -214,5 +214,6 @@ module BudgeaClient
|
|
|
214
214
|
value
|
|
215
215
|
end
|
|
216
216
|
end
|
|
217
|
+
|
|
217
218
|
end
|
|
218
219
|
end
|
|
@@ -211,7 +211,7 @@ module BudgeaClient
|
|
|
211
211
|
return nil unless attributes.is_a?(Hash)
|
|
212
212
|
self.class.swagger_types.each_pair do |key, type|
|
|
213
213
|
if type =~ /\AArray<(.*)>/i
|
|
214
|
-
# check to ensure the input is an array given that the
|
|
214
|
+
# check to ensure the input is an array given that the attribute
|
|
215
215
|
# is documented as an array but the input is not
|
|
216
216
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
217
217
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -307,5 +307,6 @@ module BudgeaClient
|
|
|
307
307
|
value
|
|
308
308
|
end
|
|
309
309
|
end
|
|
310
|
+
|
|
310
311
|
end
|
|
311
312
|
end
|
|
@@ -102,7 +102,7 @@ module BudgeaClient
|
|
|
102
102
|
return nil unless attributes.is_a?(Hash)
|
|
103
103
|
self.class.swagger_types.each_pair do |key, type|
|
|
104
104
|
if type =~ /\AArray<(.*)>/i
|
|
105
|
-
# check to ensure the input is an array given that the
|
|
105
|
+
# check to ensure the input is an array given that the attribute
|
|
106
106
|
# is documented as an array but the input is not
|
|
107
107
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
108
108
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -198,5 +198,6 @@ module BudgeaClient
|
|
|
198
198
|
value
|
|
199
199
|
end
|
|
200
200
|
end
|
|
201
|
+
|
|
201
202
|
end
|
|
202
203
|
end
|
|
@@ -130,7 +130,7 @@ module BudgeaClient
|
|
|
130
130
|
return nil unless attributes.is_a?(Hash)
|
|
131
131
|
self.class.swagger_types.each_pair do |key, type|
|
|
132
132
|
if type =~ /\AArray<(.*)>/i
|
|
133
|
-
# check to ensure the input is an array given that the
|
|
133
|
+
# check to ensure the input is an array given that the attribute
|
|
134
134
|
# is documented as an array but the input is not
|
|
135
135
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
136
136
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -226,5 +226,6 @@ module BudgeaClient
|
|
|
226
226
|
value
|
|
227
227
|
end
|
|
228
228
|
end
|
|
229
|
+
|
|
229
230
|
end
|
|
230
231
|
end
|
|
@@ -151,7 +151,7 @@ module BudgeaClient
|
|
|
151
151
|
return nil unless attributes.is_a?(Hash)
|
|
152
152
|
self.class.swagger_types.each_pair do |key, type|
|
|
153
153
|
if type =~ /\AArray<(.*)>/i
|
|
154
|
-
# check to ensure the input is an array given that the
|
|
154
|
+
# check to ensure the input is an array given that the attribute
|
|
155
155
|
# is documented as an array but the input is not
|
|
156
156
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
157
157
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -247,5 +247,6 @@ module BudgeaClient
|
|
|
247
247
|
value
|
|
248
248
|
end
|
|
249
249
|
end
|
|
250
|
+
|
|
250
251
|
end
|
|
251
252
|
end
|
|
@@ -132,7 +132,7 @@ module BudgeaClient
|
|
|
132
132
|
return nil unless attributes.is_a?(Hash)
|
|
133
133
|
self.class.swagger_types.each_pair do |key, type|
|
|
134
134
|
if type =~ /\AArray<(.*)>/i
|
|
135
|
-
# check to ensure the input is an array given that the
|
|
135
|
+
# check to ensure the input is an array given that the attribute
|
|
136
136
|
# is documented as an array but the input is not
|
|
137
137
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
138
138
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -228,5 +228,6 @@ module BudgeaClient
|
|
|
228
228
|
value
|
|
229
229
|
end
|
|
230
230
|
end
|
|
231
|
+
|
|
231
232
|
end
|
|
232
233
|
end
|
|
@@ -100,7 +100,7 @@ module BudgeaClient
|
|
|
100
100
|
return nil unless attributes.is_a?(Hash)
|
|
101
101
|
self.class.swagger_types.each_pair do |key, type|
|
|
102
102
|
if type =~ /\AArray<(.*)>/i
|
|
103
|
-
# check to ensure the input is an array given that the
|
|
103
|
+
# check to ensure the input is an array given that the attribute
|
|
104
104
|
# is documented as an array but the input is not
|
|
105
105
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
106
106
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -196,5 +196,6 @@ module BudgeaClient
|
|
|
196
196
|
value
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
end
|
|
200
201
|
end
|
|
@@ -104,7 +104,7 @@ module BudgeaClient
|
|
|
104
104
|
return nil unless attributes.is_a?(Hash)
|
|
105
105
|
self.class.swagger_types.each_pair do |key, type|
|
|
106
106
|
if type =~ /\AArray<(.*)>/i
|
|
107
|
-
# check to ensure the input is an array given that the
|
|
107
|
+
# check to ensure the input is an array given that the attribute
|
|
108
108
|
# is documented as an array but the input is not
|
|
109
109
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
110
110
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -200,5 +200,6 @@ module BudgeaClient
|
|
|
200
200
|
value
|
|
201
201
|
end
|
|
202
202
|
end
|
|
203
|
+
|
|
203
204
|
end
|
|
204
205
|
end
|
|
@@ -100,7 +100,7 @@ module BudgeaClient
|
|
|
100
100
|
return nil unless attributes.is_a?(Hash)
|
|
101
101
|
self.class.swagger_types.each_pair do |key, type|
|
|
102
102
|
if type =~ /\AArray<(.*)>/i
|
|
103
|
-
# check to ensure the input is an array given that the
|
|
103
|
+
# check to ensure the input is an array given that the attribute
|
|
104
104
|
# is documented as an array but the input is not
|
|
105
105
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
106
106
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -196,5 +196,6 @@ module BudgeaClient
|
|
|
196
196
|
value
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
end
|
|
200
201
|
end
|
|
@@ -100,7 +100,7 @@ module BudgeaClient
|
|
|
100
100
|
return nil unless attributes.is_a?(Hash)
|
|
101
101
|
self.class.swagger_types.each_pair do |key, type|
|
|
102
102
|
if type =~ /\AArray<(.*)>/i
|
|
103
|
-
# check to ensure the input is an array given that the
|
|
103
|
+
# check to ensure the input is an array given that the attribute
|
|
104
104
|
# is documented as an array but the input is not
|
|
105
105
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
106
106
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -196,5 +196,6 @@ module BudgeaClient
|
|
|
196
196
|
value
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
end
|
|
200
201
|
end
|
|
@@ -100,7 +100,7 @@ module BudgeaClient
|
|
|
100
100
|
return nil unless attributes.is_a?(Hash)
|
|
101
101
|
self.class.swagger_types.each_pair do |key, type|
|
|
102
102
|
if type =~ /\AArray<(.*)>/i
|
|
103
|
-
# check to ensure the input is an array given that the
|
|
103
|
+
# check to ensure the input is an array given that the attribute
|
|
104
104
|
# is documented as an array but the input is not
|
|
105
105
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
106
106
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -196,5 +196,6 @@ module BudgeaClient
|
|
|
196
196
|
value
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
end
|
|
200
201
|
end
|
|
@@ -100,7 +100,7 @@ module BudgeaClient
|
|
|
100
100
|
return nil unless attributes.is_a?(Hash)
|
|
101
101
|
self.class.swagger_types.each_pair do |key, type|
|
|
102
102
|
if type =~ /\AArray<(.*)>/i
|
|
103
|
-
# check to ensure the input is an array given that the
|
|
103
|
+
# check to ensure the input is an array given that the attribute
|
|
104
104
|
# is documented as an array but the input is not
|
|
105
105
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
106
106
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -196,5 +196,6 @@ module BudgeaClient
|
|
|
196
196
|
value
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
end
|
|
200
201
|
end
|
|
@@ -100,7 +100,7 @@ module BudgeaClient
|
|
|
100
100
|
return nil unless attributes.is_a?(Hash)
|
|
101
101
|
self.class.swagger_types.each_pair do |key, type|
|
|
102
102
|
if type =~ /\AArray<(.*)>/i
|
|
103
|
-
# check to ensure the input is an array given that the
|
|
103
|
+
# check to ensure the input is an array given that the attribute
|
|
104
104
|
# is documented as an array but the input is not
|
|
105
105
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
106
106
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -196,5 +196,6 @@ module BudgeaClient
|
|
|
196
196
|
value
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
end
|
|
200
201
|
end
|
|
@@ -100,7 +100,7 @@ module BudgeaClient
|
|
|
100
100
|
return nil unless attributes.is_a?(Hash)
|
|
101
101
|
self.class.swagger_types.each_pair do |key, type|
|
|
102
102
|
if type =~ /\AArray<(.*)>/i
|
|
103
|
-
# check to ensure the input is an array given that the
|
|
103
|
+
# check to ensure the input is an array given that the attribute
|
|
104
104
|
# is documented as an array but the input is not
|
|
105
105
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
106
106
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -196,5 +196,6 @@ module BudgeaClient
|
|
|
196
196
|
value
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
end
|
|
200
201
|
end
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module BudgeaClient
|
|
16
16
|
class InlineResponse20016
|
|
17
|
-
attr_accessor :
|
|
17
|
+
attr_accessor :sources
|
|
18
18
|
|
|
19
19
|
# total number of results
|
|
20
20
|
attr_accessor :total
|
|
@@ -22,7 +22,7 @@ module BudgeaClient
|
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
23
|
def self.attribute_map
|
|
24
24
|
{
|
|
25
|
-
:'
|
|
25
|
+
:'sources' => :'sources',
|
|
26
26
|
:'total' => :'total'
|
|
27
27
|
}
|
|
28
28
|
end
|
|
@@ -30,7 +30,7 @@ module BudgeaClient
|
|
|
30
30
|
# Attribute type mapping.
|
|
31
31
|
def self.swagger_types
|
|
32
32
|
{
|
|
33
|
-
:'
|
|
33
|
+
:'sources' => :'Array<ConnectionSource>',
|
|
34
34
|
:'total' => :'Float'
|
|
35
35
|
}
|
|
36
36
|
end
|
|
@@ -43,9 +43,9 @@ module BudgeaClient
|
|
|
43
43
|
# convert string to symbol for hash key
|
|
44
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
45
45
|
|
|
46
|
-
if attributes.has_key?(:'
|
|
47
|
-
if (value = attributes[:'
|
|
48
|
-
self.
|
|
46
|
+
if attributes.has_key?(:'sources')
|
|
47
|
+
if (value = attributes[:'sources']).is_a?(Array)
|
|
48
|
+
self.sources = value
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
51
|
|
|
@@ -58,8 +58,8 @@ module BudgeaClient
|
|
|
58
58
|
# @return Array for valid properties with the reasons
|
|
59
59
|
def list_invalid_properties
|
|
60
60
|
invalid_properties = Array.new
|
|
61
|
-
if @
|
|
62
|
-
invalid_properties.push('invalid value for "
|
|
61
|
+
if @sources.nil?
|
|
62
|
+
invalid_properties.push('invalid value for "sources", sources cannot be nil.')
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
invalid_properties
|
|
@@ -68,7 +68,7 @@ module BudgeaClient
|
|
|
68
68
|
# Check to see if the all the properties in the model are valid
|
|
69
69
|
# @return true if the model is valid
|
|
70
70
|
def valid?
|
|
71
|
-
return false if @
|
|
71
|
+
return false if @sources.nil?
|
|
72
72
|
true
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -77,7 +77,7 @@ module BudgeaClient
|
|
|
77
77
|
def ==(o)
|
|
78
78
|
return true if self.equal?(o)
|
|
79
79
|
self.class == o.class &&
|
|
80
|
-
|
|
80
|
+
sources == o.sources &&
|
|
81
81
|
total == o.total
|
|
82
82
|
end
|
|
83
83
|
|
|
@@ -90,7 +90,7 @@ module BudgeaClient
|
|
|
90
90
|
# Calculates hash code according to all attributes.
|
|
91
91
|
# @return [Fixnum] Hash code
|
|
92
92
|
def hash
|
|
93
|
-
[
|
|
93
|
+
[sources, total].hash
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
# Builds the object from hash
|
|
@@ -100,7 +100,7 @@ module BudgeaClient
|
|
|
100
100
|
return nil unless attributes.is_a?(Hash)
|
|
101
101
|
self.class.swagger_types.each_pair do |key, type|
|
|
102
102
|
if type =~ /\AArray<(.*)>/i
|
|
103
|
-
# check to ensure the input is an array given that the
|
|
103
|
+
# check to ensure the input is an array given that the attribute
|
|
104
104
|
# is documented as an array but the input is not
|
|
105
105
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
106
106
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -196,5 +196,6 @@ module BudgeaClient
|
|
|
196
196
|
value
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
end
|
|
200
201
|
end
|
|
@@ -14,24 +14,24 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module BudgeaClient
|
|
16
16
|
class InlineResponse20017
|
|
17
|
+
attr_accessor :connectors
|
|
18
|
+
|
|
17
19
|
# total number of results
|
|
18
20
|
attr_accessor :total
|
|
19
21
|
|
|
20
|
-
attr_accessor :documenttypes
|
|
21
|
-
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
23
|
def self.attribute_map
|
|
24
24
|
{
|
|
25
|
-
:'
|
|
26
|
-
:'
|
|
25
|
+
:'connectors' => :'connectors',
|
|
26
|
+
:'total' => :'total'
|
|
27
27
|
}
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
# Attribute type mapping.
|
|
31
31
|
def self.swagger_types
|
|
32
32
|
{
|
|
33
|
-
:'
|
|
34
|
-
:'
|
|
33
|
+
:'connectors' => :'Array<Connector>',
|
|
34
|
+
:'total' => :'Float'
|
|
35
35
|
}
|
|
36
36
|
end
|
|
37
37
|
|
|
@@ -43,14 +43,14 @@ module BudgeaClient
|
|
|
43
43
|
# convert string to symbol for hash key
|
|
44
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
45
45
|
|
|
46
|
-
if attributes.has_key?(:'
|
|
47
|
-
|
|
46
|
+
if attributes.has_key?(:'connectors')
|
|
47
|
+
if (value = attributes[:'connectors']).is_a?(Array)
|
|
48
|
+
self.connectors = value
|
|
49
|
+
end
|
|
48
50
|
end
|
|
49
51
|
|
|
50
|
-
if attributes.has_key?(:'
|
|
51
|
-
|
|
52
|
-
self.documenttypes = value
|
|
53
|
-
end
|
|
52
|
+
if attributes.has_key?(:'total')
|
|
53
|
+
self.total = attributes[:'total']
|
|
54
54
|
end
|
|
55
55
|
end
|
|
56
56
|
|
|
@@ -58,8 +58,8 @@ module BudgeaClient
|
|
|
58
58
|
# @return Array for valid properties with the reasons
|
|
59
59
|
def list_invalid_properties
|
|
60
60
|
invalid_properties = Array.new
|
|
61
|
-
if @
|
|
62
|
-
invalid_properties.push('invalid value for "
|
|
61
|
+
if @connectors.nil?
|
|
62
|
+
invalid_properties.push('invalid value for "connectors", connectors cannot be nil.')
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
invalid_properties
|
|
@@ -68,7 +68,7 @@ module BudgeaClient
|
|
|
68
68
|
# Check to see if the all the properties in the model are valid
|
|
69
69
|
# @return true if the model is valid
|
|
70
70
|
def valid?
|
|
71
|
-
return false if @
|
|
71
|
+
return false if @connectors.nil?
|
|
72
72
|
true
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -77,8 +77,8 @@ module BudgeaClient
|
|
|
77
77
|
def ==(o)
|
|
78
78
|
return true if self.equal?(o)
|
|
79
79
|
self.class == o.class &&
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
connectors == o.connectors &&
|
|
81
|
+
total == o.total
|
|
82
82
|
end
|
|
83
83
|
|
|
84
84
|
# @see the `==` method
|
|
@@ -90,7 +90,7 @@ module BudgeaClient
|
|
|
90
90
|
# Calculates hash code according to all attributes.
|
|
91
91
|
# @return [Fixnum] Hash code
|
|
92
92
|
def hash
|
|
93
|
-
[
|
|
93
|
+
[connectors, total].hash
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
# Builds the object from hash
|
|
@@ -100,7 +100,7 @@ module BudgeaClient
|
|
|
100
100
|
return nil unless attributes.is_a?(Hash)
|
|
101
101
|
self.class.swagger_types.each_pair do |key, type|
|
|
102
102
|
if type =~ /\AArray<(.*)>/i
|
|
103
|
-
# check to ensure the input is an array given that the
|
|
103
|
+
# check to ensure the input is an array given that the attribute
|
|
104
104
|
# is documented as an array but the input is not
|
|
105
105
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
|
106
106
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
|
@@ -196,5 +196,6 @@ module BudgeaClient
|
|
|
196
196
|
value
|
|
197
197
|
end
|
|
198
198
|
end
|
|
199
|
+
|
|
199
200
|
end
|
|
200
201
|
end
|