Interface UsageServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface UsageServiceAsync.WithRawResponseA view of UsageServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract UsageServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<UsageGetResponse>>get(UsageGetParams params)Returns a raw HTTP response for get /v1/accounts/usage, but is otherwise the same as UsageServiceAsync.get.abstract CompletableFuture<HttpResponseFor<UsageGetResponse>>get(UsageGetParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract UsageServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
get
CompletableFuture<HttpResponseFor<UsageGetResponse>> get(UsageGetParams params)
Returns a raw HTTP response for
get /v1/accounts/usage, but is otherwise the same as UsageServiceAsync.get.
-
get
abstract CompletableFuture<HttpResponseFor<UsageGetResponse>> get(UsageGetParams params, RequestOptions requestOptions)
-
-
-
-