|
6 | 6 | The version of the OpenAPI document: v1
|
7 | 7 |
|
8 | 8 | Generated by: https://openapi-generator.tech
|
9 |
| -OpenAPI Generator version: 5.2.1 |
| 9 | +OpenAPI Generator version: 5.3.1 |
10 | 10 |
|
11 | 11 | =end
|
12 | 12 |
|
@@ -65,7 +65,10 @@ def create_bitcoin_estimate_with_http_info(create_bitcoin_estimate_request, opts
|
65 | 65 | # HTTP header 'Accept' (if needed)
|
66 | 66 | header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
67 | 67 | # HTTP header 'Content-Type'
|
68 |
| - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 68 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 69 | + if !content_type.nil? |
| 70 | + header_params['Content-Type'] = content_type |
| 71 | + end |
69 | 72 |
|
70 | 73 | # form parameters
|
71 | 74 | form_params = opts[:form_params] || {}
|
@@ -131,7 +134,10 @@ def create_ethereum_estimate_with_http_info(create_ethereum_estimate_request, op
|
131 | 134 | # HTTP header 'Accept' (if needed)
|
132 | 135 | header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
133 | 136 | # HTTP header 'Content-Type'
|
134 |
| - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 137 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 138 | + if !content_type.nil? |
| 139 | + header_params['Content-Type'] = content_type |
| 140 | + end |
135 | 141 |
|
136 | 142 | # form parameters
|
137 | 143 | form_params = opts[:form_params] || {}
|
@@ -197,7 +203,10 @@ def create_flight_estimate_with_http_info(create_flight_estimate_request, opts =
|
197 | 203 | # HTTP header 'Accept' (if needed)
|
198 | 204 | header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
199 | 205 | # HTTP header 'Content-Type'
|
200 |
| - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 206 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 207 | + if !content_type.nil? |
| 208 | + header_params['Content-Type'] = content_type |
| 209 | + end |
201 | 210 |
|
202 | 211 | # form parameters
|
203 | 212 | form_params = opts[:form_params] || {}
|
@@ -263,7 +272,10 @@ def create_mass_estimate_with_http_info(create_mass_estimate_request, opts = {})
|
263 | 272 | # HTTP header 'Accept' (if needed)
|
264 | 273 | header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
265 | 274 | # HTTP header 'Content-Type'
|
266 |
| - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 275 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 276 | + if !content_type.nil? |
| 277 | + header_params['Content-Type'] = content_type |
| 278 | + end |
267 | 279 |
|
268 | 280 | # form parameters
|
269 | 281 | form_params = opts[:form_params] || {}
|
@@ -329,7 +341,10 @@ def create_shipping_estimate_with_http_info(create_shipping_estimate_request, op
|
329 | 341 | # HTTP header 'Accept' (if needed)
|
330 | 342 | header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
331 | 343 | # HTTP header 'Content-Type'
|
332 |
| - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 344 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 345 | + if !content_type.nil? |
| 346 | + header_params['Content-Type'] = content_type |
| 347 | + end |
333 | 348 |
|
334 | 349 | # form parameters
|
335 | 350 | form_params = opts[:form_params] || {}
|
@@ -395,7 +410,10 @@ def create_vehicle_estimate_with_http_info(create_vehicle_estimate_request, opts
|
395 | 410 | # HTTP header 'Accept' (if needed)
|
396 | 411 | header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
397 | 412 | # HTTP header 'Content-Type'
|
398 |
| - header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) |
| 413 | + content_type = @api_client.select_header_content_type(['application/json']) |
| 414 | + if !content_type.nil? |
| 415 | + header_params['Content-Type'] = content_type |
| 416 | + end |
399 | 417 |
|
400 | 418 | # form parameters
|
401 | 419 | form_params = opts[:form_params] || {}
|
@@ -432,7 +450,7 @@ def create_vehicle_estimate_with_http_info(create_vehicle_estimate_request, opts
|
432 | 450 | # @param [Hash] opts the optional parameters
|
433 | 451 | # @return [EstimateResponse]
|
434 | 452 | def retrieve_estimate(id, opts = {})
|
435 |
| - |
| 453 | + |
436 | 454 | data, _status_code, _headers = retrieve_estimate_with_http_info(id, opts)
|
437 | 455 | data
|
438 | 456 | end
|
@@ -496,7 +514,7 @@ def retrieve_estimate_with_http_info(id, opts = {})
|
496 | 514 | # @option opts [Integer] :page
|
497 | 515 | # @return [EstimateListResponse]
|
498 | 516 | def retrieve_estimates(opts = {})
|
499 |
| - |
| 517 | + |
500 | 518 | data, _status_code, _headers = retrieve_estimates_with_http_info(opts)
|
501 | 519 | data
|
502 | 520 | end
|
|
0 commit comments