budgea_client 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +17 -0
  4. data/Rakefile +1 -5
  5. data/budgea_openapi.json +748 -63
  6. data/docs/Account.md +2 -0
  7. data/docs/AdministrationApi.md +497 -4
  8. data/docs/AuthenticationApi.md +2 -0
  9. data/docs/BanksApi.md +165 -48
  10. data/docs/ConnectionsApi.md +14 -12
  11. data/docs/Connector.md +2 -0
  12. data/docs/DocumentsApi.md +26 -26
  13. data/docs/InlineResponse20013.md +1 -1
  14. data/docs/InlineResponse20014.md +1 -1
  15. data/docs/InlineResponse20015.md +1 -1
  16. data/docs/InlineResponse20016.md +1 -1
  17. data/docs/InlineResponse20017.md +1 -1
  18. data/docs/InlineResponse20018.md +1 -1
  19. data/docs/InlineResponse20019.md +1 -1
  20. data/docs/InlineResponse20020.md +1 -1
  21. data/docs/InlineResponse20021.md +1 -1
  22. data/docs/InlineResponse20022.md +1 -1
  23. data/docs/InlineResponse20023.md +1 -1
  24. data/docs/InlineResponse20024.md +1 -1
  25. data/docs/InlineResponse20025.md +1 -1
  26. data/docs/InlineResponse20026.md +1 -1
  27. data/docs/InlineResponse20027.md +1 -1
  28. data/docs/InlineResponse20028.md +1 -1
  29. data/docs/InlineResponse20029.md +1 -1
  30. data/docs/InlineResponse20030.md +1 -1
  31. data/docs/InlineResponse20031.md +1 -1
  32. data/docs/InlineResponse20032.md +1 -1
  33. data/docs/InlineResponse20033.md +1 -1
  34. data/docs/InlineResponse20034.md +1 -1
  35. data/docs/InlineResponse20035.md +1 -1
  36. data/docs/InlineResponse20036.md +1 -1
  37. data/docs/PFMApi.md +10 -10
  38. data/docs/ProvidersApi.md +38 -38
  39. data/docs/TermsApi.md +4 -4
  40. data/docs/Transaction.md +1 -1
  41. data/docs/TransfersApi.md +43 -25
  42. data/docs/UsersManagementApi.md +4 -4
  43. data/docs/WealthApi.md +18 -18
  44. data/docs/Webhook.md +2 -0
  45. data/lib/budgea_client/api/administration_api.rb +506 -6
  46. data/lib/budgea_client/api/authentication_api.rb +3 -0
  47. data/lib/budgea_client/api/banks_api.rb +183 -72
  48. data/lib/budgea_client/api/connections_api.rb +21 -18
  49. data/lib/budgea_client/api/documents_api.rb +39 -39
  50. data/lib/budgea_client/api/pfm_api.rb +15 -15
  51. data/lib/budgea_client/api/providers_api.rb +57 -57
  52. data/lib/budgea_client/api/terms_api.rb +6 -6
  53. data/lib/budgea_client/api/transfers_api.rb +63 -36
  54. data/lib/budgea_client/api/users_management_api.rb +6 -6
  55. data/lib/budgea_client/api/wealth_api.rb +27 -27
  56. data/lib/budgea_client/models/account.rb +24 -4
  57. data/lib/budgea_client/models/connector.rb +26 -1
  58. data/lib/budgea_client/models/inline_response_200_13.rb +11 -11
  59. data/lib/budgea_client/models/inline_response_200_14.rb +11 -11
  60. data/lib/budgea_client/models/inline_response_200_15.rb +11 -11
  61. data/lib/budgea_client/models/inline_response_200_16.rb +11 -11
  62. data/lib/budgea_client/models/inline_response_200_17.rb +11 -11
  63. data/lib/budgea_client/models/inline_response_200_18.rb +11 -11
  64. data/lib/budgea_client/models/inline_response_200_19.rb +11 -11
  65. data/lib/budgea_client/models/inline_response_200_20.rb +11 -11
  66. data/lib/budgea_client/models/inline_response_200_21.rb +11 -11
  67. data/lib/budgea_client/models/inline_response_200_22.rb +11 -11
  68. data/lib/budgea_client/models/inline_response_200_23.rb +11 -11
  69. data/lib/budgea_client/models/inline_response_200_24.rb +11 -11
  70. data/lib/budgea_client/models/inline_response_200_25.rb +11 -11
  71. data/lib/budgea_client/models/inline_response_200_26.rb +11 -11
  72. data/lib/budgea_client/models/inline_response_200_27.rb +11 -11
  73. data/lib/budgea_client/models/inline_response_200_28.rb +11 -11
  74. data/lib/budgea_client/models/inline_response_200_29.rb +11 -11
  75. data/lib/budgea_client/models/inline_response_200_30.rb +11 -11
  76. data/lib/budgea_client/models/inline_response_200_31.rb +11 -11
  77. data/lib/budgea_client/models/inline_response_200_32.rb +11 -11
  78. data/lib/budgea_client/models/inline_response_200_33.rb +11 -11
  79. data/lib/budgea_client/models/inline_response_200_34.rb +11 -11
  80. data/lib/budgea_client/models/inline_response_200_35.rb +11 -11
  81. data/lib/budgea_client/models/inline_response_200_36.rb +11 -11
  82. data/lib/budgea_client/models/transaction.rb +11 -18
  83. data/lib/budgea_client/models/webhook.rb +24 -4
  84. data/lib/budgea_client/version.rb +1 -1
  85. data/lib/budgea_client.rb +7 -0
  86. data/original_budgea_openapi.json +771 -142
  87. data/pkg/budgea_client-2.0.1.gem +0 -0
  88. metadata +4 -3
