|
6 | 6 | The version of the OpenAPI document: 0.1.0 |
7 | 7 |
|
8 | 8 | Generated by: https://openapi-generator.tech |
9 | | -OpenAPI Generator version: 5.2.1 |
| 9 | +OpenAPI Generator version: 5.3.0 |
10 | 10 |
|
11 | 11 | =end |
12 | 12 |
|
@@ -197,7 +197,10 @@ def create_category_with_http_info(user_guid, category_create_request_body, opts |
197 | 197 | # HTTP header 'Accept' (if needed) |
198 | 198 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
199 | 199 | # HTTP header 'Content-Type' |
200 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 200 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 201 | + if !content_type.nil? |
| 202 | + header_params['Content-Type'] = content_type |
| 203 | + end |
201 | 204 |
|
202 | 205 | # form parameters |
203 | 206 | form_params = opts[:form_params] || {} |
@@ -274,7 +277,10 @@ def create_managed_account_with_http_info(user_guid, member_guid, managed_accoun |
274 | 277 | # HTTP header 'Accept' (if needed) |
275 | 278 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
276 | 279 | # HTTP header 'Content-Type' |
277 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 280 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 281 | + if !content_type.nil? |
| 282 | + header_params['Content-Type'] = content_type |
| 283 | + end |
278 | 284 |
|
279 | 285 | # form parameters |
280 | 286 | form_params = opts[:form_params] || {} |
@@ -345,7 +351,10 @@ def create_managed_member_with_http_info(user_guid, managed_member_create_reques |
345 | 351 | # HTTP header 'Accept' (if needed) |
346 | 352 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
347 | 353 | # HTTP header 'Content-Type' |
348 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 354 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 355 | + if !content_type.nil? |
| 356 | + header_params['Content-Type'] = content_type |
| 357 | + end |
349 | 358 |
|
350 | 359 | # form parameters |
351 | 360 | form_params = opts[:form_params] || {} |
@@ -422,7 +431,10 @@ def create_managed_transaction_with_http_info(user_guid, member_guid, managed_tr |
422 | 431 | # HTTP header 'Accept' (if needed) |
423 | 432 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
424 | 433 | # HTTP header 'Content-Type' |
425 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 434 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 435 | + if !content_type.nil? |
| 436 | + header_params['Content-Type'] = content_type |
| 437 | + end |
426 | 438 |
|
427 | 439 | # form parameters |
428 | 440 | form_params = opts[:form_params] || {} |
@@ -493,7 +505,10 @@ def create_member_with_http_info(user_guid, member_create_request_body, opts = { |
493 | 505 | # HTTP header 'Accept' (if needed) |
494 | 506 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
495 | 507 | # HTTP header 'Content-Type' |
496 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 508 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 509 | + if !content_type.nil? |
| 510 | + header_params['Content-Type'] = content_type |
| 511 | + end |
497 | 512 |
|
498 | 513 | # form parameters |
499 | 514 | form_params = opts[:form_params] || {} |
@@ -564,7 +579,10 @@ def create_tag_with_http_info(user_guid, tag_create_request_body, opts = {}) |
564 | 579 | # HTTP header 'Accept' (if needed) |
565 | 580 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
566 | 581 | # HTTP header 'Content-Type' |
567 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 582 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 583 | + if !content_type.nil? |
| 584 | + header_params['Content-Type'] = content_type |
| 585 | + end |
568 | 586 |
|
569 | 587 | # form parameters |
570 | 588 | form_params = opts[:form_params] || {} |
@@ -635,7 +653,10 @@ def create_tagging_with_http_info(user_guid, tagging_create_request_body, opts = |
635 | 653 | # HTTP header 'Accept' (if needed) |
636 | 654 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
637 | 655 | # HTTP header 'Content-Type' |
638 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 656 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 657 | + if !content_type.nil? |
| 658 | + header_params['Content-Type'] = content_type |
| 659 | + end |
639 | 660 |
|
640 | 661 | # form parameters |
641 | 662 | form_params = opts[:form_params] || {} |
@@ -706,7 +727,10 @@ def create_transaction_rule_with_http_info(user_guid, transaction_rule_create_re |
706 | 727 | # HTTP header 'Accept' (if needed) |
707 | 728 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
708 | 729 | # HTTP header 'Content-Type' |
709 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 730 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 731 | + if !content_type.nil? |
| 732 | + header_params['Content-Type'] = content_type |
| 733 | + end |
710 | 734 |
|
711 | 735 | # form parameters |
712 | 736 | form_params = opts[:form_params] || {} |
@@ -771,7 +795,10 @@ def create_user_with_http_info(user_create_request_body, opts = {}) |
771 | 795 | # HTTP header 'Accept' (if needed) |
772 | 796 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
773 | 797 | # HTTP header 'Content-Type' |
774 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 798 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 799 | + if !content_type.nil? |
| 800 | + header_params['Content-Type'] = content_type |
| 801 | + end |
775 | 802 |
|
776 | 803 | # form parameters |
777 | 804 | form_params = opts[:form_params] || {} |
@@ -1538,7 +1565,10 @@ def enhance_transactions_with_http_info(enhance_transactions_request_body, opts |
1538 | 1565 | # HTTP header 'Accept' (if needed) |
1539 | 1566 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
1540 | 1567 | # HTTP header 'Content-Type' |
1541 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 1568 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 1569 | + if !content_type.nil? |
| 1570 | + header_params['Content-Type'] = content_type |
| 1571 | + end |
1542 | 1572 |
|
1543 | 1573 | # form parameters |
1544 | 1574 | form_params = opts[:form_params] || {} |
@@ -5004,7 +5034,10 @@ def request_connect_widget_url_with_http_info(user_guid, opts = {}) |
5004 | 5034 | # HTTP header 'Accept' (if needed) |
5005 | 5035 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5006 | 5036 | # HTTP header 'Content-Type' |
5007 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5037 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5038 | + if !content_type.nil? |
| 5039 | + header_params['Content-Type'] = content_type |
| 5040 | + end |
5008 | 5041 |
|
5009 | 5042 | # form parameters |
5010 | 5043 | form_params = opts[:form_params] || {} |
@@ -5155,7 +5188,10 @@ def request_widget_url_with_http_info(user_guid, widget_request_body, opts = {}) |
5155 | 5188 | # HTTP header 'Accept' (if needed) |
5156 | 5189 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5157 | 5190 | # HTTP header 'Content-Type' |
5158 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5191 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5192 | + if !content_type.nil? |
| 5193 | + header_params['Content-Type'] = content_type |
| 5194 | + end |
5159 | 5195 | header_params[:'Accept-Language'] = opts[:'accept_language'] if !opts[:'accept_language'].nil? |
5160 | 5196 |
|
5161 | 5197 | # form parameters |
@@ -5233,7 +5269,10 @@ def resume_aggregation_with_http_info(member_guid, user_guid, member_resume_requ |
5233 | 5269 | # HTTP header 'Accept' (if needed) |
5234 | 5270 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5235 | 5271 | # HTTP header 'Content-Type' |
5236 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5272 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5273 | + if !content_type.nil? |
| 5274 | + header_params['Content-Type'] = content_type |
| 5275 | + end |
5237 | 5276 |
|
5238 | 5277 | # form parameters |
5239 | 5278 | form_params = opts[:form_params] || {} |
@@ -5316,7 +5355,10 @@ def update_account_by_member_with_http_info(user_guid, member_guid, account_guid |
5316 | 5355 | # HTTP header 'Accept' (if needed) |
5317 | 5356 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5318 | 5357 | # HTTP header 'Content-Type' |
5319 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5358 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5359 | + if !content_type.nil? |
| 5360 | + header_params['Content-Type'] = content_type |
| 5361 | + end |
5320 | 5362 |
|
5321 | 5363 | # form parameters |
5322 | 5364 | form_params = opts[:form_params] || {} |
@@ -5393,7 +5435,10 @@ def update_category_with_http_info(category_guid, user_guid, category_update_req |
5393 | 5435 | # HTTP header 'Accept' (if needed) |
5394 | 5436 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5395 | 5437 | # HTTP header 'Content-Type' |
5396 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5438 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5439 | + if !content_type.nil? |
| 5440 | + header_params['Content-Type'] = content_type |
| 5441 | + end |
5397 | 5442 |
|
5398 | 5443 | # form parameters |
5399 | 5444 | form_params = opts[:form_params] || {} |
@@ -5476,7 +5521,10 @@ def update_managed_account_with_http_info(member_guid, user_guid, account_guid, |
5476 | 5521 | # HTTP header 'Accept' (if needed) |
5477 | 5522 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5478 | 5523 | # HTTP header 'Content-Type' |
5479 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5524 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5525 | + if !content_type.nil? |
| 5526 | + header_params['Content-Type'] = content_type |
| 5527 | + end |
5480 | 5528 |
|
5481 | 5529 | # form parameters |
5482 | 5530 | form_params = opts[:form_params] || {} |
@@ -5553,7 +5601,10 @@ def update_managed_member_with_http_info(member_guid, user_guid, managed_member_ |
5553 | 5601 | # HTTP header 'Accept' (if needed) |
5554 | 5602 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5555 | 5603 | # HTTP header 'Content-Type' |
5556 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5604 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5605 | + if !content_type.nil? |
| 5606 | + header_params['Content-Type'] = content_type |
| 5607 | + end |
5557 | 5608 |
|
5558 | 5609 | # form parameters |
5559 | 5610 | form_params = opts[:form_params] || {} |
@@ -5636,7 +5687,10 @@ def update_managed_transaction_with_http_info(member_guid, user_guid, transactio |
5636 | 5687 | # HTTP header 'Accept' (if needed) |
5637 | 5688 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5638 | 5689 | # HTTP header 'Content-Type' |
5639 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5690 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5691 | + if !content_type.nil? |
| 5692 | + header_params['Content-Type'] = content_type |
| 5693 | + end |
5640 | 5694 |
|
5641 | 5695 | # form parameters |
5642 | 5696 | form_params = opts[:form_params] || {} |
@@ -5713,7 +5767,10 @@ def update_member_with_http_info(member_guid, user_guid, member_update_request_b |
5713 | 5767 | # HTTP header 'Accept' (if needed) |
5714 | 5768 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5715 | 5769 | # HTTP header 'Content-Type' |
5716 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5770 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5771 | + if !content_type.nil? |
| 5772 | + header_params['Content-Type'] = content_type |
| 5773 | + end |
5717 | 5774 |
|
5718 | 5775 | # form parameters |
5719 | 5776 | form_params = opts[:form_params] || {} |
@@ -5790,7 +5847,10 @@ def update_tag_with_http_info(tag_guid, user_guid, tag_update_request_body, opts |
5790 | 5847 | # HTTP header 'Accept' (if needed) |
5791 | 5848 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5792 | 5849 | # HTTP header 'Content-Type' |
5793 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5850 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5851 | + if !content_type.nil? |
| 5852 | + header_params['Content-Type'] = content_type |
| 5853 | + end |
5794 | 5854 |
|
5795 | 5855 | # form parameters |
5796 | 5856 | form_params = opts[:form_params] || {} |
@@ -5867,7 +5927,10 @@ def update_tagging_with_http_info(tagging_guid, user_guid, tagging_update_reques |
5867 | 5927 | # HTTP header 'Accept' (if needed) |
5868 | 5928 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5869 | 5929 | # HTTP header 'Content-Type' |
5870 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 5930 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 5931 | + if !content_type.nil? |
| 5932 | + header_params['Content-Type'] = content_type |
| 5933 | + end |
5871 | 5934 |
|
5872 | 5935 | # form parameters |
5873 | 5936 | form_params = opts[:form_params] || {} |
@@ -5944,7 +6007,10 @@ def update_transaction_with_http_info(transaction_guid, user_guid, transaction_u |
5944 | 6007 | # HTTP header 'Accept' (if needed) |
5945 | 6008 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
5946 | 6009 | # HTTP header 'Content-Type' |
5947 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 6010 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 6011 | + if !content_type.nil? |
| 6012 | + header_params['Content-Type'] = content_type |
| 6013 | + end |
5948 | 6014 |
|
5949 | 6015 | # form parameters |
5950 | 6016 | form_params = opts[:form_params] || {} |
@@ -6021,7 +6087,10 @@ def update_transaction_rule_with_http_info(transaction_rule_guid, user_guid, tra |
6021 | 6087 | # HTTP header 'Accept' (if needed) |
6022 | 6088 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
6023 | 6089 | # HTTP header 'Content-Type' |
6024 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 6090 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 6091 | + if !content_type.nil? |
| 6092 | + header_params['Content-Type'] = content_type |
| 6093 | + end |
6025 | 6094 |
|
6026 | 6095 | # form parameters |
6027 | 6096 | form_params = opts[:form_params] || {} |
@@ -6092,7 +6161,10 @@ def update_user_with_http_info(user_guid, user_update_request_body, opts = {}) |
6092 | 6161 | # HTTP header 'Accept' (if needed) |
6093 | 6162 | header_params['Accept'] = @api_client.select_header_accept(['application/vnd.mx.api.v1+json']) |
6094 | 6163 | # HTTP header 'Content-Type' |
6095 | | - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 6164 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 6165 | + if !content_type.nil? |
| 6166 | + header_params['Content-Type'] = content_type |
| 6167 | + end |
6096 | 6168 |
|
6097 | 6169 | # form parameters |
6098 | 6170 | form_params = opts[:form_params] || {} |
|
0 commit comments