mx-platform-ruby 0.22.1 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,14 +15,14 @@ require 'time'
15
15
 
16
16
  module MxPlatformRuby
17
17
  class SpendingPlansResponseBody
18
- attr_accessor :iteration_items
18
+ attr_accessor :spending_plans
19
19
 
20
20
  attr_accessor :pagination
21
21
 
22
22
  # Attribute mapping from ruby-style variable name to JSON key.
23
23
  def self.attribute_map
24
24
  {
25
- :'iteration_items' => :'iteration_items',
25
+ :'spending_plans' => :'spending_plans',
26
26
  :'pagination' => :'pagination'
27
27
  }
28
28
  end
@@ -35,7 +35,7 @@ module MxPlatformRuby
35
35
  # Attribute type mapping.
36
36
  def self.openapi_types
37
37
  {
38
- :'iteration_items' => :'Array<SpendingPlanResponse>',
38
+ :'spending_plans' => :'Array<SpendingPlanResponse>',
39
39
  :'pagination' => :'PaginationResponse'
40
40
  }
41
41
  end
@@ -61,9 +61,9 @@ module MxPlatformRuby
61
61
  h[k.to_sym] = v
62
62
  }
63
63
 
64
- if attributes.key?(:'iteration_items')
65
- if (value = attributes[:'iteration_items']).is_a?(Array)
66
- self.iteration_items = value
64
+ if attributes.key?(:'spending_plans')
65
+ if (value = attributes[:'spending_plans']).is_a?(Array)
66
+ self.spending_plans = value
67
67
  end
68
68
  end
69
69
 
@@ -92,7 +92,7 @@ module MxPlatformRuby
92
92
  def ==(o)
93
93
  return true if self.equal?(o)
94
94
  self.class == o.class &&
95
- iteration_items == o.iteration_items &&
95
+ spending_plans == o.spending_plans &&
96
96
  pagination == o.pagination
97
97
  end
98
98
 
@@ -105,7 +105,7 @@ module MxPlatformRuby
105
105
  # Calculates hash code according to all attributes.
106
106
  # @return [Integer] Hash code
107
107
  def hash
108
- [iteration_items, pagination].hash
108
+ [spending_plans, pagination].hash
109
109
  end
110
110
 
111
111
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 7.0.1
11
11
  =end
12
12
 
13
13
  module MxPlatformRuby
14
- VERSION = '0.22.1'
14
+ VERSION = '0.24.0'
15
15
  end
@@ -150,6 +150,7 @@ require 'mx-platform-ruby/models/widget_response_body'
150
150
 
151
151
  # APIs
152
152
  require 'mx-platform-ruby/api/mx_platform_api'
153
+ require 'mx-platform-ruby/api/spending_plan_api'
153
154
 
154
155
  module MxPlatformRuby
155
156
  class << self
data/openapi/config.yml CHANGED
@@ -6,6 +6,6 @@ gemHomepage: https://github.com/mxenabled/mx-platform-ruby
6
6
  gemLicense: MIT
7
7
  gemName: mx-platform-ruby
8
8
  gemRequiredRubyVersion: ">= 2.6"
9
- gemVersion: 0.22.1
9
+ gemVersion: 0.24.0
10
10
  library: faraday
11
11
  moduleName: MxPlatformRuby
@@ -139,32 +139,6 @@ describe 'MxPlatformApi' do
139
139
  end
140
140
  end
141
141
 
