budgea_client 5.0.3 → 5.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +4 -4
- data/README.md +19 -6
- data/budgea_client.gemspec +1 -1
- data/budgea_openapi.json +1624 -1420
- data/config.json +1 -1
- data/docs/Account.md +1 -0
- data/docs/AdministrationApi.md +12 -12
- data/docs/BanksApi.md +267 -52
- data/docs/Connection.md +2 -0
- data/docs/ConnectionsApi.md +255 -40
- data/docs/DocumentsApi.md +2 -2
- 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/PFMApi.md +9 -9
- data/docs/ProvidersApi.md +257 -42
- data/docs/TermsApi.md +72 -7
- data/docs/TransfersApi.md +24 -24
- data/docs/UsersManagementApi.md +2 -2
- data/docs/WealthApi.md +53 -37
- data/lib/budgea_client.rb +1 -1
- data/lib/budgea_client/api/administration_api.rb +14 -14
- data/lib/budgea_client/api/authentication_api.rb +1 -1
- data/lib/budgea_client/api/banks_api.rb +278 -78
- data/lib/budgea_client/api/connections_api.rb +260 -60
- data/lib/budgea_client/api/documents_api.rb +4 -4
- data/lib/budgea_client/api/ocr_api.rb +1 -1
- data/lib/budgea_client/api/oidc_api.rb +1 -1
- data/lib/budgea_client/api/pfm_api.rb +12 -12
- data/lib/budgea_client/api/providers_api.rb +263 -63
- data/lib/budgea_client/api/recipients_api.rb +1 -1
- data/lib/budgea_client/api/terms_api.rb +76 -10
- data/lib/budgea_client/api/transfer_api.rb +1 -1
- data/lib/budgea_client/api/transfers_api.rb +37 -37
- data/lib/budgea_client/api/users_management_api.rb +4 -4
- data/lib/budgea_client/api/wealth_api.rb +78 -54
- data/lib/budgea_client/api_client.rb +3 -1
- data/lib/budgea_client/api_error.rb +1 -1
- data/lib/budgea_client/configuration.rb +1 -1
- data/lib/budgea_client/models/access.rb +3 -2
- data/lib/budgea_client/models/account.rb +15 -3
- data/lib/budgea_client/models/account_log.rb +3 -2
- data/lib/budgea_client/models/account_type.rb +3 -2
- data/lib/budgea_client/models/alert.rb +3 -2
- data/lib/budgea_client/models/auth_provider.rb +3 -2
- data/lib/budgea_client/models/category.rb +3 -2
- data/lib/budgea_client/models/certificate.rb +3 -2
- data/lib/budgea_client/models/client.rb +3 -2
- data/lib/budgea_client/models/config_log.rb +3 -2
- data/lib/budgea_client/models/connection.rb +59 -3
- data/lib/budgea_client/models/connection_log.rb +3 -2
- data/lib/budgea_client/models/connection_source.rb +3 -2
- data/lib/budgea_client/models/connector.rb +3 -2
- data/lib/budgea_client/models/connector_category.rb +3 -2
- data/lib/budgea_client/models/connector_logo.rb +3 -2
- data/lib/budgea_client/models/connector_source.rb +3 -2
- data/lib/budgea_client/models/currency.rb +3 -2
- data/lib/budgea_client/models/device.rb +3 -2
- data/lib/budgea_client/models/document.rb +3 -2
- data/lib/budgea_client/models/document_type.rb +3 -2
- data/lib/budgea_client/models/field.rb +3 -2
- data/lib/budgea_client/models/field_value.rb +3 -2
- data/lib/budgea_client/models/file.rb +3 -2
- data/lib/budgea_client/models/group.rb +3 -2
- data/lib/budgea_client/models/hash_table.rb +3 -2
- data/lib/budgea_client/models/inline_response_200.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_1.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_10.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_11.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_12.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_13.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_14.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_15.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_16.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_17.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_18.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_19.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_2.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_20.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_21.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_22.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_23.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_24.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_25.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_26.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_27.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_28.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_29.rb +21 -20
- data/lib/budgea_client/models/inline_response_200_3.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_30.rb +14 -13
- data/lib/budgea_client/models/inline_response_200_31.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_32.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_33.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_34.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_35.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_36.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_37.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_38.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_39.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_4.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_40.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_41.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_42.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_5.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_6.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_7.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_8.rb +3 -2
- data/lib/budgea_client/models/inline_response_200_9.rb +3 -2
- data/lib/budgea_client/models/investment.rb +3 -2
- data/lib/budgea_client/models/investment_value.rb +3 -2
- data/lib/budgea_client/models/keyword.rb +3 -2
- data/lib/budgea_client/models/locked_user.rb +3 -2
- data/lib/budgea_client/models/oidc_whitelist.rb +3 -2
- data/lib/budgea_client/models/order.rb +3 -2
- data/lib/budgea_client/models/pocket.rb +3 -2
- data/lib/budgea_client/models/profile.rb +3 -2
- data/lib/budgea_client/models/project.rb +3 -2
- data/lib/budgea_client/models/project_type.rb +3 -2
- data/lib/budgea_client/models/recipient.rb +3 -2
- data/lib/budgea_client/models/recipient_log.rb +3 -2
- data/lib/budgea_client/models/security.rb +3 -2
- data/lib/budgea_client/models/subscription.rb +3 -2
- data/lib/budgea_client/models/subscription_log.rb +3 -2
- data/lib/budgea_client/models/terms_of_service.rb +3 -2
- data/lib/budgea_client/models/transaction.rb +3 -2
- data/lib/budgea_client/models/transaction_information.rb +3 -2
- data/lib/budgea_client/models/transactions_cluster.rb +3 -2
- data/lib/budgea_client/models/transfer.rb +3 -2
- data/lib/budgea_client/models/transfer_log.rb +3 -2
- data/lib/budgea_client/models/user.rb +3 -2
- data/lib/budgea_client/models/user_alert.rb +3 -2
- data/lib/budgea_client/models/webhook.rb +3 -2
- data/lib/budgea_client/models/webhook_data.rb +3 -2
- data/lib/budgea_client/models/webhook_log.rb +3 -2
- data/lib/budgea_client/version.rb +2 -2
- data/original_budgea_openapi.json +1559 -1474
- data/pkg/budgea_client-5.0.3.gem +0 -0
- metadata +3 -4
- data/lib/budgea_client/api/hub_api.rb +0 -76
- data/lib/budgea_client/models/invite.rb +0 -238
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -114,7 +114,7 @@ module BudgeaClient
|
|
114
114
|
return nil unless attributes.is_a?(Hash)
|
115
115
|
self.class.swagger_types.each_pair do |key, type|
|
116
116
|
if type =~ /\AArray<(.*)>/i
|
117
|
-
# check to ensure the input is an array given that the
|
117
|
+
# check to ensure the input is an array given that the attribute
|
118
118
|
# is documented as an array but the input is not
|
119
119
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
120
120
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
@@ -210,5 +210,6 @@ module BudgeaClient
|
|
210
210
|
value
|
211
211
|
end
|
212
212
|
end
|
213
|
+
|
213
214
|
end
|
214
215
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,24 +14,24 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20020
|
17
|
-
attr_accessor :termsofservices
|
18
|
-
|
19
17
|
# total number of results
|
20
18
|
attr_accessor :total
|
21
19
|
|
20
|
+
attr_accessor :providers
|
21
|
+
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
23
|
def self.attribute_map
|
24
24
|
{
|
25
|
-
:'
|
26
|
-
:'
|
25
|
+
:'total' => :'total',
|
26
|
+
:'providers' => :'providers'
|
27
27
|
}
|
28
28
|
end
|
29
29
|
|
30
30
|
# Attribute type mapping.
|
31
31
|
def self.swagger_types
|
32
32
|
{
|
33
|
-
:'
|
34
|
-
:'
|
33
|
+
:'total' => :'Float',
|
34
|
+
:'providers' => :'Array<Connector>'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
@@ -43,23 +43,23 @@ 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?(:'termsofservices')
|
47
|
-
if (value = attributes[:'termsofservices']).is_a?(Array)
|
48
|
-
self.termsofservices = value
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
46
|
if attributes.has_key?(:'total')
|
53
47
|
self.total = attributes[:'total']
|
54
48
|
end
|
49
|
+
|
50
|
+
if attributes.has_key?(:'providers')
|
51
|
+
if (value = attributes[:'providers']).is_a?(Array)
|
52
|
+
self.providers = value
|
53
|
+
end
|
54
|
+
end
|
55
55
|
end
|
56
56
|
|
57
57
|
# Show invalid properties with the reasons. Usually used together with valid?
|
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 @providers.nil?
|
62
|
+
invalid_properties.push('invalid value for "providers", providers 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 @providers.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
|
+
total == o.total &&
|
81
|
+
providers == o.providers
|
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
|
+
[total, providers].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
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,24 +14,24 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20021
|
17
|
+
attr_accessor :termsofservices
|
18
|
+
|
17
19
|
# total number of results
|
18
20
|
attr_accessor :total
|
19
21
|
|
20
|
-
attr_accessor :users
|
21
|
-
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
23
|
def self.attribute_map
|
24
24
|
{
|
25
|
-
:'
|
26
|
-
:'
|
25
|
+
:'termsofservices' => :'termsofservices',
|
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
|
+
:'termsofservices' => :'Array<TermsOfService>',
|
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?(:'termsofservices')
|
47
|
+
if (value = attributes[:'termsofservices']).is_a?(Array)
|
48
|
+
self.termsofservices = value
|
49
|
+
end
|
48
50
|
end
|
49
51
|
|
50
|
-
if attributes.has_key?(:'
|
51
|
-
|
52
|
-
self.users = 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 @termsofservices.nil?
|
62
|
+
invalid_properties.push('invalid value for "termsofservices", termsofservices 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 @termsofservices.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
|
+
termsofservices == o.termsofservices &&
|
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
|
+
[termsofservices, 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
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,13 +17,13 @@ module BudgeaClient
|
|
17
17
|
# total number of results
|
18
18
|
attr_accessor :total
|
19
19
|
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :users
|
21
21
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
23
|
def self.attribute_map
|
24
24
|
{
|
25
25
|
:'total' => :'total',
|
26
|
-
:'
|
26
|
+
:'users' => :'users'
|
27
27
|
}
|
28
28
|
end
|
29
29
|
|
@@ -31,7 +31,7 @@ module BudgeaClient
|
|
31
31
|
def self.swagger_types
|
32
32
|
{
|
33
33
|
:'total' => :'Float',
|
34
|
-
:'
|
34
|
+
:'users' => :'Array<User>'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
@@ -47,9 +47,9 @@ module BudgeaClient
|
|
47
47
|
self.total = attributes[:'total']
|
48
48
|
end
|
49
49
|
|
50
|
-
if attributes.has_key?(:'
|
51
|
-
if (value = attributes[:'
|
52
|
-
self.
|
50
|
+
if attributes.has_key?(:'users')
|
51
|
+
if (value = attributes[:'users']).is_a?(Array)
|
52
|
+
self.users = value
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
@@ -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 @users.nil?
|
62
|
+
invalid_properties.push('invalid value for "users", users 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 @users.nil?
|
72
72
|
true
|
73
73
|
end
|
74
74
|
|
@@ -78,7 +78,7 @@ module BudgeaClient
|
|
78
78
|
return true if self.equal?(o)
|
79
79
|
self.class == o.class &&
|
80
80
|
total == o.total &&
|
81
|
-
|
81
|
+
users == o.users
|
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
|
-
[total,
|
93
|
+
[total, users].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
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,13 +17,13 @@ module BudgeaClient
|
|
17
17
|
# total number of results
|
18
18
|
attr_accessor :total
|
19
19
|
|
20
|
-
attr_accessor :
|
20
|
+
attr_accessor :accounts
|
21
21
|
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
23
|
def self.attribute_map
|
24
24
|
{
|
25
25
|
:'total' => :'total',
|
26
|
-
:'
|
26
|
+
:'accounts' => :'accounts'
|
27
27
|
}
|
28
28
|
end
|
29
29
|
|
@@ -31,7 +31,7 @@ module BudgeaClient
|
|
31
31
|
def self.swagger_types
|
32
32
|
{
|
33
33
|
:'total' => :'Float',
|
34
|
-
:'
|
34
|
+
:'accounts' => :'Array<Account>'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
@@ -47,9 +47,9 @@ module BudgeaClient
|
|
47
47
|
self.total = attributes[:'total']
|
48
48
|
end
|
49
49
|
|
50
|
-
if attributes.has_key?(:'
|
51
|
-
if (value = attributes[:'
|
52
|
-
self.
|
50
|
+
if attributes.has_key?(:'accounts')
|
51
|
+
if (value = attributes[:'accounts']).is_a?(Array)
|
52
|
+
self.accounts = value
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
@@ -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 @accounts.nil?
|
62
|
+
invalid_properties.push('invalid value for "accounts", accounts 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 @accounts.nil?
|
72
72
|
true
|
73
73
|
end
|
74
74
|
|
@@ -78,7 +78,7 @@ module BudgeaClient
|
|
78
78
|
return true if self.equal?(o)
|
79
79
|
self.class == o.class &&
|
80
80
|
total == o.total &&
|
81
|
-
|
81
|
+
accounts == o.accounts
|
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
|
-
[total,
|
93
|
+
[total, accounts].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
|
@@ -6,7 +6,7 @@
|
|
6
6
|
OpenAPI spec version: 2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.4.
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -14,24 +14,24 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20024
|
17
|
-
attr_accessor :investmentvalues
|
18
|
-
|
19
17
|
# total number of results
|
20
18
|
attr_accessor :total
|
21
19
|
|
20
|
+
attr_accessor :investments
|
21
|
+
|
22
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
23
|
def self.attribute_map
|
24
24
|
{
|
25
|
-
:'
|
26
|
-
:'
|
25
|
+
:'total' => :'total',
|
26
|
+
:'investments' => :'investments'
|
27
27
|
}
|
28
28
|
end
|
29
29
|
|
30
30
|
# Attribute type mapping.
|
31
31
|
def self.swagger_types
|
32
32
|
{
|
33
|
-
:'
|
34
|
-
:'
|
33
|
+
:'total' => :'Float',
|
34
|
+
:'investments' => :'Array<Investment>'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
@@ -43,23 +43,23 @@ 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?(:'investmentvalues')
|
47
|
-
if (value = attributes[:'investmentvalues']).is_a?(Array)
|
48
|
-
self.investmentvalues = value
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
46
|
if attributes.has_key?(:'total')
|
53
47
|
self.total = attributes[:'total']
|
54
48
|
end
|
49
|
+
|
50
|
+
if attributes.has_key?(:'investments')
|
51
|
+
if (value = attributes[:'investments']).is_a?(Array)
|
52
|
+
self.investments = value
|
53
|
+
end
|
54
|
+
end
|
55
55
|
end
|
56
56
|
|
57
57
|
# Show invalid properties with the reasons. Usually used together with valid?
|
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 @investments.nil?
|
62
|
+
invalid_properties.push('invalid value for "investments", investments 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 @investments.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
|
+
total == o.total &&
|
81
|
+
investments == o.investments
|
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
|
+
[total, investments].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
|