budgea_client 5.0.1 → 5.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +1 -1
  4. data/README.md +19 -6
  5. data/budgea_openapi.json +1684 -1370
  6. data/config.json +1 -1
  7. data/docs/Account.md +1 -0
  8. data/docs/AdministrationApi.md +48 -48
  9. data/docs/AuthenticationApi.md +9 -9
  10. data/docs/BanksApi.md +396 -149
  11. data/docs/Connection.md +3 -0
  12. data/docs/ConnectionsApi.md +281 -34
  13. data/docs/DocumentsApi.md +48 -48
  14. data/docs/InlineResponse20016.md +1 -1
  15. data/docs/InlineResponse20017.md +1 -1
  16. data/docs/InlineResponse20018.md +1 -1
  17. data/docs/InlineResponse20019.md +1 -1
  18. data/docs/InlineResponse20020.md +1 -1
  19. data/docs/InlineResponse20021.md +1 -1
  20. data/docs/InlineResponse20022.md +1 -1
  21. data/docs/InlineResponse20023.md +1 -1
  22. data/docs/InlineResponse20024.md +1 -1
  23. data/docs/InlineResponse20025.md +1 -1
  24. data/docs/InlineResponse20026.md +1 -1
  25. data/docs/InlineResponse20027.md +1 -1
  26. data/docs/InlineResponse20028.md +1 -1
  27. data/docs/InlineResponse20029.md +1 -1
  28. data/docs/InlineResponse20030.md +1 -1
  29. data/docs/OIDCApi.md +3 -3
  30. data/docs/PFMApi.md +42 -42
  31. data/docs/ProvidersApi.md +347 -100
  32. data/docs/RecipientsApi.md +4 -4
  33. data/docs/TermsApi.md +74 -9
  34. data/docs/TransferApi.md +1 -1
  35. data/docs/TransfersApi.md +63 -63
  36. data/docs/UsersManagementApi.md +13 -13
  37. data/docs/WealthApi.md +75 -59
  38. data/lib/budgea_client/api/administration_api.rb +49 -49
  39. data/lib/budgea_client/api/authentication_api.rb +9 -9
  40. data/lib/budgea_client/api/banks_api.rb +409 -160
  41. data/lib/budgea_client/api/connections_api.rb +288 -39
  42. data/lib/budgea_client/api/documents_api.rb +49 -49
  43. data/lib/budgea_client/api/oidc_api.rb +3 -3
  44. data/lib/budgea_client/api/pfm_api.rb +44 -44
  45. data/lib/budgea_client/api/providers_api.rb +355 -106
  46. data/lib/budgea_client/api/recipients_api.rb +4 -4
  47. data/lib/budgea_client/api/terms_api.rb +77 -11
  48. data/lib/budgea_client/api/transfer_api.rb +1 -1
  49. data/lib/budgea_client/api/transfers_api.rb +75 -75
  50. data/lib/budgea_client/api/users_management_api.rb +14 -14
  51. data/lib/budgea_client/api/wealth_api.rb +99 -75
  52. data/lib/budgea_client/api_client.rb +2 -0
  53. data/lib/budgea_client/models/access.rb +2 -1
  54. data/lib/budgea_client/models/account.rb +14 -2
  55. data/lib/budgea_client/models/account_log.rb +2 -1
  56. data/lib/budgea_client/models/account_type.rb +2 -1
  57. data/lib/budgea_client/models/alert.rb +2 -1
  58. data/lib/budgea_client/models/auth_provider.rb +2 -1
  59. data/lib/budgea_client/models/category.rb +2 -1
  60. data/lib/budgea_client/models/certificate.rb +2 -1
  61. data/lib/budgea_client/models/client.rb +2 -1
  62. data/lib/budgea_client/models/config_log.rb +2 -1
  63. data/lib/budgea_client/models/connection.rb +70 -5
  64. data/lib/budgea_client/models/connection_log.rb +2 -1
  65. data/lib/budgea_client/models/connection_source.rb +2 -1
  66. data/lib/budgea_client/models/connector.rb +2 -1
  67. data/lib/budgea_client/models/connector_category.rb +2 -1
  68. data/lib/budgea_client/models/connector_logo.rb +2 -1
  69. data/lib/budgea_client/models/connector_source.rb +2 -1
  70. data/lib/budgea_client/models/currency.rb +2 -1
  71. data/lib/budgea_client/models/device.rb +2 -1
  72. data/lib/budgea_client/models/document.rb +2 -1
  73. data/lib/budgea_client/models/document_type.rb +2 -1
  74. data/lib/budgea_client/models/field.rb +2 -1
  75. data/lib/budgea_client/models/field_value.rb +2 -1
  76. data/lib/budgea_client/models/file.rb +2 -1
  77. data/lib/budgea_client/models/group.rb +2 -1
  78. data/lib/budgea_client/models/hash_table.rb +2 -1
  79. data/lib/budgea_client/models/inline_response_200.rb +2 -1
  80. data/lib/budgea_client/models/inline_response_200_1.rb +2 -1
  81. data/lib/budgea_client/models/inline_response_200_10.rb +2 -1
  82. data/lib/budgea_client/models/inline_response_200_11.rb +2 -1
  83. data/lib/budgea_client/models/inline_response_200_12.rb +2 -1
  84. data/lib/budgea_client/models/inline_response_200_13.rb +2 -1
  85. data/lib/budgea_client/models/inline_response_200_14.rb +2 -1
  86. data/lib/budgea_client/models/inline_response_200_15.rb +2 -1
  87. data/lib/budgea_client/models/inline_response_200_16.rb +13 -12
  88. data/lib/budgea_client/models/inline_response_200_17.rb +20 -19
  89. data/lib/budgea_client/models/inline_response_200_18.rb +20 -19
  90. data/lib/budgea_client/models/inline_response_200_19.rb +20 -19
  91. data/lib/budgea_client/models/inline_response_200_2.rb +2 -1
  92. data/lib/budgea_client/models/inline_response_200_20.rb +20 -19
  93. data/lib/budgea_client/models/inline_response_200_21.rb +20 -19
  94. data/lib/budgea_client/models/inline_response_200_22.rb +13 -12
  95. data/lib/budgea_client/models/inline_response_200_23.rb +13 -12
  96. data/lib/budgea_client/models/inline_response_200_24.rb +20 -19
  97. data/lib/budgea_client/models/inline_response_200_25.rb +20 -19
  98. data/lib/budgea_client/models/inline_response_200_26.rb +13 -12
  99. data/lib/budgea_client/models/inline_response_200_27.rb +13 -12
  100. data/lib/budgea_client/models/inline_response_200_28.rb +13 -12
  101. data/lib/budgea_client/models/inline_response_200_29.rb +20 -19
  102. data/lib/budgea_client/models/inline_response_200_3.rb +2 -1
  103. data/lib/budgea_client/models/inline_response_200_30.rb +13 -12
  104. data/lib/budgea_client/models/inline_response_200_31.rb +2 -1
  105. data/lib/budgea_client/models/inline_response_200_32.rb +2 -1
  106. data/lib/budgea_client/models/inline_response_200_33.rb +2 -1
  107. data/lib/budgea_client/models/inline_response_200_34.rb +2 -1
  108. data/lib/budgea_client/models/inline_response_200_35.rb +2 -1
  109. data/lib/budgea_client/models/inline_response_200_36.rb +2 -1
  110. data/lib/budgea_client/models/inline_response_200_37.rb +2 -1
  111. data/lib/budgea_client/models/inline_response_200_38.rb +2 -1
  112. data/lib/budgea_client/models/inline_response_200_39.rb +2 -1
  113. data/lib/budgea_client/models/inline_response_200_4.rb +2 -1
  114. data/lib/budgea_client/models/inline_response_200_40.rb +2 -1
  115. data/lib/budgea_client/models/inline_response_200_41.rb +2 -1
  116. data/lib/budgea_client/models/inline_response_200_42.rb +2 -1
  117. data/lib/budgea_client/models/inline_response_200_5.rb +2 -1
  118. data/lib/budgea_client/models/inline_response_200_6.rb +2 -1
  119. data/lib/budgea_client/models/inline_response_200_7.rb +2 -1
  120. data/lib/budgea_client/models/inline_response_200_8.rb +2 -1
  121. data/lib/budgea_client/models/inline_response_200_9.rb +2 -1
  122. data/lib/budgea_client/models/investment.rb +2 -1
  123. data/lib/budgea_client/models/investment_value.rb +2 -1
  124. data/lib/budgea_client/models/keyword.rb +2 -1
  125. data/lib/budgea_client/models/locked_user.rb +2 -1
  126. data/lib/budgea_client/models/oidc_whitelist.rb +2 -1
  127. data/lib/budgea_client/models/order.rb +2 -1
  128. data/lib/budgea_client/models/pocket.rb +2 -1
  129. data/lib/budgea_client/models/profile.rb +2 -1
  130. data/lib/budgea_client/models/project.rb +2 -1
  131. data/lib/budgea_client/models/project_type.rb +2 -1
  132. data/lib/budgea_client/models/recipient.rb +2 -1
  133. data/lib/budgea_client/models/recipient_log.rb +2 -1
  134. data/lib/budgea_client/models/security.rb +2 -1
  135. data/lib/budgea_client/models/subscription.rb +2 -1
  136. data/lib/budgea_client/models/subscription_log.rb +2 -1
  137. data/lib/budgea_client/models/terms_of_service.rb +2 -1
  138. data/lib/budgea_client/models/transaction.rb +2 -1
  139. data/lib/budgea_client/models/transaction_information.rb +2 -1
  140. data/lib/budgea_client/models/transactions_cluster.rb +2 -1
  141. data/lib/budgea_client/models/transfer.rb +2 -1
  142. data/lib/budgea_client/models/transfer_log.rb +2 -1
  143. data/lib/budgea_client/models/user.rb +2 -1
  144. data/lib/budgea_client/models/user_alert.rb +2 -1
  145. data/lib/budgea_client/models/webhook.rb +2 -1
  146. data/lib/budgea_client/models/webhook_data.rb +2 -1
  147. data/lib/budgea_client/models/webhook_log.rb +2 -1
  148. data/lib/budgea_client/version.rb +1 -1
  149. data/original_budgea_openapi.json +1559 -1474
  150. data/pkg/budgea_client-5.1.1.gem +0 -0
  151. metadata +4 -7
  152. data/pkg/budgea_client-2.0.0.gem +0 -0
  153. data/pkg/budgea_client-3.0.1.gem +0 -0
  154. data/pkg/budgea_client-4.0.0.gem +0 -0
  155. data/pkg/budgea_client-5.0.0.gem +0 -0