142
- # unit tests for create_spending_plan
143
- # Create spending plan
144
- # This endpoint creates a new &#x60;spending_plan&#x60; for the user.
145
- # @param user_guid The unique id for a &#x60;user&#x60;.
146
- # @param [Hash] opts the optional parameters
147
- # @return [SpendingPlanResponse]
148
- describe 'create_spending_plan test' do
149
- it 'should work' do
150
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
151
- end
152
- end
153
-
154
- # unit tests for create_spending_plan_iteration_item
155
- # Create spending plan iteration item
156
- # This endpoint creates a new &#x60;spending_plan_iteration_item&#x60;.
157
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
158
- # @param user_guid The unique id for a &#x60;user&#x60;.
159
- # @param spending_plan_iteration_item_create_request_body Iteration item to be created with required parameters (planned_amount)
160
- # @param [Hash] opts the optional parameters
161
- # @return [SpendingPlanIterationItemResponse]
162
- describe 'create_spending_plan_iteration_item test' do
163
- it 'should work' do
164
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
165
- end
166
- end
167
-
168
142
  # unit tests for create_tag
169
143
  # Create tag
170
144
  # Use this endpoint to create a new custom tag.
@@ -297,47 +271,6 @@ describe 'MxPlatformApi' do
297
271
  end
298
272
  end
299
273
 
300
- # unit tests for delete_spending_plan
301
- # Delete spending plan
302
- # Use this endpoint to delete a user&#39;s &#x60;spending_plan&#x60;.
303
- # @param user_guid The unique ID for a &#x60;user&#x60;.
304
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
305
- # @param [Hash] opts the optional parameters
306
- # @return [nil]
307
- describe 'delete_spending_plan test' do
308
- it 'should work' do
309
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
310
- end
311
- end
312
-
313
- # unit tests for delete_spending_plan_account
314
- # Delete spending plan account
315
- # Use this endpoint to delete a &#x60;spending_plan_account&#x60;.
316
- # @param user_guid The unique ID for a &#x60;user&#x60;.
317
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
318
- # @param spending_plan_account_guid The unique ID for the specified account.
319
- # @param [Hash] opts the optional parameters
320
- # @return [nil]
321
- describe 'delete_spending_plan_account test' do
322
- it 'should work' do
323
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
324
- end
325
- end
326
-
327
- # unit tests for delete_spending_plan_iteration_item
328
- # Delete spending plan iteration item
329
- # Use this endpoint to delete a spending plan &#x60;iteration_item&#x60;.
330
- # @param user_guid The unique ID for a &#x60;user&#x60;.
331
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
332
- # @param iteration_item_guid The unique ID for the &#x60;iteration_item&#x60;.
333
- # @param [Hash] opts the optional parameters
334
- # @return [nil]
335
- describe 'delete_spending_plan_iteration_item test' do
336
- it 'should work' do
337
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
338
- end
339
- end
340
-
341
274
  # unit tests for delete_tag
342
275
  # Delete tag
343
276
  # Use this endpoint to permanently delete a specific tag based on its unique GUID. If successful, the API will respond with status of &#x60;204 No Content&#x60;.
@@ -805,65 +738,6 @@ describe 'MxPlatformApi' do
805
738
  end
806
739
  end
807
740
 
