@@ -35,8 +35,9 @@ def initialize(api_client = ApiClient.default)
35
35
# @param create_bitcoin_estimate_request [CreateBitcoinEstimateRequest]
36
36
# @param [Hash] opts the optional parameters
37
37
# @return [EstimateResponse]
38
- def create_bitcoin_estimate ( create_bitcoin_estimate_request , opts = { } )
39
- data , _status_code , _headers = create_bitcoin_estimate_with_http_info ( create_bitcoin_estimate_request , opts )
38
+ def create_bitcoin_estimate ( create_bitcoin_estimate_request = { } , opts = { } )
39
+ _create_bitcoin_estimate_request = Patch ::CreateBitcoinEstimateRequest . new ( create_bitcoin_estimate_request )
40
+ data , _status_code , _headers = create_bitcoin_estimate_with_http_info ( _create_bitcoin_estimate_request , opts )
40
41
data
41
42
end
42
43
@@ -100,8 +101,9 @@ def create_bitcoin_estimate_with_http_info(create_bitcoin_estimate_request, opts
100
101
# @param create_ethereum_estimate_request [CreateEthereumEstimateRequest]
101
102
# @param [Hash] opts the optional parameters
102
103
# @return [EstimateResponse]
103
- def create_ethereum_estimate ( create_ethereum_estimate_request , opts = { } )
104
- data , _status_code , _headers = create_ethereum_estimate_with_http_info ( create_ethereum_estimate_request , opts )
104
+ def create_ethereum_estimate ( create_ethereum_estimate_request = { } , opts = { } )
105
+ _create_ethereum_estimate_request = Patch ::CreateEthereumEstimateRequest . new ( create_ethereum_estimate_request )
106
+ data , _status_code , _headers = create_ethereum_estimate_with_http_info ( _create_ethereum_estimate_request , opts )
105
107
data
106
108
end
107
109
@@ -165,8 +167,9 @@ def create_ethereum_estimate_with_http_info(create_ethereum_estimate_request, op
165
167
# @param create_flight_estimate_request [CreateFlightEstimateRequest]
166
168
# @param [Hash] opts the optional parameters
167
169
# @return [EstimateResponse]
168
- def create_flight_estimate ( create_flight_estimate_request , opts = { } )
169
- data , _status_code , _headers = create_flight_estimate_with_http_info ( create_flight_estimate_request , opts )
170
+ def create_flight_estimate ( create_flight_estimate_request = { } , opts = { } )
171
+ _create_flight_estimate_request = Patch ::CreateFlightEstimateRequest . new ( create_flight_estimate_request )
172
+ data , _status_code , _headers = create_flight_estimate_with_http_info ( _create_flight_estimate_request , opts )
170
173
data
171
174
end
172
175
@@ -230,8 +233,9 @@ def create_flight_estimate_with_http_info(create_flight_estimate_request, opts =
230
233
# @param create_mass_estimate_request [CreateMassEstimateRequest]
231
234
# @param [Hash] opts the optional parameters
232
235
# @return [EstimateResponse]
233
- def create_mass_estimate ( create_mass_estimate_request , opts = { } )
234
- data , _status_code , _headers = create_mass_estimate_with_http_info ( create_mass_estimate_request , opts )
236
+ def create_mass_estimate ( create_mass_estimate_request = { } , opts = { } )
237
+ _create_mass_estimate_request = Patch ::CreateMassEstimateRequest . new ( create_mass_estimate_request )
238
+ data , _status_code , _headers = create_mass_estimate_with_http_info ( _create_mass_estimate_request , opts )
235
239
data
236
240
end
237
241
@@ -295,8 +299,9 @@ def create_mass_estimate_with_http_info(create_mass_estimate_request, opts = {})
295
299
# @param create_shipping_estimate_request [CreateShippingEstimateRequest]
296
300
# @param [Hash] opts the optional parameters
297
301
# @return [EstimateResponse]
298
- def create_shipping_estimate ( create_shipping_estimate_request , opts = { } )
299
- data , _status_code , _headers = create_shipping_estimate_with_http_info ( create_shipping_estimate_request , opts )
302
+ def create_shipping_estimate ( create_shipping_estimate_request = { } , opts = { } )
303
+ _create_shipping_estimate_request = Patch ::CreateShippingEstimateRequest . new ( create_shipping_estimate_request )
304
+ data , _status_code , _headers = create_shipping_estimate_with_http_info ( _create_shipping_estimate_request , opts )
300
305
data
301
306
end
302
307
@@ -360,8 +365,9 @@ def create_shipping_estimate_with_http_info(create_shipping_estimate_request, op
360
365
# @param create_vehicle_estimate_request [CreateVehicleEstimateRequest]
361
366
# @param [Hash] opts the optional parameters
362
367
# @return [EstimateResponse]
363
- def create_vehicle_estimate ( create_vehicle_estimate_request , opts = { } )
364
- data , _status_code , _headers = create_vehicle_estimate_with_http_info ( create_vehicle_estimate_request , opts )
368
+ def create_vehicle_estimate ( create_vehicle_estimate_request = { } , opts = { } )
369
+ _create_vehicle_estimate_request = Patch ::CreateVehicleEstimateRequest . new ( create_vehicle_estimate_request )
370
+ data , _status_code , _headers = create_vehicle_estimate_with_http_info ( _create_vehicle_estimate_request , opts )
365
371
data
366
372
end
367
373
@@ -426,6 +432,7 @@ def create_vehicle_estimate_with_http_info(create_vehicle_estimate_request, opts
426
432
# @param [Hash] opts the optional parameters
427
433
# @return [EstimateResponse]
428
434
def retrieve_estimate ( id , opts = { } )
435
+
429
436
data , _status_code , _headers = retrieve_estimate_with_http_info ( id , opts )
430
437
data
431
438
end
@@ -489,6 +496,7 @@ def retrieve_estimate_with_http_info(id, opts = {})
489
496
# @option opts [Integer] :page
490
497
# @return [EstimateListResponse]
491
498
def retrieve_estimates ( opts = { } )
499
+
492
500
data , _status_code , _headers = retrieve_estimates_with_http_info ( opts )
493
501
data
494
502
end
0 commit comments