budgea_client 5.1.1 → 5.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +4 -4
  4. data/budgea_openapi.json +21 -0
  5. data/config.json +1 -1
  6. data/docs/Connection.md +2 -0
  7. data/lib/budgea_client/api_client.rb +2 -0
  8. data/lib/budgea_client/models/access.rb +2 -1
  9. data/lib/budgea_client/models/account.rb +2 -1
  10. data/lib/budgea_client/models/account_log.rb +2 -1
  11. data/lib/budgea_client/models/account_type.rb +2 -1
  12. data/lib/budgea_client/models/alert.rb +2 -1
  13. data/lib/budgea_client/models/auth_provider.rb +2 -1
  14. data/lib/budgea_client/models/category.rb +2 -1
  15. data/lib/budgea_client/models/certificate.rb +2 -1
  16. data/lib/budgea_client/models/client.rb +2 -1
  17. data/lib/budgea_client/models/config_log.rb +2 -1
  18. data/lib/budgea_client/models/connection.rb +58 -2
  19. data/lib/budgea_client/models/connection_log.rb +2 -1
  20. data/lib/budgea_client/models/connection_source.rb +2 -1
  21. data/lib/budgea_client/models/connector.rb +2 -1
  22. data/lib/budgea_client/models/connector_category.rb +2 -1
  23. data/lib/budgea_client/models/connector_logo.rb +2 -1
  24. data/lib/budgea_client/models/connector_source.rb +2 -1
  25. data/lib/budgea_client/models/currency.rb +2 -1
  26. data/lib/budgea_client/models/device.rb +2 -1
  27. data/lib/budgea_client/models/document.rb +2 -1
  28. data/lib/budgea_client/models/document_type.rb +2 -1
  29. data/lib/budgea_client/models/field.rb +2 -1
  30. data/lib/budgea_client/models/field_value.rb +2 -1
  31. data/lib/budgea_client/models/file.rb +2 -1
  32. data/lib/budgea_client/models/group.rb +2 -1
  33. data/lib/budgea_client/models/hash_table.rb +2 -1
  34. data/lib/budgea_client/models/inline_response_200.rb +2 -1
  35. data/lib/budgea_client/models/inline_response_200_1.rb +2 -1
  36. data/lib/budgea_client/models/inline_response_200_10.rb +2 -1
  37. data/lib/budgea_client/models/inline_response_200_11.rb +2 -1
  38. data/lib/budgea_client/models/inline_response_200_12.rb +2 -1
  39. data/lib/budgea_client/models/inline_response_200_13.rb +2 -1
  40. data/lib/budgea_client/models/inline_response_200_14.rb +2 -1
  41. data/lib/budgea_client/models/inline_response_200_15.rb +2 -1
  42. data/lib/budgea_client/models/inline_response_200_16.rb +2 -1
  43. data/lib/budgea_client/models/inline_response_200_17.rb +2 -1
  44. data/lib/budgea_client/models/inline_response_200_18.rb +2 -1
  45. data/lib/budgea_client/models/inline_response_200_19.rb +2 -1
  46. data/lib/budgea_client/models/inline_response_200_2.rb +2 -1
  47. data/lib/budgea_client/models/inline_response_200_20.rb +2 -1
  48. data/lib/budgea_client/models/inline_response_200_21.rb +2 -1
  49. data/lib/budgea_client/models/inline_response_200_22.rb +2 -1
  50. data/lib/budgea_client/models/inline_response_200_23.rb +2 -1
  51. data/lib/budgea_client/models/inline_response_200_24.rb +2 -1
  52. data/lib/budgea_client/models/inline_response_200_25.rb +2 -1
  53. data/lib/budgea_client/models/inline_response_200_26.rb +2 -1
  54. data/lib/budgea_client/models/inline_response_200_27.rb +2 -1
  55. data/lib/budgea_client/models/inline_response_200_28.rb +2 -1
  56. data/lib/budgea_client/models/inline_response_200_29.rb +2 -1
  57. data/lib/budgea_client/models/inline_response_200_3.rb +2 -1
  58. data/lib/budgea_client/models/inline_response_200_30.rb +2 -1
  59. data/lib/budgea_client/models/inline_response_200_31.rb +2 -1
  60. data/lib/budgea_client/models/inline_response_200_32.rb +2 -1
  61. data/lib/budgea_client/models/inline_response_200_33.rb +2 -1
  62. data/lib/budgea_client/models/inline_response_200_34.rb +2 -1
  63. data/lib/budgea_client/models/inline_response_200_35.rb +2 -1
  64. data/lib/budgea_client/models/inline_response_200_36.rb +2 -1
  65. data/lib/budgea_client/models/inline_response_200_37.rb +2 -1
  66. data/lib/budgea_client/models/inline_response_200_38.rb +2 -1
  67. data/lib/budgea_client/models/inline_response_200_39.rb +2 -1
  68. data/lib/budgea_client/models/inline_response_200_4.rb +2 -1
  69. data/lib/budgea_client/models/inline_response_200_40.rb +2 -1
  70. data/lib/budgea_client/models/inline_response_200_41.rb +2 -1
  71. data/lib/budgea_client/models/inline_response_200_42.rb +2 -1
  72. data/lib/budgea_client/models/inline_response_200_5.rb +2 -1
  73. data/lib/budgea_client/models/inline_response_200_6.rb +2 -1
  74. data/lib/budgea_client/models/inline_response_200_7.rb +2 -1
  75. data/lib/budgea_client/models/inline_response_200_8.rb +2 -1
  76. data/lib/budgea_client/models/inline_response_200_9.rb +2 -1
  77. data/lib/budgea_client/models/investment.rb +2 -1
  78. data/lib/budgea_client/models/investment_value.rb +2 -1
  79. data/lib/budgea_client/models/keyword.rb +2 -1
  80. data/lib/budgea_client/models/locked_user.rb +2 -1
  81. data/lib/budgea_client/models/oidc_whitelist.rb +2 -1
  82. data/lib/budgea_client/models/order.rb +2 -1
  83. data/lib/budgea_client/models/pocket.rb +2 -1
  84. data/lib/budgea_client/models/profile.rb +2 -1
  85. data/lib/budgea_client/models/project.rb +2 -1
  86. data/lib/budgea_client/models/project_type.rb +2 -1
  87. data/lib/budgea_client/models/recipient.rb +2 -1
  88. data/lib/budgea_client/models/recipient_log.rb +2 -1
  89. data/lib/budgea_client/models/security.rb +2 -1
  90. data/lib/budgea_client/models/subscription.rb +2 -1
  91. data/lib/budgea_client/models/subscription_log.rb +2 -1
  92. data/lib/budgea_client/models/terms_of_service.rb +2 -1
  93. data/lib/budgea_client/models/transaction.rb +2 -1
  94. data/lib/budgea_client/models/transaction_information.rb +2 -1
  95. data/lib/budgea_client/models/transactions_cluster.rb +2 -1
  96. data/lib/budgea_client/models/transfer.rb +2 -1
  97. data/lib/budgea_client/models/transfer_log.rb +2 -1
  98. data/lib/budgea_client/models/user.rb +2 -1
  99. data/lib/budgea_client/models/user_alert.rb +2 -1
  100. data/lib/budgea_client/models/webhook.rb +2 -1
  101. data/lib/budgea_client/models/webhook_data.rb +2 -1
  102. data/lib/budgea_client/models/webhook_log.rb +2 -1
  103. data/lib/budgea_client/version.rb +1 -1
  104. data/pkg/budgea_client-5.1.2.gem +0 -0
  105. data/spec/.!78900!.DS_Store +0 -0
  106. data/spec/.!79301!.DS_Store +0 -0
  107. data/spec/.!79684!.DS_Store +0 -0
  108. data/spec/.!83764!.DS_Store +0 -0
  109. data/spec/.DS_Store +0 -0
  110. metadata +9 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e71b2c1d720e8ba1ee1c98eb18680819d764185c06295c896d68e75fa2347c1