@@ -14,19 +14,19 @@ require 'date'
14
14
 
15
15
  module BudgeaClient
16
16
  class InlineResponse20016
17
- attr_accessor :connectionlogs
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
- :'connectionlogs' => :'connectionlogs'
22
+ :'securities' => :'securities'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'connectionlogs' => :'Array<ConnectionLog>'
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?(:'connectionlogs')
42
- if (value = attributes[:'connectionlogs']).is_a?(Array)
43
- self.connectionlogs = value
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 @connectionlogs.nil?
53
- invalid_properties.push('invalid value for "connectionlogs", connectionlogs cannot be nil.')
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 @connectionlogs.nil?
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
- connectionlogs == o.connectionlogs
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
- [connectionlogs].hash
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 :providers
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
- :'providers' => :'providers'
22
+ :'connectionlogs' => :'connectionlogs'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'providers' => :'Array<Connector>'
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?(:'providers')
42
- if (value = attributes[:'providers']).is_a?(Array)
43
- self.providers = value
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 @providers.nil?
53
- invalid_properties.push('invalid value for "providers", providers cannot be nil.')
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 @providers.nil?
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
- providers == o.providers
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
- [providers].hash
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 :termsofservices
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
- :'termsofservices' => :'termsofservices'
22
+ :'providers' => :'providers'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'termsofservices' => :'Array<TermsOfService>'
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?(:'termsofservices')
42
- if (value = attributes[:'termsofservices']).is_a?(Array)
43
- self.termsofservices = value
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 @termsofservices.nil?
53
- invalid_properties.push('invalid value for "termsofservices", termsofservices cannot be nil.')
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 @termsofservices.nil?
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
- termsofservices == o.termsofservices
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
- [termsofservices].hash
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 :users
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
- :'users' => :'users'
22
+ :'termsofservices' => :'termsofservices'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'users' => :'Array<User>'
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?(:'users')
42
- if (value = attributes[:'users']).is_a?(Array)
43
- self.users = value
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 @users.nil?
53
- invalid_properties.push('invalid value for "users", users cannot be nil.')
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 @users.nil?
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
- users == o.users
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
- [users].hash
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 :accounts
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
- :'accounts' => :'accounts'
22
+ :'users' => :'users'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'accounts' => :'Array<Account>'
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?(:'accounts')
42
- if (value = attributes[:'accounts']).is_a?(Array)
43
- self.accounts = value
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 @accounts.nil?
53
- invalid_properties.push('invalid value for "accounts", accounts cannot be nil.')
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 @accounts.nil?
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
- accounts == o.accounts
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
- [accounts].hash
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 :investments
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
- :'investments' => :'investments'
22
+ :'accounts' => :'accounts'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'investments' => :'Array<Investment>'
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?(:'investments')
42
- if (value = attributes[:'investments']).is_a?(Array)
43
- self.investments = value
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 @investments.nil?
53
- invalid_properties.push('invalid value for "investments", investments cannot be nil.')
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 @investments.nil?
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
- investments == o.investments
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
- [investments].hash
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 :investmentvalues
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
- :'investmentvalues' => :'investmentvalues'
22
+ :'investments' => :'investments'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'investmentvalues' => :'Array<InvestmentValue>'
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?(:'investmentvalues')
42
- if (value = attributes[:'investmentvalues']).is_a?(Array)
43
- self.investmentvalues = value
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 @investmentvalues.nil?
53
- invalid_properties.push('invalid value for "investmentvalues", investmentvalues cannot be nil.')
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 @investmentvalues.nil?
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
- investmentvalues == o.investmentvalues
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
- [investmentvalues].hash
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 :accountlogs
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
- :'accountlogs' => :'accountlogs'
22
+ :'investmentvalues' => :'investmentvalues'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'accountlogs' => :'Array<AccountLog>'
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?(:'accountlogs')
42
- if (value = attributes[:'accountlogs']).is_a?(Array)
43
- self.accountlogs = value
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 @accountlogs.nil?
53
- invalid_properties.push('invalid value for "accountlogs", accountlogs cannot be nil.')
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 @accountlogs.nil?
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
- accountlogs == o.accountlogs
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
- [accountlogs].hash
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 :useralerts
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
- :'useralerts' => :'useralerts'
22
+ :'accountlogs' => :'accountlogs'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'useralerts' => :'Array<UserAlert>'
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?(:'useralerts')
42
- if (value = attributes[:'useralerts']).is_a?(Array)
43
- self.useralerts = value
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 @useralerts.nil?
53
- invalid_properties.push('invalid value for "useralerts", useralerts cannot be nil.')
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 @useralerts.nil?
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
- useralerts == o.useralerts
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
- [useralerts].hash
83
+ [accountlogs].hash
84
84
  end
85
85
 
86
86
  # Builds the object from hash