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
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20016
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :securities
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'securities' => :'securities'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'securities' => :'Array<Security>'
|
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?(:'securities')
|
42
|
+
if (value = attributes[:'securities']).is_a?(Array)
|
43
|
+
self.securities = 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 @securities.nil?
|
53
|
+
invalid_properties.push('invalid value for "securities", securities 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 @securities.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
|
+
securities == o.securities
|
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
|
+
[securities].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 InlineResponse20017
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :connectionlogs
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'connectionlogs' => :'connectionlogs'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'connectionlogs' => :'Array<ConnectionLog>'
|
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?(:'connectionlogs')
|
42
|
+
if (value = attributes[:'connectionlogs']).is_a?(Array)
|
43
|
+
self.connectionlogs = 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 @connectionlogs.nil?
|
53
|
+
invalid_properties.push('invalid value for "connectionlogs", connectionlogs 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 @connectionlogs.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
|
+
connectionlogs == o.connectionlogs
|
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
|
+
[connectionlogs].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 InlineResponse20018
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :providers
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'providers' => :'providers'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'providers' => :'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?(:'providers')
|
42
|
+
if (value = attributes[:'providers']).is_a?(Array)
|
43
|
+
self.providers = 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 @providers.nil?
|
53
|
+
invalid_properties.push('invalid value for "providers", providers 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 @providers.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
|
+
providers == o.providers
|
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
|
+
[providers].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 InlineResponse20019
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :termsofservices
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'termsofservices' => :'termsofservices'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'termsofservices' => :'Array<TermsOfService>'
|
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?(:'termsofservices')
|
42
|
+
if (value = attributes[:'termsofservices']).is_a?(Array)
|
43
|
+
self.termsofservices = 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 @termsofservices.nil?
|
53
|
+
invalid_properties.push('invalid value for "termsofservices", termsofservices 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 @termsofservices.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
|
+
termsofservices == o.termsofservices
|
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
|
+
[termsofservices].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 InlineResponse20020
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :users
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'users' => :'users'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'users' => :'Array<User>'
|
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?(:'users')
|
42
|
+
if (value = attributes[:'users']).is_a?(Array)
|
43
|
+
self.users = 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 @users.nil?
|
53
|
+
invalid_properties.push('invalid value for "users", users 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 @users.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
|
+
users == o.users
|
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
|
+
[users].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 InlineResponse20021
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :accounts
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'accounts' => :'accounts'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'accounts' => :'Array<Account>'
|
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?(:'accounts')
|
42
|
+
if (value = attributes[:'accounts']).is_a?(Array)
|
43
|
+
self.accounts = 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 @accounts.nil?
|
53
|
+
invalid_properties.push('invalid value for "accounts", accounts 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 @accounts.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
|
+
accounts == o.accounts
|
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
|
+
[accounts].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 InlineResponse20022
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :investments
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'investments' => :'investments'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'investments' => :'Array<Investment>'
|
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?(:'investments')
|
42
|
+
if (value = attributes[:'investments']).is_a?(Array)
|
43
|
+
self.investments = 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 @investments.nil?
|
53
|
+
invalid_properties.push('invalid value for "investments", investments 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 @investments.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
|
+
investments == o.investments
|
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
|
+
[investments].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 InlineResponse20023
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :investmentvalues
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'investmentvalues' => :'investmentvalues'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'investmentvalues' => :'Array<InvestmentValue>'
|
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?(:'investmentvalues')
|
42
|
+
if (value = attributes[:'investmentvalues']).is_a?(Array)
|
43
|
+
self.investmentvalues = 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 @investmentvalues.nil?
|
53
|
+
invalid_properties.push('invalid value for "investmentvalues", investmentvalues 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 @investmentvalues.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
|
+
investmentvalues == o.investmentvalues
|
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
|
+
[investmentvalues].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 InlineResponse20024
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :accountlogs
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'accountlogs' => :'accountlogs'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'accountlogs' => :'Array<AccountLog>'
|
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?(:'accountlogs')
|
42
|
+
if (value = attributes[:'accountlogs']).is_a?(Array)
|
43
|
+
self.accountlogs = 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 @accountlogs.nil?
|
53
|
+
invalid_properties.push('invalid value for "accountlogs", accountlogs 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 @accountlogs.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
|
+
accountlogs == o.accountlogs
|
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
|
+
[accountlogs].hash
|
84
84
|
end
|
85
85
|
|
86
86
|
# Builds the object from hash
|