808
- # unit tests for list_spending_plan_accounts
809
- # List spending plan accounts
810
- # Use this endpoint to list all the spending plan accounts associated with the spending plan.
811
- # @param user_guid The unique id for a &#x60;user&#x60;.
812
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
813
- # @param [Hash] opts the optional parameters
814
- # @option opts [Integer] :page Specify current page.
815
- # @option opts [Integer] :records_per_page Specify records per page.
816
- # @return [SpendingPlanAccountsResponse]
817
- describe 'list_spending_plan_accounts test' do
818
- it 'should work' do
819
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
820
- end
821
- end
822
-
823
- # unit tests for list_spending_plan_iteration_items
824
- # List spending plan iteration items
825
- # Use this endpoint to list all the spending plan &#x60;iteration_items&#x60; associated with the &#x60;iteration&#x60;.
826
- # @param user_guid The unique id for a &#x60;user&#x60;.
827
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
828
- # @param [Hash] opts the optional parameters
829
- # @option opts [Integer] :page Specify current page.
830
- # @option opts [Integer] :records_per_page Specify records per page.
831
- # @return [SpendingPlanIterationItemsResponseBody]
832
- describe 'list_spending_plan_iteration_items test' do
833
- it 'should work' do
834
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
835
- end
836
- end
837
-
838
- # unit tests for list_spending_plan_iterations
839
- # List spending plan iterations
840
- # Use this endpoint to list all the spending plan &#x60;iterations&#x60; associated with the &#x60;spending_plan&#x60;.
841
- # @param user_guid The unique id for a &#x60;user&#x60;.
842
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
843
- # @param [Hash] opts the optional parameters
844
- # @option opts [Integer] :page Specify current page.
845
- # @option opts [Integer] :records_per_page Specify records per page.
846
- # @return [SpendingPlanIterationsResponse]
847
- describe 'list_spending_plan_iterations test' do
848
- it 'should work' do
849
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
850
- end
851
- end
852
-
853
- # unit tests for list_spending_plans
854
- # List spending plans
855
- # Use this endpoint to list all the spending plans associated with the user.
856
- # @param user_guid The unique id for a &#x60;user&#x60;.
857
- # @param [Hash] opts the optional parameters
858
- # @option opts [Integer] :page Specify current page.
859
- # @option opts [Integer] :records_per_page Specify records per page.
860
- # @return [SpendingPlansResponseBody]
861
- describe 'list_spending_plans test' do
862
- it 'should work' do
863
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
864
- end
865
- end
866
-
867
741
  # unit tests for list_statements_by_member
868
742
  # List statements by member
869
743
  # Use this endpoint to get an array of available statements.
@@ -1204,69 +1078,6 @@ describe 'MxPlatformApi' do
1204
1078
  end
1205
1079
  end
1206
1080
 
1207
- # unit tests for read_spending_plan_account
1208
- # Read spending plan account
1209
- # Use this endpoint to read the attributes of a specific spending plan account according to its unique GUID.
1210
- # @param user_guid The unique id for a &#x60;user&#x60;.
1211
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
1212
- # @param spending_plan_account_guid The unique ID for the specified account.
1213
- # @param [Hash] opts the optional parameters
1214
- # @option opts [Integer] :page Specify current page.
1215
- # @option opts [Integer] :records_per_page Specify records per page.
1216
- # @return [SpendingPlanAccountResponse]
1217
- describe 'read_spending_plan_account test' do
1218
- it 'should work' do
1219
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1220
- end
1221
- end
1222
-
1223
- # unit tests for read_spending_plan_iteration
1224
- # Read a spending plan iteration
1225
- # Use this endpoint to read the attributes of a specific spending plan &#x60;iteration&#x60; according to its &#x60;iteration_number&#x60;.
1226
- # @param user_guid The unique id for a &#x60;user&#x60;.
1227
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
1228
- # @param iteration_number The current iteration number for the spending plan &#x60;iteration&#x60;&#x60;.
1229
- # @param [Hash] opts the optional parameters
1230
- # @option opts [Integer] :page Specify current page.
1231
- # @option opts [Integer] :records_per_page Specify records per page.
1232
- # @return [SpendingPlanIterationResponse]
1233
- describe 'read_spending_plan_iteration test' do
1234
- it 'should work' do
1235
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1236
- end
1237
- end
1238
-
1239
- # unit tests for read_spending_plan_iteration_item
1240
- # Read a spending plan iteration item
1241
- # Use this endpoint to read the attributes of a specific spending plan &#x60;iteration_item&#x60; according to its unique GUID.
1242
- # @param user_guid The unique id for a &#x60;user&#x60;.
1243
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
1244
- # @param iteration_item_guid The unique ID for the &#x60;iteration_item&#x60;.
1245
- # @param [Hash] opts the optional parameters
1246
- # @option opts [Integer] :page Specify current page.
1247
- # @option opts [Integer] :records_per_page Specify records per page.
1248
- # @return [SpendingPlanIterationItemResponse]
1249
- describe 'read_spending_plan_iteration_item test' do
1250
- it 'should work' do
1251
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1252
- end
1253
- end
1254
-
1255
- # unit tests for read_spending_plan_user
1256
- # Read a spending plan for a user
1257
- # Use this endpoint to read the attributes of a specific spending plan according to its unique GUID.
1258
- # @param user_guid The unique id for a &#x60;user&#x60;.
1259
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
1260
- # @param [Hash] opts the optional parameters
1261
- # @option opts [Integer] :page Specify current page.
1262
- # @option opts [Integer] :records_per_page Specify records per page.
1263
- # @return [SpendingPlanResponse]
1264
- describe 'read_spending_plan_user test' do
1265
- it 'should work' do
1266
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1267
- end
1268
- end
1269
-
1270
1081
  # unit tests for read_statement_by_member
