budgea_client 3.0.0 → 3.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 +11 -1
- data/budgea_openapi.json +913 -105
- data/docs/AdministrationApi.md +12 -12
- data/docs/BanksApi.md +40 -38
- data/docs/Client.md +1 -6
- data/docs/Connection.md +1 -0
- data/docs/ConnectionLog.md +1 -0
- data/docs/ConnectionsApi.md +2 -0
- data/docs/Document.md +2 -3
- data/docs/DocumentsApi.md +24 -24
- data/docs/InlineResponse200.md +1 -0
- data/docs/InlineResponse20010.md +1 -0
- data/docs/InlineResponse20011.md +1 -0
- data/docs/InlineResponse20012.md +1 -0
- data/docs/InlineResponse20013.md +1 -0
- data/docs/InlineResponse20014.md +1 -0
- data/docs/InlineResponse20015.md +1 -0
- data/docs/InlineResponse20016.md +1 -0
- data/docs/InlineResponse20017.md +1 -0
- data/docs/InlineResponse20018.md +1 -0
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse20020.md +2 -1
- data/docs/InlineResponse20021.md +2 -1
- data/docs/InlineResponse20022.md +2 -1
- data/docs/InlineResponse20023.md +2 -1
- data/docs/InlineResponse20024.md +2 -1
- data/docs/InlineResponse20025.md +2 -1
- data/docs/InlineResponse20026.md +2 -1
- data/docs/InlineResponse20027.md +2 -1
- data/docs/InlineResponse20028.md +2 -1
- data/docs/InlineResponse20029.md +2 -1
- data/docs/InlineResponse20030.md +2 -1
- data/docs/InlineResponse20031.md +2 -1
- data/docs/InlineResponse20032.md +2 -1
- data/docs/InlineResponse20033.md +2 -1
- data/docs/InlineResponse20034.md +2 -1
- data/docs/InlineResponse20035.md +2 -1
- data/docs/InlineResponse20036.md +2 -1
- data/docs/InlineResponse20037.md +2 -1
- data/docs/InlineResponse20038.md +2 -1
- data/docs/InlineResponse20039.md +9 -0
- data/docs/InlineResponse20040.md +9 -0
- data/docs/InlineResponse2008.md +1 -0
- data/docs/InlineResponse2009.md +1 -0
- data/docs/PFMApi.md +15 -15
- data/docs/ProvidersApi.md +30 -28
- data/docs/RecipientLog.md +1 -0
- data/docs/TermsApi.md +4 -4
- data/docs/Transfer.md +2 -2
- data/docs/TransferLog.md +1 -0
- data/docs/TransfersApi.md +24 -24
- data/docs/UsersManagementApi.md +4 -4
- data/docs/WealthApi.md +524 -16
- data/lib/budgea_client.rb +2 -0
- data/lib/budgea_client/api/administration_api.rb +18 -18
- data/lib/budgea_client/api/banks_api.rb +60 -57
- data/lib/budgea_client/api/connections_api.rb +3 -0
- data/lib/budgea_client/api/documents_api.rb +36 -36
- data/lib/budgea_client/api/pfm_api.rb +19 -19
- data/lib/budgea_client/api/providers_api.rb +46 -43
- data/lib/budgea_client/api/terms_api.rb +6 -6
- data/lib/budgea_client/api/transfers_api.rb +36 -36
- data/lib/budgea_client/api/users_management_api.rb +6 -6
- data/lib/budgea_client/api/wealth_api.rb +552 -24
- data/lib/budgea_client/models/client.rb +8 -58
- data/lib/budgea_client/models/connection.rb +11 -1
- data/lib/budgea_client/models/connection_log.rb +14 -4
- data/lib/budgea_client/models/document.rb +18 -24
- data/lib/budgea_client/models/inline_response_200.rb +14 -4
- data/lib/budgea_client/models/inline_response_200_10.rb +14 -4
- data/lib/budgea_client/models/inline_response_200_11.rb +11 -1
- data/lib/budgea_client/models/inline_response_200_12.rb +11 -1
- data/lib/budgea_client/models/inline_response_200_13.rb +11 -1
- data/lib/budgea_client/models/inline_response_200_14.rb +14 -4
- data/lib/budgea_client/models/inline_response_200_15.rb +11 -1
- data/lib/budgea_client/models/inline_response_200_16.rb +14 -4
- data/lib/budgea_client/models/inline_response_200_17.rb +11 -1
- data/lib/budgea_client/models/inline_response_200_18.rb +11 -1
- data/lib/budgea_client/models/inline_response_200_19.rb +11 -11
- data/lib/budgea_client/models/inline_response_200_20.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_21.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_22.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_23.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_24.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_25.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_26.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_27.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_28.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_29.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_30.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_31.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_32.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_33.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_34.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_35.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_36.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_37.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_38.rb +21 -11
- data/lib/budgea_client/models/inline_response_200_39.rb +200 -0
- data/lib/budgea_client/models/inline_response_200_40.rb +200 -0
- data/lib/budgea_client/models/inline_response_200_8.rb +14 -4
- data/lib/budgea_client/models/inline_response_200_9.rb +14 -4
- data/lib/budgea_client/models/recipient_log.rb +14 -4
- data/lib/budgea_client/models/transfer.rb +2 -2
- data/lib/budgea_client/models/transfer_log.rb +14 -4
- data/lib/budgea_client/version.rb +1 -1
- data/original_budgea_openapi.json +911 -103
- data/pkg/budgea_client-2.0.0.gem +0 -0
- data/spec/models/inline_response_200_39_spec.rb +47 -0
- data/spec/models/inline_response_200_40_spec.rb +47 -0
- metadata +12 -5
- data/pkg/budgea_client-2.0.1.gem +0 -0
- data/pkg/budgea_client-2.0.2.gem +0 -0
@@ -26,28 +26,13 @@ module BudgeaClient
|
|
26
26
|
|
27
27
|
attr_accessor :redirect_uri
|
28
28
|
|
29
|
-
# Primary color of client
|
30
|
-
attr_accessor :primary_color
|
31
|
-
|
32
|
-
# Secondary color of client
|
33
|
-
attr_accessor :secondary_color
|
34
|
-
|
35
29
|
# Should the client display the company manager page.
|
36
30
|
attr_accessor :pro
|
37
31
|
|
38
|
-
# Text to display as a default description.
|
39
|
-
attr_accessor :description
|
40
|
-
|
41
|
-
# Text to display as a description for banks.
|
42
|
-
attr_accessor :description_banks
|
43
|
-
|
44
|
-
# Text to display as a description for providers.
|
45
|
-
attr_accessor :description_providers
|
46
|
-
|
47
32
|
attr_accessor :id_logo
|
48
33
|
|
49
|
-
# customizable
|
50
|
-
attr_accessor :
|
34
|
+
# customizable config
|
35
|
+
attr_accessor :config
|
51
36
|
|
52
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
38
|
def self.attribute_map
|
@@ -58,14 +43,9 @@ module BudgeaClient
|
|
58
43
|
:'public_key' => :'public_key',
|
59
44
|
:'private_key' => :'private_key',
|
60
45
|
:'redirect_uri' => :'redirect_uri',
|
61
|
-
:'primary_color' => :'primary_color',
|
62
|
-
:'secondary_color' => :'secondary_color',
|
63
46
|
:'pro' => :'pro',
|
64
|
-
:'description' => :'description',
|
65
|
-
:'description_banks' => :'description_banks',
|
66
|
-
:'description_providers' => :'description_providers',
|
67
47
|
:'id_logo' => :'id_logo',
|
68
|
-
:'
|
48
|
+
:'config' => :'config'
|
69
49
|
}
|
70
50
|
end
|
71
51
|
|
@@ -78,14 +58,9 @@ module BudgeaClient
|
|
78
58
|
:'public_key' => :'String',
|
79
59
|
:'private_key' => :'String',
|
80
60
|
:'redirect_uri' => :'String',
|
81
|
-
:'primary_color' => :'String',
|
82
|
-
:'secondary_color' => :'String',
|
83
61
|
:'pro' => :'BOOLEAN',
|
84
|
-
:'description' => :'String',
|
85
|
-
:'description_banks' => :'String',
|
86
|
-
:'description_providers' => :'String',
|
87
62
|
:'id_logo' => :'Integer',
|
88
|
-
:'
|
63
|
+
:'config' => :'String'
|
89
64
|
}
|
90
65
|
end
|
91
66
|
|
@@ -125,38 +100,18 @@ module BudgeaClient
|
|
125
100
|
self.redirect_uri = ''
|
126
101
|
end
|
127
102
|
|
128
|
-
if attributes.has_key?(:'primary_color')
|
129
|
-
self.primary_color = attributes[:'primary_color']
|
130
|
-
end
|
131
|
-
|
132
|
-
if attributes.has_key?(:'secondary_color')
|
133
|
-
self.secondary_color = attributes[:'secondary_color']
|
134
|
-
end
|
135
|
-
|
136
103
|
if attributes.has_key?(:'pro')
|
137
104
|
self.pro = attributes[:'pro']
|
138
105
|
else
|
139
106
|
self.pro = false
|
140
107
|
end
|
141
108
|
|
142
|
-
if attributes.has_key?(:'description')
|
143
|
-
self.description = attributes[:'description']
|
144
|
-
end
|
145
|
-
|
146
|
-
if attributes.has_key?(:'description_banks')
|
147
|
-
self.description_banks = attributes[:'description_banks']
|
148
|
-
end
|
149
|
-
|
150
|
-
if attributes.has_key?(:'description_providers')
|
151
|
-
self.description_providers = attributes[:'description_providers']
|
152
|
-
end
|
153
|
-
|
154
109
|
if attributes.has_key?(:'id_logo')
|
155
110
|
self.id_logo = attributes[:'id_logo']
|
156
111
|
end
|
157
112
|
|
158
|
-
if attributes.has_key?(:'
|
159
|
-
self.
|
113
|
+
if attributes.has_key?(:'config')
|
114
|
+
self.config = attributes[:'config']
|
160
115
|
end
|
161
116
|
end
|
162
117
|
|
@@ -209,14 +164,9 @@ module BudgeaClient
|
|
209
164
|
public_key == o.public_key &&
|
210
165
|
private_key == o.private_key &&
|
211
166
|
redirect_uri == o.redirect_uri &&
|
212
|
-
primary_color == o.primary_color &&
|
213
|
-
secondary_color == o.secondary_color &&
|
214
167
|
pro == o.pro &&
|
215
|
-
description == o.description &&
|
216
|
-
description_banks == o.description_banks &&
|
217
|
-
description_providers == o.description_providers &&
|
218
168
|
id_logo == o.id_logo &&
|
219
|
-
|
169
|
+
config == o.config
|
220
170
|
end
|
221
171
|
|
222
172
|
# @see the `==` method
|
@@ -228,7 +178,7 @@ module BudgeaClient
|
|
228
178
|
# Calculates hash code according to all attributes.
|
229
179
|
# @return [Fixnum] Hash code
|
230
180
|
def hash
|
231
|
-
[id, name, secret, public_key, private_key, redirect_uri,
|
181
|
+
[id, name, secret, public_key, private_key, redirect_uri, pro, id_logo, config].hash
|
232
182
|
end
|
233
183
|
|
234
184
|
# Builds the object from hash
|
@@ -29,6 +29,9 @@ module BudgeaClient
|
|
29
29
|
# If the last update has failed, the error code
|
30
30
|
attr_accessor :error
|
31
31
|
|
32
|
+
# If fail, error message received from connector
|
33
|
+
attr_accessor :error_message
|
34
|
+
|
32
35
|
# Expiration of the connection. Used during add of a two-factor authentication, to purge the connection if the user abort
|
33
36
|
attr_accessor :expire
|
34
37
|
|
@@ -51,6 +54,7 @@ module BudgeaClient
|
|
51
54
|
:'id_connector' => :'id_connector',
|
52
55
|
:'last_update' => :'last_update',
|
53
56
|
:'error' => :'error',
|
57
|
+
:'error_message' => :'error_message',
|
54
58
|
:'expire' => :'expire',
|
55
59
|
:'active' => :'active',
|
56
60
|
:'last_push' => :'last_push',
|
@@ -67,6 +71,7 @@ module BudgeaClient
|
|
67
71
|
:'id_connector' => :'Integer',
|
68
72
|
:'last_update' => :'DateTime',
|
69
73
|
:'error' => :'String',
|
74
|
+
:'error_message' => :'String',
|
70
75
|
:'expire' => :'DateTime',
|
71
76
|
:'active' => :'BOOLEAN',
|
72
77
|
:'last_push' => :'DateTime',
|
@@ -103,6 +108,10 @@ module BudgeaClient
|
|
103
108
|
self.error = attributes[:'error']
|
104
109
|
end
|
105
110
|
|
111
|
+
if attributes.has_key?(:'error_message')
|
112
|
+
self.error_message = attributes[:'error_message']
|
113
|
+
end
|
114
|
+
|
106
115
|
if attributes.has_key?(:'expire')
|
107
116
|
self.expire = attributes[:'expire']
|
108
117
|
end
|
@@ -166,6 +175,7 @@ module BudgeaClient
|
|
166
175
|
id_connector == o.id_connector &&
|
167
176
|
last_update == o.last_update &&
|
168
177
|
error == o.error &&
|
178
|
+
error_message == o.error_message &&
|
169
179
|
expire == o.expire &&
|
170
180
|
active == o.active &&
|
171
181
|
last_push == o.last_push &&
|
@@ -182,7 +192,7 @@ module BudgeaClient
|
|
182
192
|
# Calculates hash code according to all attributes.
|
183
193
|
# @return [Fixnum] Hash code
|
184
194
|
def hash
|
185
|
-
[id, id_user, id_connector, last_update, error, expire, active, last_push, next_try, accounts].hash
|
195
|
+
[id, id_user, id_connector, last_update, error, error_message, expire, active, last_push, next_try, accounts].hash
|
186
196
|
end
|
187
197
|
|
188
198
|
# Builds the object from hash
|
@@ -59,6 +59,9 @@ module BudgeaClient
|
|
59
59
|
# Session folder uid
|
60
60
|
attr_accessor :session_folder_id
|
61
61
|
|
62
|
+
# Fields for connection in additionalInformationNeeded state with background option
|
63
|
+
attr_accessor :fields
|
64
|
+
|
62
65
|
# Attribute mapping from ruby-style variable name to JSON key.
|
63
66
|
def self.attribute_map
|
64
67
|
{
|
@@ -76,7 +79,8 @@ module BudgeaClient
|
|
76
79
|
:'nb_accounts' => :'nb_accounts',
|
77
80
|
:'start' => :'start',
|
78
81
|
:'worker' => :'worker',
|
79
|
-
:'session_folder_id' => :'session_folder_id'
|
82
|
+
:'session_folder_id' => :'session_folder_id',
|
83
|
+
:'fields' => :'fields'
|
80
84
|
}
|
81
85
|
end
|
82
86
|
|
@@ -97,7 +101,8 @@ module BudgeaClient
|
|
97
101
|
:'nb_accounts' => :'Integer',
|
98
102
|
:'start' => :'DateTime',
|
99
103
|
:'worker' => :'String',
|
100
|
-
:'session_folder_id' => :'String'
|
104
|
+
:'session_folder_id' => :'String',
|
105
|
+
:'fields' => :'String'
|
101
106
|
}
|
102
107
|
end
|
103
108
|
|
@@ -168,6 +173,10 @@ module BudgeaClient
|
|
168
173
|
if attributes.has_key?(:'session_folder_id')
|
169
174
|
self.session_folder_id = attributes[:'session_folder_id']
|
170
175
|
end
|
176
|
+
|
177
|
+
if attributes.has_key?(:'fields')
|
178
|
+
self.fields = attributes[:'fields']
|
179
|
+
end
|
171
180
|
end
|
172
181
|
|
173
182
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -217,7 +226,8 @@ module BudgeaClient
|
|
217
226
|
nb_accounts == o.nb_accounts &&
|
218
227
|
start == o.start &&
|
219
228
|
worker == o.worker &&
|
220
|
-
session_folder_id == o.session_folder_id
|
229
|
+
session_folder_id == o.session_folder_id &&
|
230
|
+
fields == o.fields
|
221
231
|
end
|
222
232
|
|
223
233
|
# @see the `==` method
|
@@ -229,7 +239,7 @@ module BudgeaClient
|
|
229
239
|
# Calculates hash code according to all attributes.
|
230
240
|
# @return [Fixnum] Hash code
|
231
241
|
def hash
|
232
|
-
[id, id_user, id_connection, id_connector, login, error_uid, timestamp, next_try, error, error_message, statut, nb_accounts, start, worker, session_folder_id].hash
|
242
|
+
[id, id_user, id_connection, id_connector, login, error_uid, timestamp, next_try, error, error_message, statut, nb_accounts, start, worker, session_folder_id, fields].hash
|
233
243
|
end
|
234
244
|
|
235
245
|
# Builds the object from hash
|
@@ -28,10 +28,6 @@ module BudgeaClient
|
|
28
28
|
|
29
29
|
attr_accessor :id_thumbnail
|
30
30
|
|
31
|
-
attr_accessor :url
|
32
|
-
|
33
|
-
attr_accessor :thumb_url
|
34
|
-
|
35
31
|
attr_accessor :name
|
36
32
|
|
37
33
|
attr_accessor :timestamp
|
@@ -57,6 +53,9 @@ module BudgeaClient
|
|
57
53
|
# Last successful update of the document
|
58
54
|
attr_accessor :last_update
|
59
55
|
|
56
|
+
# Boolean to set if file is available on website
|
57
|
+
attr_accessor :has_file_on_website
|
58
|
+
|
60
59
|
# Document currency
|
61
60
|
attr_accessor :currency
|
62
61
|
|
@@ -70,8 +69,6 @@ module BudgeaClient
|
|
70
69
|
:'id_subscription' => :'id_subscription',
|
71
70
|
:'id_file' => :'id_file',
|
72
71
|
:'id_thumbnail' => :'id_thumbnail',
|
73
|
-
:'url' => :'url',
|
74
|
-
:'thumb_url' => :'thumb_url',
|
75
72
|
:'name' => :'name',
|
76
73
|
:'timestamp' => :'timestamp',
|
77
74
|
:'date' => :'date',
|
@@ -84,6 +81,7 @@ module BudgeaClient
|
|
84
81
|
:'number' => :'number',
|
85
82
|
:'issuer' => :'issuer',
|
86
83
|
:'last_update' => :'last_update',
|
84
|
+
:'has_file_on_website' => :'has_file_on_website',
|
87
85
|
:'currency' => :'currency'
|
88
86
|
}
|
89
87
|
end
|
@@ -98,8 +96,6 @@ module BudgeaClient
|
|
98
96
|
:'id_subscription' => :'Integer',
|
99
97
|
:'id_file' => :'Integer',
|
100
98
|
:'id_thumbnail' => :'Integer',
|
101
|
-
:'url' => :'String',
|
102
|
-
:'thumb_url' => :'String',
|
103
99
|
:'name' => :'String',
|
104
100
|
:'timestamp' => :'DateTime',
|
105
101
|
:'date' => :'DateTime',
|
@@ -112,6 +108,7 @@ module BudgeaClient
|
|
112
108
|
:'number' => :'String',
|
113
109
|
:'issuer' => :'String',
|
114
110
|
:'last_update' => :'DateTime',
|
111
|
+
:'has_file_on_website' => :'BOOLEAN',
|
115
112
|
:'currency' => :'Object'
|
116
113
|
}
|
117
114
|
end
|
@@ -152,14 +149,6 @@ module BudgeaClient
|
|
152
149
|
self.id_thumbnail = attributes[:'id_thumbnail']
|
153
150
|
end
|
154
151
|
|
155
|
-
if attributes.has_key?(:'url')
|
156
|
-
self.url = attributes[:'url']
|
157
|
-
end
|
158
|
-
|
159
|
-
if attributes.has_key?(:'thumb_url')
|
160
|
-
self.thumb_url = attributes[:'thumb_url']
|
161
|
-
end
|
162
|
-
|
163
152
|
if attributes.has_key?(:'name')
|
164
153
|
self.name = attributes[:'name']
|
165
154
|
end
|
@@ -212,6 +201,12 @@ module BudgeaClient
|
|
212
201
|
self.last_update = attributes[:'last_update']
|
213
202
|
end
|
214
203
|
|
204
|
+
if attributes.has_key?(:'has_file_on_website')
|
205
|
+
self.has_file_on_website = attributes[:'has_file_on_website']
|
206
|
+
else
|
207
|
+
self.has_file_on_website = true
|
208
|
+
end
|
209
|
+
|
215
210
|
if attributes.has_key?(:'currency')
|
216
211
|
self.currency = attributes[:'currency']
|
217
212
|
end
|
@@ -233,14 +228,14 @@ module BudgeaClient
|
|
233
228
|
invalid_properties.push('invalid value for "timestamp", timestamp cannot be nil.')
|
234
229
|
end
|
235
230
|
|
236
|
-
if @date.nil?
|
237
|
-
invalid_properties.push('invalid value for "date", date cannot be nil.')
|
238
|
-
end
|
239
|
-
|
240
231
|
if @readonly.nil?
|
241
232
|
invalid_properties.push('invalid value for "readonly", readonly cannot be nil.')
|
242
233
|
end
|
243
234
|
|
235
|
+
if @has_file_on_website.nil?
|
236
|
+
invalid_properties.push('invalid value for "has_file_on_website", has_file_on_website cannot be nil.')
|
237
|
+
end
|
238
|
+
|
244
239
|
invalid_properties
|
245
240
|
end
|
246
241
|
|
@@ -250,8 +245,8 @@ module BudgeaClient
|
|
250
245
|
return false if @id.nil?
|
251
246
|
return false if @id_user.nil?
|
252
247
|
return false if @timestamp.nil?
|
253
|
-
return false if @date.nil?
|
254
248
|
return false if @readonly.nil?
|
249
|
+
return false if @has_file_on_website.nil?
|
255
250
|
true
|
256
251
|
end
|
257
252
|
|
@@ -267,8 +262,6 @@ module BudgeaClient
|
|
267
262
|
id_subscription == o.id_subscription &&
|
268
263
|
id_file == o.id_file &&
|
269
264
|
id_thumbnail == o.id_thumbnail &&
|
270
|
-
url == o.url &&
|
271
|
-
thumb_url == o.thumb_url &&
|
272
265
|
name == o.name &&
|
273
266
|
timestamp == o.timestamp &&
|
274
267
|
date == o.date &&
|
@@ -281,6 +274,7 @@ module BudgeaClient
|
|
281
274
|
number == o.number &&
|
282
275
|
issuer == o.issuer &&
|
283
276
|
last_update == o.last_update &&
|
277
|
+
has_file_on_website == o.has_file_on_website &&
|
284
278
|
currency == o.currency
|
285
279
|
end
|
286
280
|
|
@@ -293,7 +287,7 @@ module BudgeaClient
|
|
293
287
|
# Calculates hash code according to all attributes.
|
294
288
|
# @return [Fixnum] Hash code
|
295
289
|
def hash
|
296
|
-
[id, id_type, id_category, id_user, id_subscription, id_file, id_thumbnail,
|
290
|
+
[id, id_type, id_category, id_user, id_subscription, id_file, id_thumbnail, name, timestamp, date, duedate, total_amount, untaxed_amount, vat, income, readonly, number, issuer, last_update, has_file_on_website, currency].hash
|
297
291
|
end
|
298
292
|
|
299
293
|
# Builds the object from hash
|
@@ -16,17 +16,22 @@ module BudgeaClient
|
|
16
16
|
class InlineResponse200
|
17
17
|
attr_accessor :accounttypes
|
18
18
|
|
19
|
+
# total number of results
|
20
|
+
attr_accessor :total
|
21
|
+
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
23
|
def self.attribute_map
|
21
24
|
{
|
22
|
-
:'accounttypes' => :'accounttypes'
|
25
|
+
:'accounttypes' => :'accounttypes',
|
26
|
+
:'total' => :'total'
|
23
27
|
}
|
24
28
|
end
|
25
29
|
|
26
30
|
# Attribute type mapping.
|
27
31
|
def self.swagger_types
|
28
32
|
{
|
29
|
-
:'accounttypes' => :'Array<AccountType>'
|
33
|
+
:'accounttypes' => :'Array<AccountType>',
|
34
|
+
:'total' => :'Float'
|
30
35
|
}
|
31
36
|
end
|
32
37
|
|
@@ -43,6 +48,10 @@ module BudgeaClient
|
|
43
48
|
self.accounttypes = value
|
44
49
|
end
|
45
50
|
end
|
51
|
+
|
52
|
+
if attributes.has_key?(:'total')
|
53
|
+
self.total = attributes[:'total']
|
54
|
+
end
|
46
55
|
end
|
47
56
|
|
48
57
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -68,7 +77,8 @@ module BudgeaClient
|
|
68
77
|
def ==(o)
|
69
78
|
return true if self.equal?(o)
|
70
79
|
self.class == o.class &&
|
71
|
-
accounttypes == o.accounttypes
|
80
|
+
accounttypes == o.accounttypes &&
|
81
|
+
total == o.total
|
72
82
|
end
|
73
83
|
|
74
84
|
# @see the `==` method
|
@@ -80,7 +90,7 @@ module BudgeaClient
|
|
80
90
|
# Calculates hash code according to all attributes.
|
81
91
|
# @return [Fixnum] Hash code
|
82
92
|
def hash
|
83
|
-
[accounttypes].hash
|
93
|
+
[accounttypes, total].hash
|
84
94
|
end
|
85
95
|
|
86
96
|
# Builds the object from hash
|
@@ -16,17 +16,22 @@ module BudgeaClient
|
|
16
16
|
class InlineResponse20010
|
17
17
|
attr_accessor :connectorlogos
|
18
18
|
|
19
|
+
# total number of results
|
20
|
+
attr_accessor :total
|
21
|
+
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
23
|
def self.attribute_map
|
21
24
|
{
|
22
|
-
:'connectorlogos' => :'connectorlogos'
|
25
|
+
:'connectorlogos' => :'connectorlogos',
|
26
|
+
:'total' => :'total'
|
23
27
|
}
|
24
28
|
end
|
25
29
|
|
26
30
|
# Attribute type mapping.
|
27
31
|
def self.swagger_types
|
28
32
|
{
|
29
|
-
:'connectorlogos' => :'Array<ConnectorLogo>'
|
33
|
+
:'connectorlogos' => :'Array<ConnectorLogo>',
|
34
|
+
:'total' => :'Float'
|
30
35
|
}
|
31
36
|
end
|
32
37
|
|
@@ -43,6 +48,10 @@ module BudgeaClient
|
|
43
48
|
self.connectorlogos = value
|
44
49
|
end
|
45
50
|
end
|
51
|
+
|
52
|
+
if attributes.has_key?(:'total')
|
53
|
+
self.total = attributes[:'total']
|
54
|
+
end
|
46
55
|
end
|
47
56
|
|
48
57
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -68,7 +77,8 @@ module BudgeaClient
|
|
68
77
|
def ==(o)
|
69
78
|
return true if self.equal?(o)
|
70
79
|
self.class == o.class &&
|
71
|
-
connectorlogos == o.connectorlogos
|
80
|
+
connectorlogos == o.connectorlogos &&
|
81
|
+
total == o.total
|
72
82
|
end
|
73
83
|
|
74
84
|
# @see the `==` method
|
@@ -80,7 +90,7 @@ module BudgeaClient
|
|
80
90
|
# Calculates hash code according to all attributes.
|
81
91
|
# @return [Fixnum] Hash code
|
82
92
|
def hash
|
83
|
-
[connectorlogos].hash
|
93
|
+
[connectorlogos, total].hash
|
84
94
|
end
|
85
95
|
|
86
96
|
# Builds the object from hash
|