@@ -17,13 +17,13 @@ module BudgeaClient
17
17
  # total number of results
18
18
  attr_accessor :total
19
19
 
20
- attr_accessor :investments
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
- :'investments' => :'investments'
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
- :'investments' => :'Array<Investment>'
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?(:'investments')
51
- if (value = attributes[:'investments']).is_a?(Array)
52
- self.investments = value
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 @investments.nil?
62
- invalid_properties.push('invalid value for "investments", investments cannot be nil.')
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 @investments.nil?
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
- investments == o.investments
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, investments].hash
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 the attribute
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
@@ -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
- :'investmentvalues' => :'investmentvalues',
26
- :'total' => :'total'
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
- :'investmentvalues' => :'Array<InvestmentValue>',
34
- :'total' => :'Float'
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 @investmentvalues.nil?
62
- invalid_properties.push('invalid value for "investmentvalues", investmentvalues cannot be nil.')
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 @investmentvalues.nil?
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
- investmentvalues == o.investmentvalues &&
81
- total == o.total
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
- [investmentvalues, total].hash
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 the attribute
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
@@ -14,24 +14,24 @@ require 'date'
14
14
 
15
15
  module BudgeaClient
16
16
  class InlineResponse20025
17
+ attr_accessor :investmentvalues
18
+
17
19
  # total number of results