1271
1082
  # Read statement by member
1272
1083
  # Use this endpoint to read a JSON representation of the statement.
@@ -1518,21 +1329,6 @@ describe 'MxPlatformApi' do
1518
1329
  end
1519
1330
  end
1520
1331
 
1521
- # unit tests for update_spending_plan_iteration_item
1522
- # Update a spending plan iteration item
1523
- # Use this endpoint to update an existing &#x60;spending_plan_iteration_item&#x60;.
1524
- # @param user_guid The unique id for a &#x60;user&#x60;.
1525
- # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
1526
- # @param iteration_item_guid The unique ID for the &#x60;iteration_item&#x60;.
1527
- # @param spending_plan_iteration_item_create_request_body Iteration item object to be updated with required parameter (iteration_item_guid)
1528
- # @param [Hash] opts the optional parameters
1529
- # @return [SpendingPlanIterationItemResponse]
1530
- describe 'update_spending_plan_iteration_item test' do
1531
- it 'should work' do
1532
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
1533
- end
1534
- end
1535
-
1536
1332
  # unit tests for update_tag
1537
1333
  # Update tag
1538
1334
  # Use this endpoint to update the name of a specific tag according to its unique GUID.
@@ -0,0 +1,239 @@
1
+ =begin
2
+ #MX Platform API
3
+
4
+ #The MX Platform API is a powerful, fully-featured API designed to make aggregating and enhancing financial data easy and reliable. It can seamlessly connect your app or website to tens of thousands of financial institutions.
5
+
6
+ The version of the OpenAPI document: 0.1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MxPlatformRuby::SpendingPlanApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'SpendingPlanApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MxPlatformRuby::SpendingPlanApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of SpendingPlanApi' do
30
+ it 'should create an instance of SpendingPlanApi' do
31
+ expect(@api_instance).to be_instance_of(MxPlatformRuby::SpendingPlanApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create_spending_plan
36
+ # Create spending plan
37
+ # This endpoint creates a new &#x60;spending_plan&#x60; for the user.
38
+ # @param user_guid The unique id for a &#x60;user&#x60;.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [SpendingPlanResponse]
41
+ describe 'create_spending_plan test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
44
+ end
45
+ end
46
+
47
+ # unit tests for create_spending_plan_iteration_item
48
+ # Create spending plan iteration item
49
+ # This endpoint creates a new &#x60;spending_plan_iteration_item&#x60;.
50
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
51
+ # @param user_guid The unique id for a &#x60;user&#x60;.
52
+ # @param spending_plan_iteration_item_create_request_body Iteration item to be created with required parameters (planned_amount)
53
+ # @param [Hash] opts the optional parameters
54
+ # @return [SpendingPlanIterationItemResponse]
55
+ describe 'create_spending_plan_iteration_item test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
58
+ end
59
+ end
60
+
61
+ # unit tests for delete_spending_plan
62
+ # Delete spending plan
63
+ # Use this endpoint to delete a user&#39;s &#x60;spending_plan&#x60;.
64
+ # @param user_guid The unique ID for a &#x60;user&#x60;.
65
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
66
+ # @param [Hash] opts the optional parameters
67
+ # @return [nil]
68
+ describe 'delete_spending_plan test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
71
+ end
72
+ end
73
+
74
+ # unit tests for delete_spending_plan_account
75
+ # Delete spending plan account
76
+ # Use this endpoint to delete a &#x60;spending_plan_account&#x60;.
77
+ # @param user_guid The unique ID for a &#x60;user&#x60;.
78
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
79
+ # @param spending_plan_account_guid The unique ID for the specified account.
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [nil]
82
+ describe 'delete_spending_plan_account test' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
85
+ end
86
+ end
87
+
88
+ # unit tests for delete_spending_plan_iteration_item
89
+ # Delete spending plan iteration item
90
+ # Use this endpoint to delete a spending plan &#x60;iteration_item&#x60;.
91
+ # @param user_guid The unique ID for a &#x60;user&#x60;.
92
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
93
+ # @param iteration_item_guid The unique ID for the &#x60;iteration_item&#x60;.
94
+ # @param [Hash] opts the optional parameters
95
+ # @return [nil]
96
+ describe 'delete_spending_plan_iteration_item test' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ # unit tests for list_spending_plan_accounts
103
+ # List spending plan accounts
104
+ # Use this endpoint to list all the spending plan accounts associated with the spending plan.
105
+ # @param user_guid The unique id for a &#x60;user&#x60;.
106
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
107
+ # @param [Hash] opts the optional parameters
108
+ # @option opts [Integer] :page Specify current page.
109
+ # @option opts [Integer] :records_per_page Specify records per page.
110
+ # @return [SpendingPlanAccountsResponse]
111
+ describe 'list_spending_plan_accounts test' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
114
+ end
115
+ end
116
+
117
+ # unit tests for list_spending_plan_iteration_items
118
+ # List spending plan iteration items
119
+ # Use this endpoint to list all the spending plan &#x60;iteration_items&#x60; associated with the &#x60;iteration&#x60;.
120
+ # @param user_guid The unique id for a &#x60;user&#x60;.
121
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
122
+ # @param [Hash] opts the optional parameters
123
+ # @option opts [Integer] :page Specify current page.
124
+ # @option opts [Integer] :records_per_page Specify records per page.
125
+ # @return [SpendingPlanIterationItemsResponseBody]
126
+ describe 'list_spending_plan_iteration_items test' do
127
+ it 'should work' do
128
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
129
+ end
130
+ end
131
+
132
+ # unit tests for list_spending_plan_iterations
133
+ # List spending plan iterations
134
+ # Use this endpoint to list all the spending plan &#x60;iterations&#x60; associated with the &#x60;spending_plan&#x60;.
135
+ # @param user_guid The unique id for a &#x60;user&#x60;.
136
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
137
+ # @param [Hash] opts the optional parameters
138
+ # @option opts [Integer] :page Specify current page.
139
+ # @option opts [Integer] :records_per_page Specify records per page.
140
+ # @return [SpendingPlanIterationsResponse]
141
+ describe 'list_spending_plan_iterations test' do
142
+ it 'should work' do
143
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
144
+ end
145
+ end
146
+
147
+ # unit tests for list_spending_plans
148
+ # List spending plans
149
+ # Use this endpoint to list all the spending plans associated with the user.
150
+ # @param user_guid The unique id for a &#x60;user&#x60;.
151
+ # @param [Hash] opts the optional parameters
152
+ # @option opts [Integer] :page Specify current page.
153
+ # @option opts [Integer] :records_per_page Specify records per page.
154
+ # @return [SpendingPlansResponseBody]
155
+ describe 'list_spending_plans test' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
158
+ end
159
+ end
160
+
161
+ # unit tests for read_spending_plan_account
162
+ # Read spending plan account
163
+ # Use this endpoint to read the attributes of a specific spending plan account according to its unique GUID.
164
+ # @param user_guid The unique id for a &#x60;user&#x60;.
165
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
166
+ # @param spending_plan_account_guid The unique ID for the specified account.
167
+ # @param [Hash] opts the optional parameters
168
+ # @option opts [Integer] :page Specify current page.
169
+ # @option opts [Integer] :records_per_page Specify records per page.
170
+ # @return [SpendingPlanAccountResponse]
171
+ describe 'read_spending_plan_account test' do
172
+ it 'should work' do
173
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
174
+ end
175
+ end
176
+
177
+ # unit tests for read_spending_plan_iteration
178
+ # Read a spending plan iteration
179
+ # Use this endpoint to read the attributes of a specific spending plan &#x60;iteration&#x60; according to its &#x60;iteration_number&#x60;.
180
+ # @param user_guid The unique id for a &#x60;user&#x60;.
181
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
182
+ # @param iteration_number The current iteration number for the spending plan &#x60;iteration&#x60;&#x60;.
183
+ # @param [Hash] opts the optional parameters
184
+ # @option opts [Integer] :page Specify current page.
185
+ # @option opts [Integer] :records_per_page Specify records per page.
186
+ # @return [SpendingPlanIterationResponse]
187
+ describe 'read_spending_plan_iteration test' do
188
+ it 'should work' do
189
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
190
+ end
191
+ end
192
+
193
+ # unit tests for read_spending_plan_iteration_item
194
+ # Read a spending plan iteration item
195
+ # Use this endpoint to read the attributes of a specific spending plan &#x60;iteration_item&#x60; according to its unique GUID.
196
+ # @param user_guid The unique id for a &#x60;user&#x60;.
197
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
198
+ # @param iteration_item_guid The unique ID for the &#x60;iteration_item&#x60;.
199
+ # @param [Hash] opts the optional parameters
200
+ # @option opts [Integer] :page Specify current page.
201
+ # @option opts [Integer] :records_per_page Specify records per page.
202
+ # @return [SpendingPlanIterationItemResponse]
203
+ describe 'read_spending_plan_iteration_item test' do
204
+ it 'should work' do
205
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
206
+ end
207
+ end
208
+
209
+ # unit tests for read_spending_plan_user
210
+ # Read a spending plan for a user
211
+ # Use this endpoint to read the attributes of a specific spending plan according to its unique GUID.
212
+ # @param user_guid The unique id for a &#x60;user&#x60;.
213
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
214
+ # @param [Hash] opts the optional parameters
215
+ # @option opts [Integer] :page Specify current page.
216
+ # @option opts [Integer] :records_per_page Specify records per page.
217
+ # @return [SpendingPlanResponse]
218
+ describe 'read_spending_plan_user test' do
219
+ it 'should work' do
220
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
221
+ end
222
+ end
223
+
224
+ # unit tests for update_spending_plan_iteration_item
225
+ # Update a spending plan iteration item
226
+ # Use this endpoint to update an existing &#x60;spending_plan_iteration_item&#x60;.
227
+ # @param user_guid The unique id for a &#x60;user&#x60;.
228
+ # @param spending_plan_guid The unique ID for the &#x60;spending_plan&#x60;.
229
+ # @param iteration_item_guid The unique ID for the &#x60;iteration_item&#x60;.
230
+ # @param spending_plan_iteration_item_create_request_body Iteration item object to be updated with required parameter (iteration_item_guid)
231
+ # @param [Hash] opts the optional parameters
232
+ # @return [SpendingPlanIterationItemResponse]
233
+ describe 'update_spending_plan_iteration_item test' do
234
+ it 'should work' do
235
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
236
+ end
237
+ end
238
+
239
+ end
@@ -25,7 +25,7 @@ describe MxPlatformRuby::SpendingPlansResponseBody do
25
25
  expect(instance).to be_instance_of(MxPlatformRuby::SpendingPlansResponseBody)
26
26
  end
27
27
  end
28
- describe 'test attribute "iteration_items"' do
28
+ describe 'test attribute "spending_plans"' do
29
29
  it 'should work' do
30
30
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
31
31
  end