budgea_client 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +17 -0
- data/Rakefile +1 -5
- data/budgea_openapi.json +748 -63
- data/docs/Account.md +2 -0
- data/docs/AdministrationApi.md +497 -4
- data/docs/AuthenticationApi.md +2 -0
- data/docs/BanksApi.md +165 -48
- data/docs/ConnectionsApi.md +14 -12
- data/docs/Connector.md +2 -0
- data/docs/DocumentsApi.md +26 -26
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse20015.md +1 -1
- 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/InlineResponse20031.md +1 -1
- data/docs/InlineResponse20032.md +1 -1
- data/docs/InlineResponse20033.md +1 -1
- data/docs/InlineResponse20034.md +1 -1
- data/docs/InlineResponse20035.md +1 -1
- data/docs/InlineResponse20036.md +1 -1
- data/docs/PFMApi.md +10 -10
- data/docs/ProvidersApi.md +38 -38
- data/docs/TermsApi.md +4 -4
- data/docs/Transaction.md +1 -1
- data/docs/TransfersApi.md +43 -25
- data/docs/UsersManagementApi.md +4 -4
- data/docs/WealthApi.md +18 -18
- data/docs/Webhook.md +2 -0
- data/lib/budgea_client/api/administration_api.rb +506 -6
- data/lib/budgea_client/api/authentication_api.rb +3 -0
- data/lib/budgea_client/api/banks_api.rb +183 -72
- data/lib/budgea_client/api/connections_api.rb +21 -18
- data/lib/budgea_client/api/documents_api.rb +39 -39
- data/lib/budgea_client/api/pfm_api.rb +15 -15
- data/lib/budgea_client/api/providers_api.rb +57 -57
- data/lib/budgea_client/api/terms_api.rb +6 -6
- data/lib/budgea_client/api/transfers_api.rb +63 -36
- data/lib/budgea_client/api/users_management_api.rb +6 -6
- data/lib/budgea_client/api/wealth_api.rb +27 -27
- data/lib/budgea_client/models/account.rb +24 -4
- data/lib/budgea_client/models/connector.rb +26 -1
- data/lib/budgea_client/models/inline_response_200_13.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_14.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_15.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_17.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_18.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_19.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_20.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_21.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_22.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_23.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_24.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_25.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_26.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_27.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_28.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_29.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_30.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_31.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_32.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_33.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_34.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_35.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_36.rb +11 -11
- data/lib/budgea_client/models/transaction.rb +11 -18
- data/lib/budgea_client/models/webhook.rb +24 -4
- data/lib/budgea_client/version.rb +1 -1
- data/lib/budgea_client.rb +7 -0
- data/original_budgea_openapi.json +771 -142
- data/pkg/budgea_client-2.0.1.gem +0 -0
- metadata +4 -3
@@ -23,7 +23,7 @@ module BudgeaClient
|
|
23
23
|
#
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :expand
|
26
|
-
# @return [
|
26
|
+
# @return [InlineResponse20016]
|
27
27
|
def finance_securities_get(opts = {})
|
28
28
|
data, _status_code, _headers = finance_securities_get_with_http_info(opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module BudgeaClient
|
|
33
33
|
#
|
34
34
|
# @param [Hash] opts the optional parameters
|
35
35
|
# @option opts [String] :expand
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
|
37
37
|
def finance_securities_get_with_http_info(opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: WealthApi.finance_securities_get ...'
|
@@ -64,7 +64,7 @@ module BudgeaClient
|
|
64
64
|
:form_params => form_params,
|
65
65
|
:body => post_body,
|
66
66
|
:auth_names => auth_names,
|
67
|
-
:return_type => '
|
67
|
+
:return_type => 'InlineResponse20016')
|
68
68
|
if @api_client.config.debugging
|
69
69
|
@api_client.config.logger.debug "API called: WealthApi#finance_securities_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
70
|
end
|
@@ -144,7 +144,7 @@ module BudgeaClient
|
|
144
144
|
# @param id_account
|
145
145
|
# @param [Hash] opts the optional parameters
|
146
146
|
# @option opts [String] :expand
|
147
|
-
# @return [
|
147
|
+
# @return [InlineResponse20022]
|
148
148
|
def users_id_user_accounts_id_account_investments_get(id_user, id_account, opts = {})
|
149
149
|
data, _status_code, _headers = users_id_user_accounts_id_account_investments_get_with_http_info(id_user, id_account, opts)
|
150
150
|
data
|
@@ -156,7 +156,7 @@ module BudgeaClient
|
|
156
156
|
# @param id_account
|
157
157
|
# @param [Hash] opts the optional parameters
|
158
158
|
# @option opts [String] :expand
|
159
|
-
# @return [Array<(
|
159
|
+
# @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
|
160
160
|
def users_id_user_accounts_id_account_investments_get_with_http_info(id_user, id_account, opts = {})
|
161
161
|
if @api_client.config.debugging
|
162
162
|
@api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_investments_get ...'
|
@@ -195,7 +195,7 @@ module BudgeaClient
|
|
195
195
|
:form_params => form_params,
|
196
196
|
:body => post_body,
|
197
197
|
:auth_names => auth_names,
|
198
|
-
:return_type => '
|
198
|
+
:return_type => 'InlineResponse20022')
|
199
199
|
if @api_client.config.debugging
|
200
200
|
@api_client.config.logger.debug "API called: WealthApi#users_id_user_accounts_id_account_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
201
201
|
end
|
@@ -208,7 +208,7 @@ module BudgeaClient
|
|
208
208
|
# @param id_investment
|
209
209
|
# @param [Hash] opts the optional parameters
|
210
210
|
# @option opts [String] :expand
|
211
|
-
# @return [
|
211
|
+
# @return [InlineResponse20023]
|
212
212
|
def users_id_user_accounts_id_account_investments_id_investment_history_get(id_user, id_account, id_investment, opts = {})
|
213
213
|
data, _status_code, _headers = users_id_user_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_account, id_investment, opts)
|
214
214
|
data
|
@@ -221,7 +221,7 @@ module BudgeaClient
|
|
221
221
|
# @param id_investment
|
222
222
|
# @param [Hash] opts the optional parameters
|
223
223
|
# @option opts [String] :expand
|
224
|
-
# @return [Array<(
|
224
|
+
# @return [Array<(InlineResponse20023, Fixnum, Hash)>] InlineResponse20023 data, response status code and response headers
|
225
225
|
def users_id_user_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_account, id_investment, opts = {})
|
226
226
|
if @api_client.config.debugging
|
227
227
|
@api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_accounts_id_account_investments_id_investment_history_get ...'
|
@@ -264,7 +264,7 @@ module BudgeaClient
|
|
264
264
|
:form_params => form_params,
|
265
265
|
:body => post_body,
|
266
266
|
:auth_names => auth_names,
|
267
|
-
:return_type => '
|
267
|
+
:return_type => 'InlineResponse20023')
|
268
268
|
if @api_client.config.debugging
|
269
269
|
@api_client.config.logger.debug "API called: WealthApi#users_id_user_accounts_id_account_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
270
270
|
end
|
@@ -357,7 +357,7 @@ module BudgeaClient
|
|
357
357
|
# @param id_account
|
358
358
|
# @param [Hash] opts the optional parameters
|
359
359
|
# @option opts [String] :expand
|
360
|
-
# @return [
|
360
|
+
# @return [InlineResponse20022]
|
361
361
|
def users_id_user_connections_id_connection_accounts_id_account_investments_get(id_user, id_connection, id_account, opts = {})
|
362
362
|
data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_investments_get_with_http_info(id_user, id_connection, id_account, opts)
|
363
363
|
data
|
@@ -370,7 +370,7 @@ module BudgeaClient
|
|
370
370
|
# @param id_account
|
371
371
|
# @param [Hash] opts the optional parameters
|
372
372
|
# @option opts [String] :expand
|
373
|
-
# @return [Array<(
|
373
|
+
# @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
|
374
374
|
def users_id_user_connections_id_connection_accounts_id_account_investments_get_with_http_info(id_user, id_connection, id_account, opts = {})
|
375
375
|
if @api_client.config.debugging
|
376
376
|
@api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_get ...'
|
@@ -413,7 +413,7 @@ module BudgeaClient
|
|
413
413
|
:form_params => form_params,
|
414
414
|
:body => post_body,
|
415
415
|
:auth_names => auth_names,
|
416
|
-
:return_type => '
|
416
|
+
:return_type => 'InlineResponse20022')
|
417
417
|
if @api_client.config.debugging
|
418
418
|
@api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_accounts_id_account_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
419
419
|
end
|
@@ -427,7 +427,7 @@ module BudgeaClient
|
|
427
427
|
# @param id_investment
|
428
428
|
# @param [Hash] opts the optional parameters
|
429
429
|
# @option opts [String] :expand
|
430
|
-
# @return [
|
430
|
+
# @return [InlineResponse20023]
|
431
431
|
def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get(id_user, id_connection, id_account, id_investment, opts = {})
|
432
432
|
data, _status_code, _headers = users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts)
|
433
433
|
data
|
@@ -441,7 +441,7 @@ module BudgeaClient
|
|
441
441
|
# @param id_investment
|
442
442
|
# @param [Hash] opts the optional parameters
|
443
443
|
# @option opts [String] :expand
|
444
|
-
# @return [Array<(
|
444
|
+
# @return [Array<(InlineResponse20023, Fixnum, Hash)>] InlineResponse20023 data, response status code and response headers
|
445
445
|
def users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_account, id_investment, opts = {})
|
446
446
|
if @api_client.config.debugging
|
447
447
|
@api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get ...'
|
@@ -488,7 +488,7 @@ module BudgeaClient
|
|
488
488
|
:form_params => form_params,
|
489
489
|
:body => post_body,
|
490
490
|
:auth_names => auth_names,
|
491
|
-
:return_type => '
|
491
|
+
:return_type => 'InlineResponse20023')
|
492
492
|
if @api_client.config.debugging
|
493
493
|
@api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_accounts_id_account_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
494
494
|
end
|
@@ -586,7 +586,7 @@ module BudgeaClient
|
|
586
586
|
# @param id_connection
|
587
587
|
# @param [Hash] opts the optional parameters
|
588
588
|
# @option opts [String] :expand
|
589
|
-
# @return [
|
589
|
+
# @return [InlineResponse20022]
|
590
590
|
def users_id_user_connections_id_connection_investments_get(id_user, id_connection, opts = {})
|
591
591
|
data, _status_code, _headers = users_id_user_connections_id_connection_investments_get_with_http_info(id_user, id_connection, opts)
|
592
592
|
data
|
@@ -598,7 +598,7 @@ module BudgeaClient
|
|
598
598
|
# @param id_connection
|
599
599
|
# @param [Hash] opts the optional parameters
|
600
600
|
# @option opts [String] :expand
|
601
|
-
# @return [Array<(
|
601
|
+
# @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
|
602
602
|
def users_id_user_connections_id_connection_investments_get_with_http_info(id_user, id_connection, opts = {})
|
603
603
|
if @api_client.config.debugging
|
604
604
|
@api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_investments_get ...'
|
@@ -637,7 +637,7 @@ module BudgeaClient
|
|
637
637
|
:form_params => form_params,
|
638
638
|
:body => post_body,
|
639
639
|
:auth_names => auth_names,
|
640
|
-
:return_type => '
|
640
|
+
:return_type => 'InlineResponse20022')
|
641
641
|
if @api_client.config.debugging
|
642
642
|
@api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
643
643
|
end
|
@@ -650,7 +650,7 @@ module BudgeaClient
|
|
650
650
|
# @param id_investment
|
651
651
|
# @param [Hash] opts the optional parameters
|
652
652
|
# @option opts [String] :expand
|
653
|
-
# @return [
|
653
|
+
# @return [InlineResponse20023]
|
654
654
|
def users_id_user_connections_id_connection_investments_id_investment_history_get(id_user, id_connection, id_investment, opts = {})
|
655
655
|
data, _status_code, _headers = users_id_user_connections_id_connection_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_investment, opts)
|
656
656
|
data
|
@@ -663,7 +663,7 @@ module BudgeaClient
|
|
663
663
|
# @param id_investment
|
664
664
|
# @param [Hash] opts the optional parameters
|
665
665
|
# @option opts [String] :expand
|
666
|
-
# @return [Array<(
|
666
|
+
# @return [Array<(InlineResponse20023, Fixnum, Hash)>] InlineResponse20023 data, response status code and response headers
|
667
667
|
def users_id_user_connections_id_connection_investments_id_investment_history_get_with_http_info(id_user, id_connection, id_investment, opts = {})
|
668
668
|
if @api_client.config.debugging
|
669
669
|
@api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_connections_id_connection_investments_id_investment_history_get ...'
|
@@ -706,7 +706,7 @@ module BudgeaClient
|
|
706
706
|
:form_params => form_params,
|
707
707
|
:body => post_body,
|
708
708
|
:auth_names => auth_names,
|
709
|
-
:return_type => '
|
709
|
+
:return_type => 'InlineResponse20023')
|
710
710
|
if @api_client.config.debugging
|
711
711
|
@api_client.config.logger.debug "API called: WealthApi#users_id_user_connections_id_connection_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
712
712
|
end
|
@@ -797,7 +797,7 @@ module BudgeaClient
|
|
797
797
|
# @param id_user Hint: you can use 'me' or 'all'
|
798
798
|
# @param [Hash] opts the optional parameters
|
799
799
|
# @option opts [String] :expand
|
800
|
-
# @return [
|
800
|
+
# @return [InlineResponse20022]
|
801
801
|
def users_id_user_investments_get(id_user, opts = {})
|
802
802
|
data, _status_code, _headers = users_id_user_investments_get_with_http_info(id_user, opts)
|
803
803
|
data
|
@@ -808,7 +808,7 @@ module BudgeaClient
|
|
808
808
|
# @param id_user Hint: you can use 'me' or 'all'
|
809
809
|
# @param [Hash] opts the optional parameters
|
810
810
|
# @option opts [String] :expand
|
811
|
-
# @return [Array<(
|
811
|
+
# @return [Array<(InlineResponse20022, Fixnum, Hash)>] InlineResponse20022 data, response status code and response headers
|
812
812
|
def users_id_user_investments_get_with_http_info(id_user, opts = {})
|
813
813
|
if @api_client.config.debugging
|
814
814
|
@api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_investments_get ...'
|
@@ -843,7 +843,7 @@ module BudgeaClient
|
|
843
843
|
:form_params => form_params,
|
844
844
|
:body => post_body,
|
845
845
|
:auth_names => auth_names,
|
846
|
-
:return_type => '
|
846
|
+
:return_type => 'InlineResponse20022')
|
847
847
|
if @api_client.config.debugging
|
848
848
|
@api_client.config.logger.debug "API called: WealthApi#users_id_user_investments_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
849
849
|
end
|
@@ -855,7 +855,7 @@ module BudgeaClient
|
|
855
855
|
# @param id_investment
|
856
856
|
# @param [Hash] opts the optional parameters
|
857
857
|
# @option opts [String] :expand
|
858
|
-
# @return [
|
858
|
+
# @return [InlineResponse20023]
|
859
859
|
def users_id_user_investments_id_investment_history_get(id_user, id_investment, opts = {})
|
860
860
|
data, _status_code, _headers = users_id_user_investments_id_investment_history_get_with_http_info(id_user, id_investment, opts)
|
861
861
|
data
|
@@ -867,7 +867,7 @@ module BudgeaClient
|
|
867
867
|
# @param id_investment
|
868
868
|
# @param [Hash] opts the optional parameters
|
869
869
|
# @option opts [String] :expand
|
870
|
-
# @return [Array<(
|
870
|
+
# @return [Array<(InlineResponse20023, Fixnum, Hash)>] InlineResponse20023 data, response status code and response headers
|
871
871
|
def users_id_user_investments_id_investment_history_get_with_http_info(id_user, id_investment, opts = {})
|
872
872
|
if @api_client.config.debugging
|
873
873
|
@api_client.config.logger.debug 'Calling API: WealthApi.users_id_user_investments_id_investment_history_get ...'
|
@@ -906,7 +906,7 @@ module BudgeaClient
|
|
906
906
|
:form_params => form_params,
|
907
907
|
:body => post_body,
|
908
908
|
:auth_names => auth_names,
|
909
|
-
:return_type => '
|
909
|
+
:return_type => 'InlineResponse20023')
|
910
910
|
if @api_client.config.debugging
|
911
911
|
@api_client.config.logger.debug "API called: WealthApi#users_id_user_investments_id_investment_history_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
912
912
|
end
|
@@ -29,6 +29,9 @@ module BudgeaClient
|
|
29
29
|
# Account number
|
30
30
|
attr_accessor :number
|
31
31
|
|
32
|
+
# Account webid
|
33
|
+
attr_accessor :webid
|
34
|
+
|
32
35
|
# Original name of the account on the bank
|
33
36
|
attr_accessor :original_name
|
34
37
|
|
@@ -76,6 +79,9 @@ module BudgeaClient
|
|
76
79
|
# Account usage
|
77
80
|
attr_accessor :usage
|
78
81
|
|
82
|
+
# Relationship between the credentials owner and the account
|
83
|
+
attr_accessor :ownership
|
84
|
+
|
79
85
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
86
|
def self.attribute_map
|
81
87
|
{
|
@@ -84,6 +90,7 @@ module BudgeaClient
|
|
84
90
|
:'id_user' => :'id_user',
|
85
91
|
:'id_parent' => :'id_parent',
|
86
92
|
:'number' => :'number',
|
93
|
+
:'webid' => :'webid',
|
87
94
|
:'original_name' => :'original_name',
|
88
95
|
:'balance' => :'balance',
|
89
96
|
:'coming' => :'coming',
|
@@ -99,7 +106,8 @@ module BudgeaClient
|
|
99
106
|
:'name' => :'name',
|
100
107
|
:'transactions' => :'transactions',
|
101
108
|
:'error' => :'error',
|
102
|
-
:'usage' => :'usage'
|
109
|
+
:'usage' => :'usage',
|
110
|
+
:'ownership' => :'ownership'
|
103
111
|
}
|
104
112
|
end
|
105
113
|
|
@@ -111,6 +119,7 @@ module BudgeaClient
|
|
111
119
|
:'id_user' => :'Integer',
|
112
120
|
:'id_parent' => :'Integer',
|
113
121
|
:'number' => :'String',
|
122
|
+
:'webid' => :'String',
|
114
123
|
:'original_name' => :'String',
|
115
124
|
:'balance' => :'Float',
|
116
125
|
:'coming' => :'Float',
|
@@ -126,7 +135,8 @@ module BudgeaClient
|
|
126
135
|
:'name' => :'String',
|
127
136
|
:'transactions' => :'Array<Transaction>',
|
128
137
|
:'error' => :'String',
|
129
|
-
:'usage' => :'String'
|
138
|
+
:'usage' => :'String',
|
139
|
+
:'ownership' => :'String'
|
130
140
|
}
|
131
141
|
end
|
132
142
|
|
@@ -158,6 +168,10 @@ module BudgeaClient
|
|
158
168
|
self.number = attributes[:'number']
|
159
169
|
end
|
160
170
|
|
171
|
+
if attributes.has_key?(:'webid')
|
172
|
+
self.webid = attributes[:'webid']
|
173
|
+
end
|
174
|
+
|
161
175
|
if attributes.has_key?(:'original_name')
|
162
176
|
self.original_name = attributes[:'original_name']
|
163
177
|
end
|
@@ -227,6 +241,10 @@ module BudgeaClient
|
|
227
241
|
if attributes.has_key?(:'usage')
|
228
242
|
self.usage = attributes[:'usage']
|
229
243
|
end
|
244
|
+
|
245
|
+
if attributes.has_key?(:'ownership')
|
246
|
+
self.ownership = attributes[:'ownership']
|
247
|
+
end
|
230
248
|
end
|
231
249
|
|
232
250
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -277,6 +295,7 @@ module BudgeaClient
|
|
277
295
|
id_user == o.id_user &&
|
278
296
|
id_parent == o.id_parent &&
|
279
297
|
number == o.number &&
|
298
|
+
webid == o.webid &&
|
280
299
|
original_name == o.original_name &&
|
281
300
|
balance == o.balance &&
|
282
301
|
coming == o.coming &&
|
@@ -292,7 +311,8 @@ module BudgeaClient
|
|
292
311
|
name == o.name &&
|
293
312
|
transactions == o.transactions &&
|
294
313
|
error == o.error &&
|
295
|
-
usage == o.usage
|
314
|
+
usage == o.usage &&
|
315
|
+
ownership == o.ownership
|
296
316
|
end
|
297
317
|
|
298
318
|
# @see the `==` method
|
@@ -304,7 +324,7 @@ module BudgeaClient
|
|
304
324
|
# Calculates hash code according to all attributes.
|
305
325
|
# @return [Fixnum] Hash code
|
306
326
|
def hash
|
307
|
-
[id, id_connection, id_user, id_parent, number, original_name, balance, coming, display, last_update, deleted, disabled, iban, bic, currency, id_type, bookmarked, name, transactions, error, usage].hash
|
327
|
+
[id, id_connection, id_user, id_parent, number, webid, original_name, balance, coming, display, last_update, deleted, disabled, iban, bic, currency, id_type, bookmarked, name, transactions, error, usage, ownership].hash
|
308
328
|
end
|
309
329
|
|
310
330
|
# Builds the object from hash
|
@@ -50,6 +50,12 @@ module BudgeaClient
|
|
50
50
|
# Authentication mechanism to use
|
51
51
|
attr_accessor :auth_mechanism
|
52
52
|
|
53
|
+
# SIRET code for Bill modules
|
54
|
+
attr_accessor :siret
|
55
|
+
|
56
|
+
# Unique connector identifier
|
57
|
+
attr_accessor :uuid
|
58
|
+
|
53
59
|
attr_accessor :fields
|
54
60
|
|
55
61
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -68,6 +74,8 @@ module BudgeaClient
|
|
68
74
|
:'months_to_fetch' => :'months_to_fetch',
|
69
75
|
:'account_types' => :'account_types',
|
70
76
|
:'auth_mechanism' => :'auth_mechanism',
|
77
|
+
:'siret' => :'siret',
|
78
|
+
:'uuid' => :'uuid',
|
71
79
|
:'fields' => :'fields'
|
72
80
|
}
|
73
81
|
end
|
@@ -88,6 +96,8 @@ module BudgeaClient
|
|
88
96
|
:'months_to_fetch' => :'Integer',
|
89
97
|
:'account_types' => :'Array<String>',
|
90
98
|
:'auth_mechanism' => :'String',
|
99
|
+
:'siret' => :'String',
|
100
|
+
:'uuid' => :'String',
|
91
101
|
:'fields' => :'Array<Field>'
|
92
102
|
}
|
93
103
|
end
|
@@ -160,6 +170,14 @@ module BudgeaClient
|
|
160
170
|
self.auth_mechanism = attributes[:'auth_mechanism']
|
161
171
|
end
|
162
172
|
|
173
|
+
if attributes.has_key?(:'siret')
|
174
|
+
self.siret = attributes[:'siret']
|
175
|
+
end
|
176
|
+
|
177
|
+
if attributes.has_key?(:'uuid')
|
178
|
+
self.uuid = attributes[:'uuid']
|
179
|
+
end
|
180
|
+
|
163
181
|
if attributes.has_key?(:'fields')
|
164
182
|
if (value = attributes[:'fields']).is_a?(Array)
|
165
183
|
self.fields = value
|
@@ -191,6 +209,10 @@ module BudgeaClient
|
|
191
209
|
invalid_properties.push('invalid value for "beta", beta cannot be nil.')
|
192
210
|
end
|
193
211
|
|
212
|
+
if @uuid.nil?
|
213
|
+
invalid_properties.push('invalid value for "uuid", uuid cannot be nil.')
|
214
|
+
end
|
215
|
+
|
194
216
|
invalid_properties
|
195
217
|
end
|
196
218
|
|
@@ -202,6 +224,7 @@ module BudgeaClient
|
|
202
224
|
return false if @id_weboob.nil?
|
203
225
|
return false if @charged.nil?
|
204
226
|
return false if @beta.nil?
|
227
|
+
return false if @uuid.nil?
|
205
228
|
true
|
206
229
|
end
|
207
230
|
|
@@ -223,6 +246,8 @@ module BudgeaClient
|
|
223
246
|
months_to_fetch == o.months_to_fetch &&
|
224
247
|
account_types == o.account_types &&
|
225
248
|
auth_mechanism == o.auth_mechanism &&
|
249
|
+
siret == o.siret &&
|
250
|
+
uuid == o.uuid &&
|
226
251
|
fields == o.fields
|
227
252
|
end
|
228
253
|
|
@@ -235,7 +260,7 @@ module BudgeaClient
|
|
235
260
|
# Calculates hash code according to all attributes.
|
236
261
|
# @return [Fixnum] Hash code
|
237
262
|
def hash
|
238
|
-
[id, name, id_weboob, hidden, charged, code, beta, color, slug, sync_frequency, months_to_fetch, account_types, auth_mechanism, fields].hash
|
263
|
+
[id, name, id_weboob, hidden, charged, code, beta, color, slug, sync_frequency, months_to_fetch, account_types, auth_mechanism, siret, uuid, fields].hash
|
239
264
|
end
|
240
265
|
|
241
266
|
# Builds the object from hash
|
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20013
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :configlogs
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'configlogs' => :'configlogs'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'configlogs' => :'Array<ConfigLog>'
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
@@ -38,9 +38,9 @@ module BudgeaClient
|
|
38
38
|
# convert string to symbol for hash key
|
39
39
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
40
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
41
|
+
if attributes.has_key?(:'configlogs')
|
42
|
+
if (value = attributes[:'configlogs']).is_a?(Array)
|
43
|
+
self.configlogs = value
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -49,8 +49,8 @@ module BudgeaClient
|
|
49
49
|
# @return Array for valid properties with the reasons
|
50
50
|
def list_invalid_properties
|
51
51
|
invalid_properties = Array.new
|
52
|
-
if @
|
53
|
-
invalid_properties.push('invalid value for "
|
52
|
+
if @configlogs.nil?
|
53
|
+
invalid_properties.push('invalid value for "configlogs", configlogs cannot be nil.')
|
54
54
|
end
|
55
55
|
|
56
56
|
invalid_properties
|
@@ -59,7 +59,7 @@ module BudgeaClient
|
|
59
59
|
# Check to see if the all the properties in the model are valid
|
60
60
|
# @return true if the model is valid
|
61
61
|
def valid?
|
62
|
-
return false if @
|
62
|
+
return false if @configlogs.nil?
|
63
63
|
true
|
64
64
|
end
|
65
65
|
|
@@ -68,7 +68,7 @@ module BudgeaClient
|
|
68
68
|
def ==(o)
|
69
69
|
return true if self.equal?(o)
|
70
70
|
self.class == o.class &&
|
71
|
-
|
71
|
+
configlogs == o.configlogs
|
72
72
|
end
|
73
73
|
|
74
74
|
# @see the `==` method
|
@@ -80,7 +80,7 @@ module BudgeaClient
|
|
80
80
|
# Calculates hash code according to all attributes.
|
81
81
|
# @return [Fixnum] Hash code
|
82
82
|
def hash
|
83
|
-
[
|
83
|
+
[configlogs].hash
|
84
84
|
end
|
85
85
|
|
86
86
|
# Builds the object from hash
|
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20014
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :connectors
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'connectors' => :'connectors'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'connectors' => :'Array<Connector>'
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
@@ -38,9 +38,9 @@ module BudgeaClient
|
|
38
38
|
# convert string to symbol for hash key
|
39
39
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
40
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
41
|
+
if attributes.has_key?(:'connectors')
|
42
|
+
if (value = attributes[:'connectors']).is_a?(Array)
|
43
|
+
self.connectors = value
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -49,8 +49,8 @@ module BudgeaClient
|
|
49
49
|
# @return Array for valid properties with the reasons
|
50
50
|
def list_invalid_properties
|
51
51
|
invalid_properties = Array.new
|
52
|
-
if @
|
53
|
-
invalid_properties.push('invalid value for "
|
52
|
+
if @connectors.nil?
|
53
|
+
invalid_properties.push('invalid value for "connectors", connectors cannot be nil.')
|
54
54
|
end
|
55
55
|
|
56
56
|
invalid_properties
|
@@ -59,7 +59,7 @@ module BudgeaClient
|
|
59
59
|
# Check to see if the all the properties in the model are valid
|
60
60
|
# @return true if the model is valid
|
61
61
|
def valid?
|
62
|
-
return false if @
|
62
|
+
return false if @connectors.nil?
|
63
63
|
true
|
64
64
|
end
|
65
65
|
|
@@ -68,7 +68,7 @@ module BudgeaClient
|
|
68
68
|
def ==(o)
|
69
69
|
return true if self.equal?(o)
|
70
70
|
self.class == o.class &&
|
71
|
-
|
71
|
+
connectors == o.connectors
|
72
72
|
end
|
73
73
|
|
74
74
|
# @see the `==` method
|
@@ -80,7 +80,7 @@ module BudgeaClient
|
|
80
80
|
# Calculates hash code according to all attributes.
|
81
81
|
# @return [Fixnum] Hash code
|
82
82
|
def hash
|
83
|
-
[
|
83
|
+
[connectors].hash
|
84
84
|
end
|
85
85
|
|
86
86
|
# Builds the object from hash
|
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20015
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :documenttypes
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'documenttypes' => :'documenttypes'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'documenttypes' => :'Array<DocumentType>'
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
@@ -38,9 +38,9 @@ module BudgeaClient
|
|
38
38
|
# convert string to symbol for hash key
|
39
39
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
40
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
41
|
+
if attributes.has_key?(:'documenttypes')
|
42
|
+
if (value = attributes[:'documenttypes']).is_a?(Array)
|
43
|
+
self.documenttypes = value
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -49,8 +49,8 @@ module BudgeaClient
|
|
49
49
|
# @return Array for valid properties with the reasons
|
50
50
|
def list_invalid_properties
|
51
51
|
invalid_properties = Array.new
|
52
|
-
if @
|
53
|
-
invalid_properties.push('invalid value for "
|
52
|
+
if @documenttypes.nil?
|
53
|
+
invalid_properties.push('invalid value for "documenttypes", documenttypes cannot be nil.')
|
54
54
|
end
|
55
55
|
|
56
56
|
invalid_properties
|
@@ -59,7 +59,7 @@ module BudgeaClient
|
|
59
59
|
# Check to see if the all the properties in the model are valid
|
60
60
|
# @return true if the model is valid
|
61
61
|
def valid?
|
62
|
-
return false if @
|
62
|
+
return false if @documenttypes.nil?
|
63
63
|
true
|
64
64
|
end
|
65
65
|
|
@@ -68,7 +68,7 @@ module BudgeaClient
|
|
68
68
|
def ==(o)
|
69
69
|
return true if self.equal?(o)
|
70
70
|
self.class == o.class &&
|
71
|
-
|
71
|
+
documenttypes == o.documenttypes
|
72
72
|
end
|
73
73
|
|
74
74
|
# @see the `==` method
|
@@ -80,7 +80,7 @@ module BudgeaClient
|
|
80
80
|
# Calculates hash code according to all attributes.
|
81
81
|
# @return [Fixnum] Hash code
|
82
82
|
def hash
|
83
|
-
[
|
83
|
+
[documenttypes].hash
|
84
84
|
end
|
85
85
|
|
86
86
|
# Builds the object from hash
|