@@ -35,8 +35,9 @@ def initialize(api_client = ApiClient.default)
3535 # @param create_bitcoin_estimate_request [CreateBitcoinEstimateRequest]
3636 # @param [Hash] opts the optional parameters
3737 # @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 )
4041 data
4142 end
4243
@@ -100,8 +101,9 @@ def create_bitcoin_estimate_with_http_info(create_bitcoin_estimate_request, opts
100101 # @param create_ethereum_estimate_request [CreateEthereumEstimateRequest]
101102 # @param [Hash] opts the optional parameters
102103 # @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 )
105107 data
106108 end
107109
@@ -165,8 +167,9 @@ def create_ethereum_estimate_with_http_info(create_ethereum_estimate_request, op
165167 # @param create_flight_estimate_request [CreateFlightEstimateRequest]
166168 # @param [Hash] opts the optional parameters
167169 # @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 )
170173 data
171174 end
172175
@@ -230,8 +233,9 @@ def create_flight_estimate_with_http_info(create_flight_estimate_request, opts =
230233 # @param create_mass_estimate_request [CreateMassEstimateRequest]
231234 # @param [Hash] opts the optional parameters
232235 # @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 )
235239 data
236240 end
237241
@@ -295,8 +299,9 @@ def create_mass_estimate_with_http_info(create_mass_estimate_request, opts = {})
295299 # @param create_shipping_estimate_request [CreateShippingEstimateRequest]
296300 # @param [Hash] opts the optional parameters
297301 # @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 )
300305 data
301306 end
302307
@@ -360,8 +365,9 @@ def create_shipping_estimate_with_http_info(create_shipping_estimate_request, op
360365 # @param create_vehicle_estimate_request [CreateVehicleEstimateRequest]
361366 # @param [Hash] opts the optional parameters
362367 # @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 )
365371 data
366372 end
367373
@@ -426,6 +432,7 @@ def create_vehicle_estimate_with_http_info(create_vehicle_estimate_request, opts
426432 # @param [Hash] opts the optional parameters
427433 # @return [EstimateResponse]
428434 def retrieve_estimate ( id , opts = { } )
435+
429436 data , _status_code , _headers = retrieve_estimate_with_http_info ( id , opts )
430437 data
431438 end
@@ -489,6 +496,7 @@ def retrieve_estimate_with_http_info(id, opts = {})
489496 # @option opts [Integer] :page
490497 # @return [EstimateListResponse]
491498 def retrieve_estimates ( opts = { } )
499+
492500 data , _status_code , _headers = retrieve_estimates_with_http_info ( opts )
493501 data
494502 end
0 commit comments