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 InlineResponse20025
17
- attr_accessor :recipients
17
+ attr_accessor :useralerts
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'recipients' => :'recipients'
22
+ :'useralerts' => :'useralerts'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'recipients' => :'Array<Recipient>'
29
+ :'useralerts' => :'Array<UserAlert>'
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?(:'recipients')
42
- if (value = attributes[:'recipients']).is_a?(Array)
43
- self.recipients = value
41
+ if attributes.has_key?(:'useralerts')
42
+ if (value = attributes[:'useralerts']).is_a?(Array)
43
+ self.useralerts = 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 @recipients.nil?
53
- invalid_properties.push('invalid value for "recipients", recipients cannot be nil.')
52
+ if @useralerts.nil?
53
+ invalid_properties.push('invalid value for "useralerts", useralerts 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 @recipients.nil?
62
+ return false if @useralerts.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
- recipients == o.recipients
71
+ useralerts == o.useralerts
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
- [recipients].hash
83
+ [useralerts].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 InlineResponse20026
17
- attr_accessor :transfers
17
+ attr_accessor :recipients
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'transfers' => :'transfers'
22
+ :'recipients' => :'recipients'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'transfers' => :'Array<Transfer>'
29
+ :'recipients' => :'Array<Recipient>'
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?(:'transfers')
42
- if (value = attributes[:'transfers']).is_a?(Array)
43
- self.transfers = value
41
+ if attributes.has_key?(:'recipients')
42
+ if (value = attributes[:'recipients']).is_a?(Array)
43
+ self.recipients = 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 @transfers.nil?
53
- invalid_properties.push('invalid value for "transfers", transfers cannot be nil.')
52
+ if @recipients.nil?
53
+ invalid_properties.push('invalid value for "recipients", recipients 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 @transfers.nil?
62
+ return false if @recipients.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
- transfers == o.transfers
71
+ recipients == o.recipients
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
- [transfers].hash
83
+ [recipients].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 InlineResponse20027
17
- attr_accessor :transactions
17
+ attr_accessor :transfers
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'transactions' => :'transactions'
22
+ :'transfers' => :'transfers'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'transactions' => :'Array<Transaction>'
29
+ :'transfers' => :'Array<Transfer>'
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?(:'transactions')
42
- if (value = attributes[:'transactions']).is_a?(Array)
43
- self.transactions = value
41
+ if attributes.has_key?(:'transfers')
42
+ if (value = attributes[:'transfers']).is_a?(Array)
43
+ self.transfers = 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 @transactions.nil?
53
- invalid_properties.push('invalid value for "transactions", transactions cannot be nil.')
52
+ if @transfers.nil?
53
+ invalid_properties.push('invalid value for "transfers", transfers 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 @transactions.nil?
62
+ return false if @transfers.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
- transactions == o.transactions
71
+ transfers == o.transfers
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
- [transactions].hash
83
+ [transfers].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 InlineResponse20028
17
- attr_accessor :documents
17
+ attr_accessor :transactions
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'documents' => :'documents'
22
+ :'transactions' => :'transactions'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'documents' => :'Array<Document>'
29
+ :'transactions' => :'Array<Transaction>'
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?(:'documents')
42
- if (value = attributes[:'documents']).is_a?(Array)
43
- self.documents = value
41
+ if attributes.has_key?(:'transactions')
42
+ if (value = attributes[:'transactions']).is_a?(Array)
43
+ self.transactions = 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 @documents.nil?
53
- invalid_properties.push('invalid value for "documents", documents cannot be nil.')
52
+ if @transactions.nil?
53
+ invalid_properties.push('invalid value for "transactions", transactions 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 @documents.nil?
62
+ return false if @transactions.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
- documents == o.documents
71
+ transactions == o.transactions
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
- [documents].hash
83
+ [transactions].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 InlineResponse20029
17
- attr_accessor :transactioninformations
17
+ attr_accessor :documents
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'transactioninformations' => :'transactioninformations'
22
+ :'documents' => :'documents'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'transactioninformations' => :'Array<TransactionInformation>'
29
+ :'documents' => :'Array<Document>'
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?(:'transactioninformations')
42
- if (value = attributes[:'transactioninformations']).is_a?(Array)
43
- self.transactioninformations = value
41
+ if attributes.has_key?(:'documents')
42
+ if (value = attributes[:'documents']).is_a?(Array)
43
+ self.documents = 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 @transactioninformations.nil?
53
- invalid_properties.push('invalid value for "transactioninformations", transactioninformations cannot be nil.')
52
+ if @documents.nil?
53
+ invalid_properties.push('invalid value for "documents", documents 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 @transactioninformations.nil?
62
+ return false if @documents.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
- transactioninformations == o.transactioninformations
71
+ documents == o.documents
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
- [transactioninformations].hash
83
+ [documents].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 InlineResponse20030
17
- attr_accessor :transactionsclusters
17
+ attr_accessor :transactioninformations
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'transactionsclusters' => :'transactionsclusters'
22
+ :'transactioninformations' => :'transactioninformations'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'transactionsclusters' => :'Array<TransactionsCluster>'
29
+ :'transactioninformations' => :'Array<TransactionInformation>'
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?(:'transactionsclusters')
42
- if (value = attributes[:'transactionsclusters']).is_a?(Array)
43
- self.transactionsclusters = value
41
+ if attributes.has_key?(:'transactioninformations')
42
+ if (value = attributes[:'transactioninformations']).is_a?(Array)
43
+ self.transactioninformations = 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 @transactionsclusters.nil?
53
- invalid_properties.push('invalid value for "transactionsclusters", transactionsclusters cannot be nil.')
52
+ if @transactioninformations.nil?
53
+ invalid_properties.push('invalid value for "transactioninformations", transactioninformations 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 @transactionsclusters.nil?
62
+ return false if @transactioninformations.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
- transactionsclusters == o.transactionsclusters
71
+ transactioninformations == o.transactioninformations
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
- [transactionsclusters].hash
83
+ [transactioninformations].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 InlineResponse20031
17
- attr_accessor :alerts
17
+ attr_accessor :transactionsclusters
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'alerts' => :'alerts'
22
+ :'transactionsclusters' => :'transactionsclusters'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'alerts' => :'Array<Alert>'
29
+ :'transactionsclusters' => :'Array<TransactionsCluster>'
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?(:'alerts')
42
- if (value = attributes[:'alerts']).is_a?(Array)
43
- self.alerts = value
41
+ if attributes.has_key?(:'transactionsclusters')
42
+ if (value = attributes[:'transactionsclusters']).is_a?(Array)
43
+ self.transactionsclusters = 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 @alerts.nil?
53
- invalid_properties.push('invalid value for "alerts", alerts cannot be nil.')
52
+ if @transactionsclusters.nil?
53
+ invalid_properties.push('invalid value for "transactionsclusters", transactionsclusters 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 @alerts.nil?
62
+ return false if @transactionsclusters.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
- alerts == o.alerts
71
+ transactionsclusters == o.transactionsclusters
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
- [alerts].hash
83
+ [transactionsclusters].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 InlineResponse20032
17
- attr_accessor :categorys
17
+ attr_accessor :alerts
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'categorys' => :'categorys'
22
+ :'alerts' => :'alerts'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'categorys' => :'Array<Category>'
29
+ :'alerts' => :'Array<Alert>'
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?(:'categorys')
42
- if (value = attributes[:'categorys']).is_a?(Array)
43
- self.categorys = value
41
+ if attributes.has_key?(:'alerts')
42
+ if (value = attributes[:'alerts']).is_a?(Array)
43
+ self.alerts = 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 @categorys.nil?
53
- invalid_properties.push('invalid value for "categorys", categorys cannot be nil.')
52
+ if @alerts.nil?
53
+ invalid_properties.push('invalid value for "alerts", alerts 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 @categorys.nil?
62
+ return false if @alerts.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
- categorys == o.categorys
71
+ alerts == o.alerts
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
- [categorys].hash
83
+ [alerts].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 InlineResponse20033
17
- attr_accessor :devices
17
+ attr_accessor :categorys
18
18
 
19
19
  # Attribute mapping from ruby-style variable name to JSON key.
20
20
  def self.attribute_map
21
21
  {
22
- :'devices' => :'devices'
22
+ :'categorys' => :'categorys'
23
23
  }
24
24
  end
25
25
 
26
26
  # Attribute type mapping.
27
27
  def self.swagger_types
28
28
  {
29
- :'devices' => :'Array<Device>'
29
+ :'categorys' => :'Array<Category>'
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?(:'devices')
42
- if (value = attributes[:'devices']).is_a?(Array)
43
- self.devices = value
41
+ if attributes.has_key?(:'categorys')
42
+ if (value = attributes[:'categorys']).is_a?(Array)
43
+ self.categorys = 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 @devices.nil?
53
- invalid_properties.push('invalid value for "devices", devices cannot be nil.')
52
+ if @categorys.nil?
53
+ invalid_properties.push('invalid value for "categorys", categorys 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 @devices.nil?
62
+ return false if @categorys.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
- devices == o.devices
71
+ categorys == o.categorys
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
- [devices].hash
83
+ [categorys].hash
84
84
  end
85
85
 
86
86
  # Builds the object from hash