Class PricesBankApi
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.api.PricesBankApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-11T17:07:45.859925Z[Etc/UTC]") public class PricesBankApi extends Object
-
-
Constructor Summary
Constructors Constructor Description PricesBankApi()PricesBankApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()reactor.core.publisher.Flux<SymbolPriceBankModel>listPrices(String symbol, String bankGuid)Get Price Retrieves a listing of symbol prices.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SymbolPriceBankModel>>>listPricesWithHttpInfo(String symbol, String bankGuid)voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
PricesBankApi
public PricesBankApi()
-
PricesBankApi
@Autowired public PricesBankApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
listPrices
public reactor.core.publisher.Flux<SymbolPriceBankModel> listPrices(String symbol, String bankGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
Get Price Retrieves a listing of symbol prices. ## Symbols Symbol are pairs and are in the format asset-counter_asset, e.g., 'BTC-USD' for the Bitcoin/ USD pair. See the Symbols API for a complete list of cryptocurrencies supported. Required scope: **prices:read**200 - get list of price
400 - Invalid requests
401 - Unauthorized - Authentication failed,
403 - Invalid scope
- Parameters:
symbol- Comma separated symbols to list prices for.bankGuid- The bank identifier to retrieve prices for.- Returns:
- List<SymbolPriceBankModel>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
listPricesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SymbolPriceBankModel>>> listPricesWithHttpInfo(String symbol, String bankGuid) throws org.springframework.web.reactive.function.client.WebClientResponseException
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
-