18
20
  attr_accessor :total
19
21
 
20
- attr_accessor :pockets
21
-
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'total' => :'total',
26
- :'pockets' => :'pockets'
25
+ :'investmentvalues' => :'investmentvalues',
26
+ :'total' => :'total'
27
27
  }
28
28
  end
29
29
 
30
30
  # Attribute type mapping.
31
31
  def self.swagger_types
32
32
  {
33
- :'total' => :'Float',
34
- :'pockets' => :'Array<Pocket>'
33
+ :'investmentvalues' => :'Array<InvestmentValue>',
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?(:'total')
47
- self.total = attributes[:'total']
46
+ if attributes.has_key?(:'investmentvalues')
47
+ if (value = attributes[:'investmentvalues']).is_a?(Array)
48
+ self.investmentvalues = value
49
+ end
48
50
  end
49
51
 
50
- if attributes.has_key?(:'pockets')
51
- if (value = attributes[:'pockets']).is_a?(Array)
52
- self.pockets = 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 @pockets.nil?
62
- invalid_properties.push('invalid value for "pockets", pockets cannot be nil.')
61
+ if @investmentvalues.nil?
62
+ invalid_properties.push('invalid value for "investmentvalues", investmentvalues 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 @pockets.nil?
71
+ return false if @investmentvalues.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
- total == o.total &&
81
- pockets == o.pockets
80
+ investmentvalues == o.investmentvalues &&
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
- [total, pockets].hash
93
+ [investmentvalues, 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 the attribute
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
@@ -17,13 +17,13 @@ module BudgeaClient
17
17
  # total number of results
18
18
  attr_accessor :total
19
19
 
20
- attr_accessor :accountlogs
20
+ attr_accessor :pockets
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
- :'accountlogs' => :'accountlogs'
26
+ :'pockets' => :'pockets'
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
- :'accountlogs' => :'Array<AccountLog>'
34
+ :'pockets' => :'Array<Pocket>'
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?(:'accountlogs')
51
- if (value = attributes[:'accountlogs']).is_a?(Array)
52
- self.accountlogs = value
50
+ if attributes.has_key?(:'pockets')
51
+ if (value = attributes[:'pockets']).is_a?(Array)
52
+ self.pockets = 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 @accountlogs.nil?
62
- invalid_properties.push('invalid value for "accountlogs", accountlogs cannot be nil.')
61
+ if @pockets.nil?
62
+ invalid_properties.push('invalid value for "pockets", pockets 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 @accountlogs.nil?
71
+ return false if @pockets.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
- accountlogs == o.accountlogs
81
+ pockets == o.pockets
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, accountlogs].hash
93
+ [total, pockets].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 the attribute
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
@@ -17,13 +17,13 @@ module BudgeaClient
17
17
  # total number of results
18
18
  attr_accessor :total
19
19
 
20
- attr_accessor :useralerts
20
+ attr_accessor :accountlogs
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
- :'useralerts' => :'useralerts'
26
+ :'accountlogs' => :'accountlogs'
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
- :'useralerts' => :'Array<UserAlert>'
34
+ :'accountlogs' => :'Array<AccountLog>'
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?(:'useralerts')
51
- if (value = attributes[:'useralerts']).is_a?(Array)
52
- self.useralerts = value
50
+ if attributes.has_key?(:'accountlogs')
51
+ if (value = attributes[:'accountlogs']).is_a?(Array)
52
+ self.accountlogs = 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 @useralerts.nil?
62
- invalid_properties.push('invalid value for "useralerts", useralerts cannot be nil.')
61
+ if @accountlogs.nil?
62
+ invalid_properties.push('invalid value for "accountlogs", accountlogs 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 @useralerts.nil?
71
+ return false if @accountlogs.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
- useralerts == o.useralerts
81
+ accountlogs == o.accountlogs
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, useralerts].hash
93
+ [total, accountlogs].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 the attribute
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