4
- data.tar.gz: 05c54a315b8dbd0340fa4da5d84c1eb37579737e0ad0a78b3f03b4611bbe2396
3
+ metadata.gz: 63c1826ceff3400f8dce3e33ae826bc97491ab4457808f4137a74ee72cb80c53
4
+ data.tar.gz: 2fc9ea13380466d7a582ea626259b69f46f11d9e5cd743f439c0daa45f4bcc61
5
5
  SHA512:
6
- metadata.gz: ea848b1135c9a54caa4e7e118ac387dc989956686bfb2c30cfcf01f5ae48698c1d0af61358705c2d08953558c2c727507eea832729903ec2538ef3620350634b
7
- data.tar.gz: 886e68342ffe2044e4016654d7e700b127aac12ad30d8f2bb0a9216e2a619bba641492d0e054875162c6505d47d7238a071c73072a9da108a69c407e4b465079
6
+ metadata.gz: ef663beea12e1c62488dcaba240eabc60b4ab20b54156cf3884c1345fd3e6b22af9f5d77ae31da0cad618dfd82a4e008e15371fafdfa4bfc3c3b97fca275c644
7
+ data.tar.gz: 14b812fecf21bcdb04bb82bc9fb4459e7d2f5d20fdd945e56784b67f9ea5abb1d7bfd91dafc7c7181da01b57741d5c217b05a937bf11f3f81734096b8c3ffc46
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 12.3.3'
7
7
  end
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0
10
- - Package version: 5.1.1
10
+ - Package version: 5.1.2
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,15 +23,15 @@ gem build budgea_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./budgea_client-5.1.1.gem
26
+ gem install ./budgea_client-5.1.2.gem
27
27
  ```
28
- (for development, run `gem install --dev ./budgea_client-5.1.1.gem` to install the development dependencies)
28
+ (for development, run `gem install --dev ./budgea_client-5.1.2.gem` to install the development dependencies)
29
29
 
30
30
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
31
 
32
32
  Finally add this to the Gemfile:
33
33
 
34
- gem 'budgea_client', '~> 5.1.1'
34
+ gem 'budgea_client', '~> 5.1.2'
35
35
 
36
36
  ### Install from Git
37
37
 
@@ -23940,6 +23940,27 @@
23940
23940
  "description": "Last successful push",
23941
23941
  "format": "date-time"
23942
23942
  },
23943
+ "state": {
23944
+ "type": "string",
23945
+ "enum": [
23946
+ "wrongpass",
23947
+ "additionalInformationNeeded",
23948
+ "websiteUnavailable",
23949
+ "actionNeeded",
23950
+ "SCARequired",
23951
+ "decoupled",
23952
+ "passwordExpired",
23953
+ "webauthRequired",
23954
+ "bug"
23955
+ ],
23956
+ "description": "State of Connection"
23957
+ },
23958
+ "fields": {
23959
+ "type": "array",
23960
+ "items": {
23961
+ "$ref": "#/definitions/Field"
23962
+ }
23963
+ },
23943
23964
  "next_try": {
23944
23965
  "type": "string",
23945
23966
  "description": "Date of next synchronization",
@@ -7,5 +7,5 @@
7
7
  "gemHomepage": "https://github.com/cashbee-team/budgea_client",
8
8
  "moduleName": "BudgeaClient",
9
9
  "gemLicense": "Apache 2.0",
10
- "gemVersion": "5.1.1"
10
+ "gemVersion": "5.1.2"
11
11
  }
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
13
13
  **expire** | **DateTime** | Expiration of the connection. Used during add of a two-factor authentication, to purge the connection if the user abort | [optional]
14
14
  **active** | **BOOLEAN** | This connection is active and will be automatically synced | [default to true]
15
15
  **last_push** | **DateTime** | Last successful push | [optional]
16
+ **state** | **String** | State of Connection | [optional]
17
+ **fields** | [**Array<Field>**](Field.md) | | [optional]
16
18
  **next_try** | **DateTime** | Date of next synchronization | [optional]
17
19
  **accounts** | [**Array<Account>**](Account.md) | | [optional]
18
20
  **subscriptions** | [**Array<Subscription>**](Subscription.md) | | [optional]
@@ -112,6 +112,8 @@ module BudgeaClient
112
112
  :verbose => @config.debugging
113
113
  }
114
114
 
115
+ req_opts.merge!(multipart: true) if header_params['Content-Type'].start_with? "multipart/"
116
+
115
117
  # set custom cert, if provided
116
118
  req_opts[:cainfo] = @config.ssl_ca_cert if @config.ssl_ca_cert
117
119
 
@@ -129,7 +129,7 @@ module BudgeaClient
129
129
  return nil unless attributes.is_a?(Hash)
130
130
  self.class.swagger_types.each_pair do |key, type|
131
131
  if type =~ /\AArray<(.*)>/i
132
- # check to ensure the input is an array given that the the attribute
132
+ # check to ensure the input is an array given that the attribute
133
133
  # is documented as an array but the input is not
134
134
  if attributes[self.class.attribute_map[key]].is_a?(Array)
135
135
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -225,5 +225,6 @@ module BudgeaClient
225
225
  value
226
226
  end
227
227
  end
228
+
228
229
  end
229
230
  end
@@ -376,7 +376,7 @@ module BudgeaClient
376
376
  return nil unless attributes.is_a?(Hash)
377
377
  self.class.swagger_types.each_pair do |key, type|
378
378
  if type =~ /\AArray<(.*)>/i
379
- # check to ensure the input is an array given that the the attribute
379
+ # check to ensure the input is an array given that the attribute
380
380
  # is documented as an array but the input is not
381
381
  if attributes[self.class.attribute_map[key]].is_a?(Array)
382
382
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -472,5 +472,6 @@ module BudgeaClient
472
472
  value
473
473
  end
474
474
  end
475
+
475
476
  end
476
477
  end
@@ -186,7 +186,7 @@ module BudgeaClient
186
186
  return nil unless attributes.is_a?(Hash)
187
187
  self.class.swagger_types.each_pair do |key, type|
188
188
  if type =~ /\AArray<(.*)>/i
189
- # check to ensure the input is an array given that the the attribute
189
+ # check to ensure the input is an array given that the attribute
190
190
  # is documented as an array but the input is not
191
191
  if attributes[self.class.attribute_map[key]].is_a?(Array)
192
192
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -282,5 +282,6 @@ module BudgeaClient
282
282
  value
283
283
  end
284
284
  end
285
+
285
286
  end
286
287
  end
@@ -186,7 +186,7 @@ module BudgeaClient
186
186
  return nil unless attributes.is_a?(Hash)
187
187
  self.class.swagger_types.each_pair do |key, type|
188
188
  if type =~ /\AArray<(.*)>/i
189
- # check to ensure the input is an array given that the the attribute
189
+ # check to ensure the input is an array given that the attribute
190
190
  # is documented as an array but the input is not
191
191
  if attributes[self.class.attribute_map[key]].is_a?(Array)
192
192
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -282,5 +282,6 @@ module BudgeaClient
282
282
  value
283
283
  end
284
284
  end
285
+
285
286
  end
286
287
  end
@@ -178,7 +178,7 @@ module BudgeaClient
178
178
  return nil unless attributes.is_a?(Hash)
179
179
  self.class.swagger_types.each_pair do |key, type|
180
180
  if type =~ /\AArray<(.*)>/i
181
- # check to ensure the input is an array given that the the attribute
181
+ # check to ensure the input is an array given that the attribute
182
182
  # is documented as an array but the input is not
183
183
  if attributes[self.class.attribute_map[key]].is_a?(Array)
184
184
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -274,5 +274,6 @@ module BudgeaClient
274
274
  value
275
275
  end
276
276
  end
277
+
277
278
  end
278
279
  end
@@ -118,7 +118,7 @@ module BudgeaClient
118
118
  return nil unless attributes.is_a?(Hash)
119
119
  self.class.swagger_types.each_pair do |key, type|
120
120
  if type =~ /\AArray<(.*)>/i
121
- # check to ensure the input is an array given that the the attribute
121
+ # check to ensure the input is an array given that the attribute
122
122
  # is documented as an array but the input is not
123
123
  if attributes[self.class.attribute_map[key]].is_a?(Array)
124
124
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -214,5 +214,6 @@ module BudgeaClient
214
214
  value
215
215
  end
216
216
  end
217
+
217
218
  end
218
219
  end
@@ -204,7 +204,7 @@ module BudgeaClient
204
204
  return nil unless attributes.is_a?(Hash)
205
205
  self.class.swagger_types.each_pair do |key, type|
206
206
  if type =~ /\AArray<(.*)>/i
207
- # check to ensure the input is an array given that the the attribute
207
+ # check to ensure the input is an array given that the attribute
208
208
  # is documented as an array but the input is not
209
209
  if attributes[self.class.attribute_map[key]].is_a?(Array)
210
210
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -300,5 +300,6 @@ module BudgeaClient
300
300
  value
301
301
  end
302
302
  end
303
+
303
304
  end
304
305
  end
@@ -144,7 +144,7 @@ module BudgeaClient
144
144
  return nil unless attributes.is_a?(Hash)
145
145
  self.class.swagger_types.each_pair do |key, type|
146
146
  if type =~ /\AArray<(.*)>/i
147
- # check to ensure the input is an array given that the the attribute
147
+ # check to ensure the input is an array given that the attribute
148
148
  # is documented as an array but the input is not
149
149
  if attributes[self.class.attribute_map[key]].is_a?(Array)
150
150
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -240,5 +240,6 @@ module BudgeaClient
240
240
  value
241
241
  end
242
242
  end
243
+
243
244
  end
244
245
  end
@@ -188,7 +188,7 @@ module BudgeaClient
188
188
  return nil unless attributes.is_a?(Hash)
189
189
  self.class.swagger_types.each_pair do |key, type|
190
190
  if type =~ /\AArray<(.*)>/i
191
- # check to ensure the input is an array given that the the attribute
191
+ # check to ensure the input is an array given that the attribute
192
192
  # is documented as an array but the input is not
193
193
  if attributes[self.class.attribute_map[key]].is_a?(Array)
194
194
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -284,5 +284,6 @@ module BudgeaClient
284
284
  value
285
285
  end
286
286
  end
287
+
287
288
  end
288
289
  end
@@ -150,7 +150,7 @@ module BudgeaClient
150
150
  return nil unless attributes.is_a?(Hash)
151
151
  self.class.swagger_types.each_pair do |key, type|
152
152
  if type =~ /\AArray<(.*)>/i
153
- # check to ensure the input is an array given that the the attribute
153
+ # check to ensure the input is an array given that the attribute
154
154
  # is documented as an array but the input is not
155
155
  if attributes[self.class.attribute_map[key]].is_a?(Array)
156
156
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -246,5 +246,6 @@ module BudgeaClient
246
246
  value
247
247
  end
248
248
  end
249
+
249
250
  end
250
251
  end
@@ -44,6 +44,11 @@ module BudgeaClient
44
44
  # Last successful push
45
45
  attr_accessor :last_push
46
46
 
47
+ # State of Connection
48
+ attr_accessor :state
49
+
50
+ attr_accessor :fields
51
+
47
52
  # Date of next synchronization
48
53
  attr_accessor :next_try
49
54
 
@@ -55,6 +60,28 @@ module BudgeaClient
55
60
 
56
61
  attr_accessor :message
57
62
 
63
+ class EnumAttributeValidator
64
+ attr_reader :datatype
65
+ attr_reader :allowable_values
66
+
67
+ def initialize(datatype, allowable_values)
68
+ @allowable_values = allowable_values.map do |value|
69
+ case datatype.to_s
70
+ when /Integer/i
71
+ value.to_i
72
+ when /Float/i
73
+ value.to_f
74
+ else
75
+ value
76
+ end
77
+ end
78
+ end
79
+
80
+ def valid?(value)
81
+ !value || allowable_values.include?(value)
82
+ end
83
+ end
84
+
58
85
  # Attribute mapping from ruby-style variable name to JSON key.
59
86
  def self.attribute_map
60
87
  {
@@ -68,6 +95,8 @@ module BudgeaClient
68
95
  :'expire' => :'expire',
69
96
  :'active' => :'active',
70
97
  :'last_push' => :'last_push',
98
+ :'state' => :'state',
99
+ :'fields' => :'fields',
71
100
  :'next_try' => :'next_try',
72
101
  :'accounts' => :'accounts',
73
102
  :'subscriptions' => :'subscriptions',
@@ -89,6 +118,8 @@ module BudgeaClient
89
118
  :'expire' => :'DateTime',
90
119
  :'active' => :'BOOLEAN',
91
120
  :'last_push' => :'DateTime',
121
+ :'state' => :'String',
122
+ :'fields' => :'Array<Field>',
92
123
  :'next_try' => :'DateTime',
93
124
  :'accounts' => :'Array<Account>',
94
125
  :'subscriptions' => :'Array<Subscription>',
@@ -147,6 +178,16 @@ module BudgeaClient
147
178
  self.last_push = attributes[:'last_push']
148
179
  end
149
180
 
181
+ if attributes.has_key?(:'state')
182
+ self.state = attributes[:'state']
183
+ end
184
+
185
+ if attributes.has_key?(:'fields')
186
+ if (value = attributes[:'fields']).is_a?(Array)
187
+ self.fields = value
188
+ end
189
+ end
190
+
150
191
  if attributes.has_key?(:'next_try')
151
192
  self.next_try = attributes[:'next_try']
152
193
  end
@@ -197,9 +238,21 @@ module BudgeaClient
197
238
  return false if @id.nil?
198
239
  return false if @id_connector.nil?
199
240
  return false if @active.nil?
241
+ state_validator = EnumAttributeValidator.new('String', ['wrongpass', 'additionalInformationNeeded', 'websiteUnavailable', 'actionNeeded', 'SCARequired', 'decoupled', 'passwordExpired', 'webauthRequired', 'bug'])
242
+ return false unless state_validator.valid?(@state)
200
243
  true
201
244
  end
202
245
 
246
+ # Custom attribute writer method checking allowed values (enum).
247
+ # @param [Object] state Object to be assigned
248
+ def state=(state)
249
+ validator = EnumAttributeValidator.new('String', ['wrongpass', 'additionalInformationNeeded', 'websiteUnavailable', 'actionNeeded', 'SCARequired', 'decoupled', 'passwordExpired', 'webauthRequired', 'bug'])
250
+ unless validator.valid?(state)
251
+ fail ArgumentError, 'invalid value for "state", must be one of #{validator.allowable_values}.'
252
+ end
253
+ @state = state
254
+ end
255
+
203
256
  # Checks equality by comparing each attribute.
204
257
  # @param [Object] Object to be compared
205
258
  def ==(o)
@@ -215,6 +268,8 @@ module BudgeaClient
215
268
  expire == o.expire &&
216
269
  active == o.active &&
217
270
  last_push == o.last_push &&
271
+ state == o.state &&
272
+ fields == o.fields &&
218
273
  next_try == o.next_try &&
219
274
  accounts == o.accounts &&
220
275
  subscriptions == o.subscriptions &&
@@ -231,7 +286,7 @@ module BudgeaClient
231
286
  # Calculates hash code according to all attributes.
232
287
  # @return [Fixnum] Hash code
233
288
  def hash
234
- [id, id_user, id_connector, last_update, created, error, error_message, expire, active, last_push, next_try, accounts, subscriptions, connection, message].hash
289
+ [id, id_user, id_connector, last_update, created, error, error_message, expire, active, last_push, state, fields, next_try, accounts, subscriptions, connection, message].hash
235
290
  end
236
291
 
237
292
  # Builds the object from hash
@@ -241,7 +296,7 @@ module BudgeaClient
241
296
  return nil unless attributes.is_a?(Hash)
242
297
  self.class.swagger_types.each_pair do |key, type|
243
298
  if type =~ /\AArray<(.*)>/i
244
- # check to ensure the input is an array given that the the attribute
299
+ # check to ensure the input is an array given that the attribute
245
300
  # is documented as an array but the input is not
246
301
  if attributes[self.class.attribute_map[key]].is_a?(Array)
247
302
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -337,5 +392,6 @@ module BudgeaClient
337
392
  value
338
393
  end
339
394
  end
395
+
340
396
  end
341
397
  end
@@ -259,7 +259,7 @@ module BudgeaClient
259
259
  return nil unless attributes.is_a?(Hash)
260
260
  self.class.swagger_types.each_pair do |key, type|
261
261
  if type =~ /\AArray<(.*)>/i
262
- # check to ensure the input is an array given that the the attribute
262
+ # check to ensure the input is an array given that the attribute
263
263
  # is documented as an array but the input is not
264
264
  if attributes[self.class.attribute_map[key]].is_a?(Array)
265
265
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -355,5 +355,6 @@ module BudgeaClient
355
355
  value
356
356
  end
357
357
  end
358
+
358
359
  end
359
360
  end
@@ -209,7 +209,7 @@ module BudgeaClient
209
209
  return nil unless attributes.is_a?(Hash)
210
210
  self.class.swagger_types.each_pair do |key, type|
211
211
  if type =~ /\AArray<(.*)>/i
212
- # check to ensure the input is an array given that the the attribute
212
+ # check to ensure the input is an array given that the attribute
213
213
  # is documented as an array but the input is not
214
214
  if attributes[self.class.attribute_map[key]].is_a?(Array)
215
215
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -305,5 +305,6 @@ module BudgeaClient
305
305
  value
306
306
  end
307
307
  end
308
+
308
309
  end
309
310
  end
@@ -284,7 +284,7 @@ module BudgeaClient
284
284
  return nil unless attributes.is_a?(Hash)
285
285
  self.class.swagger_types.each_pair do |key, type|
286
286
  if type =~ /\AArray<(.*)>/i
287
- # check to ensure the input is an array given that the the attribute
287
+ # check to ensure the input is an array given that the attribute
288
288
  # is documented as an array but the input is not
289
289
  if attributes[self.class.attribute_map[key]].is_a?(Array)
290
290
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -380,5 +380,6 @@ module BudgeaClient
380
380
  value
381
381
  end
382
382
  end
383
+
383
384
  end
384
385
  end
@@ -106,7 +106,7 @@ module BudgeaClient
106
106
  return nil unless attributes.is_a?(Hash)
107
107
  self.class.swagger_types.each_pair do |key, type|
108
108
  if type =~ /\AArray<(.*)>/i
109
- # check to ensure the input is an array given that the the attribute
109
+ # check to ensure the input is an array given that the attribute
110
110
  # is documented as an array but the input is not
111
111
  if attributes[self.class.attribute_map[key]].is_a?(Array)
112
112
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
@@ -202,5 +202,6 @@ module BudgeaClient
202
202
  value
203
203
  end
204
204
  end
205
+
205
206
  end
206
207
  end