|
6 | 6 | The version of the OpenAPI document: v1
|
7 | 7 |
|
8 | 8 | Generated by: https://openapi-generator.tech
|
9 |
| -OpenAPI Generator version: 4.3.1 |
| 9 | +OpenAPI Generator version: 5.2.1 |
10 | 10 |
|
11 | 11 | =end
|
12 | 12 |
|
@@ -70,15 +70,16 @@ def create_bitcoin_estimate_with_http_info(create_bitcoin_estimate_request, opts
|
70 | 70 | form_params = opts[:form_params] || {}
|
71 | 71 |
|
72 | 72 | # http body (model)
|
73 |
| - post_body = opts[:body] || @api_client.object_to_http_body(create_bitcoin_estimate_request) |
| 73 | + post_body = opts[:debug_body] || @api_client.object_to_http_body(create_bitcoin_estimate_request) |
74 | 74 |
|
75 | 75 | # return_type
|
76 |
| - return_type = opts[:return_type] || 'EstimateResponse' |
| 76 | + return_type = opts[:debug_return_type] || 'EstimateResponse' |
77 | 77 |
|
78 | 78 | # auth_names
|
79 |
| - auth_names = opts[:auth_names] || ['bearer_auth'] |
| 79 | + auth_names = opts[:debug_auth_names] || ['bearer_auth'] |
80 | 80 |
|
81 | 81 | new_options = opts.merge(
|
| 82 | + :operation => :"EstimatesApi.create_bitcoin_estimate", |
82 | 83 | :header_params => header_params,
|
83 | 84 | :query_params => query_params,
|
84 | 85 | :form_params => form_params,
|
@@ -134,15 +135,16 @@ def create_ethereum_estimate_with_http_info(create_ethereum_estimate_request, op
|
134 | 135 | form_params = opts[:form_params] || {}
|
135 | 136 |
|
136 | 137 | # http body (model)
|
137 |
| - post_body = opts[:body] || @api_client.object_to_http_body(create_ethereum_estimate_request) |
| 138 | + post_body = opts[:debug_body] || @api_client.object_to_http_body(create_ethereum_estimate_request) |
138 | 139 |
|
139 | 140 | # return_type
|
140 |
| - return_type = opts[:return_type] || 'EstimateResponse' |
| 141 | + return_type = opts[:debug_return_type] || 'EstimateResponse' |
141 | 142 |
|
142 | 143 | # auth_names
|
143 |
| - auth_names = opts[:auth_names] || ['bearer_auth'] |
| 144 | + auth_names = opts[:debug_auth_names] || ['bearer_auth'] |
144 | 145 |
|
145 | 146 | new_options = opts.merge(
|
| 147 | + :operation => :"EstimatesApi.create_ethereum_estimate", |
146 | 148 | :header_params => header_params,
|
147 | 149 | :query_params => query_params,
|
148 | 150 | :form_params => form_params,
|
@@ -198,15 +200,16 @@ def create_flight_estimate_with_http_info(create_flight_estimate_request, opts =
|
198 | 200 | form_params = opts[:form_params] || {}
|
199 | 201 |
|
200 | 202 | # http body (model)
|
201 |
| - post_body = opts[:body] || @api_client.object_to_http_body(create_flight_estimate_request) |
| 203 | + post_body = opts[:debug_body] || @api_client.object_to_http_body(create_flight_estimate_request) |
202 | 204 |
|
203 | 205 | # return_type
|
204 |
| - return_type = opts[:return_type] || 'EstimateResponse' |
| 206 | + return_type = opts[:debug_return_type] || 'EstimateResponse' |
205 | 207 |
|
206 | 208 | # auth_names
|
207 |
| - auth_names = opts[:auth_names] || ['bearer_auth'] |
| 209 | + auth_names = opts[:debug_auth_names] || ['bearer_auth'] |
208 | 210 |
|
209 | 211 | new_options = opts.merge(
|
| 212 | + :operation => :"EstimatesApi.create_flight_estimate", |
210 | 213 | :header_params => header_params,
|
211 | 214 | :query_params => query_params,
|
212 | 215 | :form_params => form_params,
|
@@ -262,15 +265,16 @@ def create_mass_estimate_with_http_info(create_mass_estimate_request, opts = {})
|
262 | 265 | form_params = opts[:form_params] || {}
|
263 | 266 |
|
264 | 267 | # http body (model)
|
265 |
| - post_body = opts[:body] || @api_client.object_to_http_body(create_mass_estimate_request) |
| 268 | + post_body = opts[:debug_body] || @api_client.object_to_http_body(create_mass_estimate_request) |
266 | 269 |
|
267 | 270 | # return_type
|
268 |
| - return_type = opts[:return_type] || 'EstimateResponse' |
| 271 | + return_type = opts[:debug_return_type] || 'EstimateResponse' |
269 | 272 |
|
270 | 273 | # auth_names
|
271 |
| - auth_names = opts[:auth_names] || ['bearer_auth'] |
| 274 | + auth_names = opts[:debug_auth_names] || ['bearer_auth'] |
272 | 275 |
|
273 | 276 | new_options = opts.merge(
|
| 277 | + :operation => :"EstimatesApi.create_mass_estimate", |
274 | 278 | :header_params => header_params,
|
275 | 279 | :query_params => query_params,
|
276 | 280 | :form_params => form_params,
|
@@ -326,15 +330,16 @@ def create_shipping_estimate_with_http_info(create_shipping_estimate_request, op
|
326 | 330 | form_params = opts[:form_params] || {}
|
327 | 331 |
|
328 | 332 | # http body (model)
|
329 |
| - post_body = opts[:body] || @api_client.object_to_http_body(create_shipping_estimate_request) |
| 333 | + post_body = opts[:debug_body] || @api_client.object_to_http_body(create_shipping_estimate_request) |
330 | 334 |
|
331 | 335 | # return_type
|
332 |
| - return_type = opts[:return_type] || 'EstimateResponse' |
| 336 | + return_type = opts[:debug_return_type] || 'EstimateResponse' |
333 | 337 |
|
334 | 338 | # auth_names
|
335 |
| - auth_names = opts[:auth_names] || ['bearer_auth'] |
| 339 | + auth_names = opts[:debug_auth_names] || ['bearer_auth'] |
336 | 340 |
|
337 | 341 | new_options = opts.merge(
|
| 342 | + :operation => :"EstimatesApi.create_shipping_estimate", |
338 | 343 | :header_params => header_params,
|
339 | 344 | :query_params => query_params,
|
340 | 345 | :form_params => form_params,
|
@@ -390,15 +395,16 @@ def create_vehicle_estimate_with_http_info(create_vehicle_estimate_request, opts
|
390 | 395 | form_params = opts[:form_params] || {}
|
391 | 396 |
|
392 | 397 | # http body (model)
|
393 |
| - post_body = opts[:body] || @api_client.object_to_http_body(create_vehicle_estimate_request) |
| 398 | + post_body = opts[:debug_body] || @api_client.object_to_http_body(create_vehicle_estimate_request) |
394 | 399 |
|
395 | 400 | # return_type
|
396 |
| - return_type = opts[:return_type] || 'EstimateResponse' |
| 401 | + return_type = opts[:debug_return_type] || 'EstimateResponse' |
397 | 402 |
|
398 | 403 | # auth_names
|
399 |
| - auth_names = opts[:auth_names] || ['bearer_auth'] |
| 404 | + auth_names = opts[:debug_auth_names] || ['bearer_auth'] |
400 | 405 |
|
401 | 406 | new_options = opts.merge(
|
| 407 | + :operation => :"EstimatesApi.create_vehicle_estimate", |
402 | 408 | :header_params => header_params,
|
403 | 409 | :query_params => query_params,
|
404 | 410 | :form_params => form_params,
|
@@ -452,15 +458,16 @@ def retrieve_estimate_with_http_info(id, opts = {})
|
452 | 458 | form_params = opts[:form_params] || {}
|
453 | 459 |
|
454 | 460 | # http body (model)
|
455 |
| - post_body = opts[:body] |
| 461 | + post_body = opts[:debug_body] |
456 | 462 |
|
457 | 463 | # return_type
|
458 |
| - return_type = opts[:return_type] || 'EstimateResponse' |
| 464 | + return_type = opts[:debug_return_type] || 'EstimateResponse' |
459 | 465 |
|
460 | 466 | # auth_names
|
461 |
| - auth_names = opts[:auth_names] || ['bearer_auth'] |
| 467 | + auth_names = opts[:debug_auth_names] || ['bearer_auth'] |
462 | 468 |
|
463 | 469 | new_options = opts.merge(
|
| 470 | + :operation => :"EstimatesApi.retrieve_estimate", |
464 | 471 | :header_params => header_params,
|
465 | 472 | :query_params => query_params,
|
466 | 473 | :form_params => form_params,
|
@@ -511,15 +518,16 @@ def retrieve_estimates_with_http_info(opts = {})
|
511 | 518 | form_params = opts[:form_params] || {}
|
512 | 519 |
|
513 | 520 | # http body (model)
|
514 |
| - post_body = opts[:body] |
| 521 | + post_body = opts[:debug_body] |
515 | 522 |
|
516 | 523 | # return_type
|
517 |
| - return_type = opts[:return_type] || 'EstimateListResponse' |
| 524 | + return_type = opts[:debug_return_type] || 'EstimateListResponse' |
518 | 525 |
|
519 | 526 | # auth_names
|
520 |
| - auth_names = opts[:auth_names] || ['bearer_auth'] |
| 527 | + auth_names = opts[:debug_auth_names] || ['bearer_auth'] |
521 | 528 |
|
522 | 529 | new_options = opts.merge(
|
| 530 | + :operation => :"EstimatesApi.retrieve_estimates", |
523 | 531 | :header_params => header_params,
|
524 | 532 | :query_params => query_params,
|
525 | 533 | :form_params => form_params,
|
|
0 commit comments