Interface AlloyServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface AlloyServiceAsync.WithRawResponseA view of AlloyServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract AlloyServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<HttpResponseFor<AlloyListResponse>> list()
Returns a raw HTTP response for
get /api/v2/market_data/alloys/, but is otherwise the same as AlloyServiceAsync.list.
-
list
abstract CompletableFuture<HttpResponseFor<AlloyListResponse>> list(AlloyListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<HttpResponseFor<AlloyListResponse>> list(AlloyListParams params)
-
list
CompletableFuture<HttpResponseFor<AlloyListResponse>> list(RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<AlloyRetrieveCurrentPriceResponse>> retrieveCurrentPrice(String alloyId)
Returns a raw HTTP response for
get /api/v2/market_data/alloys/{alloy_id}/current_price, but is otherwise the same as AlloyServiceAsync.retrieveCurrentPrice.
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<AlloyRetrieveCurrentPriceResponse>> retrieveCurrentPrice(String alloyId, AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<AlloyRetrieveCurrentPriceResponse>> retrieveCurrentPrice(String alloyId, AlloyRetrieveCurrentPriceParams params)
-
retrieveCurrentPrice
abstract CompletableFuture<HttpResponseFor<AlloyRetrieveCurrentPriceResponse>> retrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params, RequestOptions requestOptions)
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<AlloyRetrieveCurrentPriceResponse>> retrieveCurrentPrice(AlloyRetrieveCurrentPriceParams params)
-
retrieveCurrentPrice
CompletableFuture<HttpResponseFor<AlloyRetrieveCurrentPriceResponse>> retrieveCurrentPrice(String alloyId, RequestOptions requestOptions)
-
retrieveHistoricalPrices
CompletableFuture<HttpResponseFor<List<AlloyRetrieveHistoricalPricesResponse>>> retrieveHistoricalPrices(String alloyId, AlloyRetrieveHistoricalPricesParams params)
Returns a raw HTTP response for
get /api/v2/market_data/alloys/{alloy_id}/historical_prices/, but is otherwise the same as AlloyServiceAsync.retrieveHistoricalPrices.
-
retrieveHistoricalPrices
CompletableFuture<HttpResponseFor<List<AlloyRetrieveHistoricalPricesResponse>>> retrieveHistoricalPrices(String alloyId, AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
retrieveHistoricalPrices
CompletableFuture<HttpResponseFor<List<AlloyRetrieveHistoricalPricesResponse>>> retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params)
-
retrieveHistoricalPrices
abstract CompletableFuture<HttpResponseFor<List<AlloyRetrieveHistoricalPricesResponse>>> retrieveHistoricalPrices(AlloyRetrieveHistoricalPricesParams params, RequestOptions requestOptions)
-
-
-
-