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
@@ -14,19 +14,24 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20032
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :transactioninformations
|
18
|
+
|
19
|
+
# total number of results
|
20
|
+
attr_accessor :total
|
18
21
|
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
23
|
def self.attribute_map
|
21
24
|
{
|
22
|
-
:'
|
25
|
+
:'transactioninformations' => :'transactioninformations',
|
26
|
+
:'total' => :'total'
|
23
27
|
}
|
24
28
|
end
|
25
29
|
|
26
30
|
# Attribute type mapping.
|
27
31
|
def self.swagger_types
|
28
32
|
{
|
29
|
-
:'
|
33
|
+
:'transactioninformations' => :'Array<TransactionInformation>',
|
34
|
+
:'total' => :'Float'
|
30
35
|
}
|
31
36
|
end
|
32
37
|
|
@@ -38,19 +43,23 @@ module BudgeaClient
|
|
38
43
|
# convert string to symbol for hash key
|
39
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
45
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
46
|
+
if attributes.has_key?(:'transactioninformations')
|
47
|
+
if (value = attributes[:'transactioninformations']).is_a?(Array)
|
48
|
+
self.transactioninformations = 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?
|
49
58
|
# @return Array for valid properties with the reasons
|
50
59
|
def list_invalid_properties
|
51
60
|
invalid_properties = Array.new
|
52
|
-
if @
|
53
|
-
invalid_properties.push('invalid value for "
|
61
|
+
if @transactioninformations.nil?
|
62
|
+
invalid_properties.push('invalid value for "transactioninformations", transactioninformations cannot be nil.')
|
54
63
|
end
|
55
64
|
|
56
65
|
invalid_properties
|
@@ -59,7 +68,7 @@ module BudgeaClient
|
|
59
68
|
# Check to see if the all the properties in the model are valid
|
60
69
|
# @return true if the model is valid
|
61
70
|
def valid?
|
62
|
-
return false if @
|
71
|
+
return false if @transactioninformations.nil?
|
63
72
|
true
|
64
73
|
end
|
65
74
|
|
@@ -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
|
-
|
80
|
+
transactioninformations == o.transactioninformations &&
|
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
|
-
[
|
93
|
+
[transactioninformations, total].hash
|
84
94
|
end
|
85
95
|
|
86
96
|
# Builds the object from hash
|
@@ -14,19 +14,24 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20033
|
17
|
-
|
17
|
+
# total number of results
|
18
|
+
attr_accessor :total
|
19
|
+
|
20
|
+
attr_accessor :transactionsclusters
|
18
21
|
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
23
|
def self.attribute_map
|
21
24
|
{
|
22
|
-
:'
|
25
|
+
:'total' => :'total',
|
26
|
+
:'transactionsclusters' => :'transactionsclusters'
|
23
27
|
}
|
24
28
|
end
|
25
29
|
|
26
30
|
# Attribute type mapping.
|
27
31
|
def self.swagger_types
|
28
32
|
{
|
29
|
-
:'
|
33
|
+
:'total' => :'Float',
|
34
|
+
:'transactionsclusters' => :'Array<TransactionsCluster>'
|
30
35
|
}
|
31
36
|
end
|
32
37
|
|
@@ -38,9 +43,13 @@ module BudgeaClient
|
|
38
43
|
# convert string to symbol for hash key
|
39
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
45
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
|
43
|
-
|
46
|
+
if attributes.has_key?(:'total')
|
47
|
+
self.total = attributes[:'total']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes.has_key?(:'transactionsclusters')
|
51
|
+
if (value = attributes[:'transactionsclusters']).is_a?(Array)
|
52
|
+
self.transactionsclusters = value
|
44
53
|
end
|
45
54
|
end
|
46
55
|
end
|
@@ -49,8 +58,8 @@ module BudgeaClient
|
|
49
58
|
# @return Array for valid properties with the reasons
|
50
59
|
def list_invalid_properties
|
51
60
|
invalid_properties = Array.new
|
52
|
-
if @
|
53
|
-
invalid_properties.push('invalid value for "
|
61
|
+
if @transactionsclusters.nil?
|
62
|
+
invalid_properties.push('invalid value for "transactionsclusters", transactionsclusters cannot be nil.')
|
54
63
|
end
|
55
64
|
|
56
65
|
invalid_properties
|
@@ -59,7 +68,7 @@ module BudgeaClient
|
|
59
68
|
# Check to see if the all the properties in the model are valid
|
60
69
|
# @return true if the model is valid
|
61
70
|
def valid?
|
62
|
-
return false if @
|
71
|
+
return false if @transactionsclusters.nil?
|
63
72
|
true
|
64
73
|
end
|
65
74
|
|
@@ -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
|
-
|
80
|
+
total == o.total &&
|
81
|
+
transactionsclusters == o.transactionsclusters
|
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
|
-
[
|
93
|
+
[total, transactionsclusters].hash
|
84
94
|
end
|
85
95
|
|
86
96
|
# Builds the object from hash
|
@@ -14,19 +14,24 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20034
|
17
|
-
|
17
|
+
# total number of results
|
18
|
+
attr_accessor :total
|
19
|
+
|
20
|
+
attr_accessor :alerts
|
18
21
|
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
23
|
def self.attribute_map
|
21
24
|
{
|
22
|
-
:'
|
25
|
+
:'total' => :'total',
|
26
|
+
:'alerts' => :'alerts'
|
23
27
|
}
|
24
28
|
end
|
25
29
|
|
26
30
|
# Attribute type mapping.
|
27
31
|
def self.swagger_types
|
28
32
|
{
|
29
|
-
:'
|
33
|
+
:'total' => :'Float',
|
34
|
+
:'alerts' => :'Array<Alert>'
|
30
35
|
}
|
31
36
|
end
|
32
37
|
|
@@ -38,9 +43,13 @@ module BudgeaClient
|
|
38
43
|
# convert string to symbol for hash key
|
39
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
45
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
|
43
|
-
|
46
|
+
if attributes.has_key?(:'total')
|
47
|
+
self.total = attributes[:'total']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes.has_key?(:'alerts')
|
51
|
+
if (value = attributes[:'alerts']).is_a?(Array)
|
52
|
+
self.alerts = value
|
44
53
|
end
|
45
54
|
end
|
46
55
|
end
|
@@ -49,8 +58,8 @@ module BudgeaClient
|
|
49
58
|
# @return Array for valid properties with the reasons
|
50
59
|
def list_invalid_properties
|
51
60
|
invalid_properties = Array.new
|
52
|
-
if @
|
53
|
-
invalid_properties.push('invalid value for "
|
61
|
+
if @alerts.nil?
|
62
|
+
invalid_properties.push('invalid value for "alerts", alerts cannot be nil.')
|
54
63
|
end
|
55
64
|
|
56
65
|
invalid_properties
|
@@ -59,7 +68,7 @@ module BudgeaClient
|
|
59
68
|
# Check to see if the all the properties in the model are valid
|
60
69
|
# @return true if the model is valid
|
61
70
|
def valid?
|
62
|
-
return false if @
|
71
|
+
return false if @alerts.nil?
|
63
72
|
true
|
64
73
|
end
|
65
74
|
|
@@ -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
|
-
|
80
|
+
total == o.total &&
|
81
|
+
alerts == o.alerts
|
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
|
-
[
|
93
|
+
[total, alerts].hash
|
84
94
|
end
|
85
95
|
|
86
96
|
# Builds the object from hash
|
@@ -14,19 +14,24 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20035
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :categorys
|
18
|
+
|
19
|
+
# total number of results
|
20
|
+
attr_accessor :total
|
18
21
|
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
23
|
def self.attribute_map
|
21
24
|
{
|
22
|
-
:'
|
25
|
+
:'categorys' => :'categorys',
|
26
|
+
:'total' => :'total'
|
23
27
|
}
|
24
28
|
end
|
25
29
|
|
26
30
|
# Attribute type mapping.
|
27
31
|
def self.swagger_types
|
28
32
|
{
|
29
|
-
:'
|
33
|
+
:'categorys' => :'Array<Category>',
|
34
|
+
:'total' => :'Float'
|
30
35
|
}
|
31
36
|
end
|
32
37
|
|
@@ -38,19 +43,23 @@ module BudgeaClient
|
|
38
43
|
# convert string to symbol for hash key
|
39
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
45
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
46
|
+
if attributes.has_key?(:'categorys')
|
47
|
+
if (value = attributes[:'categorys']).is_a?(Array)
|
48
|
+
self.categorys = 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?
|
49
58
|
# @return Array for valid properties with the reasons
|
50
59
|
def list_invalid_properties
|
51
60
|
invalid_properties = Array.new
|
52
|
-
if @
|
53
|
-
invalid_properties.push('invalid value for "
|
61
|
+
if @categorys.nil?
|
62
|
+
invalid_properties.push('invalid value for "categorys", categorys cannot be nil.')
|
54
63
|
end
|
55
64
|
|
56
65
|
invalid_properties
|
@@ -59,7 +68,7 @@ module BudgeaClient
|
|
59
68
|
# Check to see if the all the properties in the model are valid
|
60
69
|
# @return true if the model is valid
|
61
70
|
def valid?
|
62
|
-
return false if @
|
71
|
+
return false if @categorys.nil?
|
63
72
|
true
|
64
73
|
end
|
65
74
|
|
@@ -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
|
-
|
80
|
+
categorys == o.categorys &&
|
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
|
-
[
|
93
|
+
[categorys, total].hash
|
84
94
|
end
|
85
95
|
|
86
96
|
# Builds the object from hash
|
@@ -14,19 +14,24 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20036
|
17
|
-
|
17
|
+
# total number of results
|
18
|
+
attr_accessor :total
|
19
|
+
|
20
|
+
attr_accessor :devices
|
18
21
|
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
23
|
def self.attribute_map
|
21
24
|
{
|
22
|
-
:'
|
25
|
+
:'total' => :'total',
|
26
|
+
:'devices' => :'devices'
|
23
27
|
}
|
24
28
|
end
|
25
29
|
|
26
30
|
# Attribute type mapping.
|
27
31
|
def self.swagger_types
|
28
32
|
{
|
29
|
-
:'
|
33
|
+
:'total' => :'Float',
|
34
|
+
:'devices' => :'Array<Device>'
|
30
35
|
}
|
31
36
|
end
|
32
37
|
|
@@ -38,9 +43,13 @@ module BudgeaClient
|
|
38
43
|
# convert string to symbol for hash key
|
39
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
45
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
|
43
|
-
|
46
|
+
if attributes.has_key?(:'total')
|
47
|
+
self.total = attributes[:'total']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes.has_key?(:'devices')
|
51
|
+
if (value = attributes[:'devices']).is_a?(Array)
|
52
|
+
self.devices = value
|
44
53
|
end
|
45
54
|
end
|
46
55
|
end
|
@@ -49,8 +58,8 @@ module BudgeaClient
|
|
49
58
|
# @return Array for valid properties with the reasons
|
50
59
|
def list_invalid_properties
|
51
60
|
invalid_properties = Array.new
|
52
|
-
if @
|
53
|
-
invalid_properties.push('invalid value for "
|
61
|
+
if @devices.nil?
|
62
|
+
invalid_properties.push('invalid value for "devices", devices cannot be nil.')
|
54
63
|
end
|
55
64
|
|
56
65
|
invalid_properties
|
@@ -59,7 +68,7 @@ module BudgeaClient
|
|
59
68
|
# Check to see if the all the properties in the model are valid
|
60
69
|
# @return true if the model is valid
|
61
70
|
def valid?
|
62
|
-
return false if @
|
71
|
+
return false if @devices.nil?
|
63
72
|
true
|
64
73
|
end
|
65
74
|
|
@@ -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
|
-
|
80
|
+
total == o.total &&
|
81
|
+
devices == o.devices
|
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
|
-
[
|
93
|
+
[total, devices].hash
|
84
94
|
end
|
85
95
|
|
86
96
|
# Builds the object from hash
|
@@ -14,19 +14,24 @@ require 'date'
|
|
14
14
|
|
15
15
|
module BudgeaClient
|
16
16
|
class InlineResponse20037
|
17
|
-
|
17
|
+
# total number of results
|
18
|
+
attr_accessor :total
|
19
|
+
|
20
|
+
attr_accessor :profiles
|
18
21
|
|
19
22
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
23
|
def self.attribute_map
|
21
24
|
{
|
22
|
-
:'
|
25
|
+
:'total' => :'total',
|
26
|
+
:'profiles' => :'profiles'
|
23
27
|
}
|
24
28
|
end
|
25
29
|
|
26
30
|
# Attribute type mapping.
|
27
31
|
def self.swagger_types
|
28
32
|
{
|
29
|
-
:'
|
33
|
+
:'total' => :'Float',
|
34
|
+
:'profiles' => :'Array<Profile>'
|
30
35
|
}
|
31
36
|
end
|
32
37
|
|
@@ -38,9 +43,13 @@ module BudgeaClient
|
|
38
43
|
# convert string to symbol for hash key
|
39
44
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
45
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
|
43
|
-
|
46
|
+
if attributes.has_key?(:'total')
|
47
|
+
self.total = attributes[:'total']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes.has_key?(:'profiles')
|
51
|
+
if (value = attributes[:'profiles']).is_a?(Array)
|
52
|
+
self.profiles = value
|
44
53
|
end
|
45
54
|
end
|
46
55
|
end
|
@@ -49,8 +58,8 @@ module BudgeaClient
|
|
49
58
|
# @return Array for valid properties with the reasons
|
50
59
|
def list_invalid_properties
|
51
60
|
invalid_properties = Array.new
|
52
|
-
if @
|
53
|
-
invalid_properties.push('invalid value for "
|
61
|
+
if @profiles.nil?
|
62
|
+
invalid_properties.push('invalid value for "profiles", profiles cannot be nil.')
|
54
63
|
end
|
55
64
|
|
56
65
|
invalid_properties
|
@@ -59,7 +68,7 @@ module BudgeaClient
|
|
59
68
|
# Check to see if the all the properties in the model are valid
|
60
69
|
# @return true if the model is valid
|
61
70
|
def valid?
|
62
|
-
return false if @
|
71
|
+
return false if @profiles.nil?
|
63
72
|
true
|
64
73
|
end
|
65
74
|
|
@@ -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
|
-
|
80
|
+
total == o.total &&
|
81
|
+
profiles == o.profiles
|
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
|
-
[
|
93
|
+
[total, profiles].hash
|
84
94
|
end
|
85
95
|
|
86
96
|
# Builds the object from hash
|