All Downloads are FREE. Search and download functionalities are using the official Maven repository.

travel.wink.sdk.reference.api.ReferenceApi Maven / Gradle / Ivy

package travel.wink.sdk.reference.api;

import travel.wink.sdk.reference.invoker.ApiClient;

import travel.wink.sdk.reference.model.CountResponseNonAuthenticatedEntity;
import travel.wink.sdk.reference.model.CountryNonAuthenticatedEntity;
import travel.wink.sdk.reference.model.GenericErrorMessage;
import travel.wink.sdk.reference.model.KeyValuePairNonAuthenticatedEntity;
import travel.wink.sdk.reference.model.LanguageNonAuthenticatedEntity;
import travel.wink.sdk.reference.model.PageExchangeRateViewNonAuthenticatedEntity;
import travel.wink.sdk.reference.model.QuoteNonAuthenticatedEntity;
import travel.wink.sdk.reference.model.ShowSocialNetworks400Response;

import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.stream.Collectors;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.core.ParameterizedTypeReference;
import org.springframework.web.reactive.function.client.WebClient.ResponseSpec;
import org.springframework.web.reactive.function.client.WebClientResponseException;
import org.springframework.core.io.FileSystemResource;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import reactor.core.publisher.Mono;
import reactor.core.publisher.Flux;

@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-12T22:13:10.849365571+07:00[Asia/Bangkok]")
public class ReferenceApi {
    private ApiClient apiClient;

    public ReferenceApi() {
        this(new ApiClient());
    }

    @Autowired
    public ReferenceApi(ApiClient apiClient) {
        this.apiClient = apiClient;
    }

    public ApiClient getApiClient() {
        return apiClient;
    }

    public void setApiClient(ApiClient apiClient) {
        this.apiClient = apiClient;
    }

    /**
     * Show All Exchange Rates
     * Show exchange rates for target currency and all payment-supported currencies.
     * 

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param page The page parameter * @param size The size parameter * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return PageExchangeRateViewNonAuthenticatedEntity * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showAllExchangeRatesRequestCreation(Integer page, Integer size, String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'page' is set if (page == null) { throw new WebClientResponseException("Missing the required parameter 'page' when calling showAllExchangeRates", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'size' is set if (size == null) { throw new WebClientResponseException("Missing the required parameter 'size' when calling showAllExchangeRates", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); queryParams.putAll(apiClient.parameterToMultiValueMap(null, "page", page)); queryParams.putAll(apiClient.parameterToMultiValueMap(null, "size", size)); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); if (accept != null) headerParams.add("Accept", apiClient.parameterToString(accept)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/fx", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show All Exchange Rates * Show exchange rates for target currency and all payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param page The page parameter * @param size The size parameter * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return PageExchangeRateViewNonAuthenticatedEntity * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono showAllExchangeRates(Integer page, Integer size, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAllExchangeRatesRequestCreation(page, size, winkVersion, accept).bodyToMono(localVarReturnType); } /** * Show All Exchange Rates * Show exchange rates for target currency and all payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param page The page parameter * @param size The size parameter * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<PageExchangeRateViewNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> showAllExchangeRatesWithHttpInfo(Integer page, Integer size, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAllExchangeRatesRequestCreation(page, size, winkVersion, accept).toEntity(localVarReturnType); } /** * Show All Exchange Rates * Show exchange rates for target currency and all payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param page The page parameter * @param size The size parameter * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showAllExchangeRatesWithResponseSpec(Integer page, Integer size, String winkVersion, String accept) throws WebClientResponseException { return showAllExchangeRatesRequestCreation(page, size, winkVersion, accept); } /** * Show OTA Codes * Shows payment-supported OTA codes based on given category. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param category Requested OTA code * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showAvailableCodesForCategoryRequestCreation(String category, String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'category' is set if (category == null) { throw new WebClientResponseException("Missing the required parameter 'category' when calling showAvailableCodesForCategory", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("category", category); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); if (accept != null) headerParams.add("Accept", apiClient.parameterToString(accept)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/ota/{category}", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show OTA Codes * Shows payment-supported OTA codes based on given category. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param category Requested OTA code * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showAvailableCodesForCategory(String category, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAvailableCodesForCategoryRequestCreation(category, winkVersion, accept).bodyToFlux(localVarReturnType); } /** * Show OTA Codes * Shows payment-supported OTA codes based on given category. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param category Requested OTA code * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<List<KeyValuePairNonAuthenticatedEntity>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showAvailableCodesForCategoryWithHttpInfo(String category, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAvailableCodesForCategoryRequestCreation(category, winkVersion, accept).toEntityList(localVarReturnType); } /** * Show OTA Codes * Shows payment-supported OTA codes based on given category. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param category Requested OTA code * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showAvailableCodesForCategoryWithResponseSpec(String category, String winkVersion, String accept) throws WebClientResponseException { return showAvailableCodesForCategoryRequestCreation(category, winkVersion, accept); } /** * Show OTA Category Codes * Shows payment-supported OTA categories. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showAvailableOtaCategoriesRequestCreation(String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // create path and map variables final Map pathParams = new HashMap(); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); if (accept != null) headerParams.add("Accept", apiClient.parameterToString(accept)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/ota/list", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show OTA Category Codes * Shows payment-supported OTA categories. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showAvailableOtaCategories(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAvailableOtaCategoriesRequestCreation(winkVersion, accept).bodyToFlux(localVarReturnType); } /** * Show OTA Category Codes * Shows payment-supported OTA categories. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<List<KeyValuePairNonAuthenticatedEntity>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showAvailableOtaCategoriesWithHttpInfo(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAvailableOtaCategoriesRequestCreation(winkVersion, accept).toEntityList(localVarReturnType); } /** * Show OTA Category Codes * Shows payment-supported OTA categories. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showAvailableOtaCategoriesWithResponseSpec(String winkVersion, String accept) throws WebClientResponseException { return showAvailableOtaCategoriesRequestCreation(winkVersion, accept); } /** * Show Countries * Show list of payment-supported countries. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<CountryNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showCountries1RequestCreation(String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // create path and map variables final Map pathParams = new HashMap(); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); if (accept != null) headerParams.add("Accept", apiClient.parameterToString(accept)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/country/list", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Countries * Show list of payment-supported countries. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<CountryNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showCountries1(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showCountries1RequestCreation(winkVersion, accept).bodyToFlux(localVarReturnType); } /** * Show Countries * Show list of payment-supported countries. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<List<CountryNonAuthenticatedEntity>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showCountries1WithHttpInfo(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showCountries1RequestCreation(winkVersion, accept).toEntityList(localVarReturnType); } /** * Show Countries * Show list of payment-supported countries. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showCountries1WithResponseSpec(String winkVersion, String accept) throws WebClientResponseException { return showCountries1RequestCreation(winkVersion, accept); } /** * Show Currencies * List of payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @return List<String> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showCurrenciesRequestCreation() throws WebClientResponseException { Object postBody = null; // create path and map variables final Map pathParams = new HashMap(); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference> localVarReturnType = new ParameterizedTypeReference>() {}; return apiClient.invokeAPI("/reference-data/currency/list", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Currencies * List of payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @return List<String> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> showCurrencies() throws WebClientResponseException { ParameterizedTypeReference> localVarReturnType = new ParameterizedTypeReference>() {}; return showCurrenciesRequestCreation().bodyToMono(localVarReturnType); } /** * Show Currencies * List of payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @return ResponseEntity<List<String>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showCurrenciesWithHttpInfo() throws WebClientResponseException { ParameterizedTypeReference> localVarReturnType = new ParameterizedTypeReference>() {}; return showCurrenciesRequestCreation().toEntity(localVarReturnType); } /** * Show Currencies * List of payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showCurrenciesWithResponseSpec() throws WebClientResponseException { return showCurrenciesRequestCreation(); } /** * Show Exchange Rate * Show exchange rate between target and source currency *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param sourceCurrency The sourceCurrency parameter * @param targetCurrency The targetCurrency parameter * @param winkVersion The winkVersion parameter * @return QuoteNonAuthenticatedEntity * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showExchangeRateRequestCreation(String sourceCurrency, String targetCurrency, String winkVersion) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'sourceCurrency' is set if (sourceCurrency == null) { throw new WebClientResponseException("Missing the required parameter 'sourceCurrency' when calling showExchangeRate", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'targetCurrency' is set if (targetCurrency == null) { throw new WebClientResponseException("Missing the required parameter 'targetCurrency' when calling showExchangeRate", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("sourceCurrency", sourceCurrency); pathParams.put("targetCurrency", targetCurrency); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/fx/{sourceCurrency}/{targetCurrency}", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Exchange Rate * Show exchange rate between target and source currency *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param sourceCurrency The sourceCurrency parameter * @param targetCurrency The targetCurrency parameter * @param winkVersion The winkVersion parameter * @return QuoteNonAuthenticatedEntity * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono showExchangeRate(String sourceCurrency, String targetCurrency, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showExchangeRateRequestCreation(sourceCurrency, targetCurrency, winkVersion).bodyToMono(localVarReturnType); } /** * Show Exchange Rate * Show exchange rate between target and source currency *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param sourceCurrency The sourceCurrency parameter * @param targetCurrency The targetCurrency parameter * @param winkVersion The winkVersion parameter * @return ResponseEntity<QuoteNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> showExchangeRateWithHttpInfo(String sourceCurrency, String targetCurrency, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showExchangeRateRequestCreation(sourceCurrency, targetCurrency, winkVersion).toEntity(localVarReturnType); } /** * Show Exchange Rate * Show exchange rate between target and source currency *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param sourceCurrency The sourceCurrency parameter * @param targetCurrency The targetCurrency parameter * @param winkVersion The winkVersion parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showExchangeRateWithResponseSpec(String sourceCurrency, String targetCurrency, String winkVersion) throws WebClientResponseException { return showExchangeRateRequestCreation(sourceCurrency, targetCurrency, winkVersion); } /** * Show Exchange Rates Count * Returns a count of number of quotes available. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return CountResponseNonAuthenticatedEntity * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showExchangeRateCountRequestCreation(String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // create path and map variables final Map pathParams = new HashMap(); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); if (accept != null) headerParams.add("Accept", apiClient.parameterToString(accept)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/fx/count", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Exchange Rates Count * Returns a count of number of quotes available. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return CountResponseNonAuthenticatedEntity * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono showExchangeRateCount(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showExchangeRateCountRequestCreation(winkVersion, accept).bodyToMono(localVarReturnType); } /** * Show Exchange Rates Count * Returns a count of number of quotes available. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<CountResponseNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> showExchangeRateCountWithHttpInfo(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showExchangeRateCountRequestCreation(winkVersion, accept).toEntity(localVarReturnType); } /** * Show Exchange Rates Count * Returns a count of number of quotes available. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showExchangeRateCountWithResponseSpec(String winkVersion, String accept) throws WebClientResponseException { return showExchangeRateCountRequestCreation(winkVersion, accept); } /** * Show Exchange Rates * Show exchange rates for target currency and all payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param currency The currency parameter * @param winkVersion The winkVersion parameter * @return List<QuoteNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showExchangeRateForTargetCurrencyRequestCreation(String currency, String winkVersion) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'currency' is set if (currency == null) { throw new WebClientResponseException("Missing the required parameter 'currency' when calling showExchangeRateForTargetCurrency", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("currency", currency); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/fx/{currency}", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Exchange Rates * Show exchange rates for target currency and all payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param currency The currency parameter * @param winkVersion The winkVersion parameter * @return List<QuoteNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showExchangeRateForTargetCurrency(String currency, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showExchangeRateForTargetCurrencyRequestCreation(currency, winkVersion).bodyToFlux(localVarReturnType); } /** * Show Exchange Rates * Show exchange rates for target currency and all payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param currency The currency parameter * @param winkVersion The winkVersion parameter * @return ResponseEntity<List<QuoteNonAuthenticatedEntity>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showExchangeRateForTargetCurrencyWithHttpInfo(String currency, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showExchangeRateForTargetCurrencyRequestCreation(currency, winkVersion).toEntityList(localVarReturnType); } /** * Show Exchange Rates * Show exchange rates for target currency and all payment-supported currencies. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param currency The currency parameter * @param winkVersion The winkVersion parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showExchangeRateForTargetCurrencyWithResponseSpec(String currency, String winkVersion) throws WebClientResponseException { return showExchangeRateForTargetCurrencyRequestCreation(currency, winkVersion); } /** * Hotel Name Search * Search for property by name. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param name The name parameter * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showHotelNamesRequestCreation(String name, String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'name' is set if (name == null) { throw new WebClientResponseException("Missing the required parameter 'name' when calling showHotelNames", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("name", name); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); if (accept != null) headerParams.add("Accept", apiClient.parameterToString(accept)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/lookup/property/{name}", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Hotel Name Search * Search for property by name. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param name The name parameter * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showHotelNames(String name, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showHotelNamesRequestCreation(name, winkVersion, accept).bodyToFlux(localVarReturnType); } /** * Hotel Name Search * Search for property by name. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param name The name parameter * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<List<KeyValuePairNonAuthenticatedEntity>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showHotelNamesWithHttpInfo(String name, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showHotelNamesRequestCreation(name, winkVersion, accept).toEntityList(localVarReturnType); } /** * Hotel Name Search * Search for property by name. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param name The name parameter * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showHotelNamesWithResponseSpec(String name, String winkVersion, String accept) throws WebClientResponseException { return showHotelNamesRequestCreation(name, winkVersion, accept); } /** * Show Languages * Retrieve list of system languages *

503 - Service Unavailable *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @return List<LanguageNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showLanguagesRequestCreation() throws WebClientResponseException { Object postBody = null; // create path and map variables final Map pathParams = new HashMap(); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); final String[] localVarAccepts = { "*/*", "application/json", "application/xml", "text/xml", "text/plain" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/language/list", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Languages * Retrieve list of system languages *

503 - Service Unavailable *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @return List<LanguageNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showLanguages() throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showLanguagesRequestCreation().bodyToFlux(localVarReturnType); } /** * Show Languages * Retrieve list of system languages *

503 - Service Unavailable *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @return ResponseEntity<List<LanguageNonAuthenticatedEntity>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showLanguagesWithHttpInfo() throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showLanguagesRequestCreation().toEntityList(localVarReturnType); } /** * Show Languages * Retrieve list of system languages *

503 - Service Unavailable *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showLanguagesWithResponseSpec() throws WebClientResponseException { return showLanguagesRequestCreation(); } /** * Show Lifestyles * Retrieve list of all supported lifestyles indicated by an array of key / value pairs. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showLifestylesRequestCreation(String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // create path and map variables final Map pathParams = new HashMap(); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); if (accept != null) headerParams.add("Accept", apiClient.parameterToString(accept)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/lifestyle/list", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Lifestyles * Retrieve list of all supported lifestyles indicated by an array of key / value pairs. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showLifestyles(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showLifestylesRequestCreation(winkVersion, accept).bodyToFlux(localVarReturnType); } /** * Show Lifestyles * Retrieve list of all supported lifestyles indicated by an array of key / value pairs. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<List<KeyValuePairNonAuthenticatedEntity>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showLifestylesWithHttpInfo(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showLifestylesRequestCreation(winkVersion, accept).toEntityList(localVarReturnType); } /** * Show Lifestyles * Retrieve list of all supported lifestyles indicated by an array of key / value pairs. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showLifestylesWithResponseSpec(String winkVersion, String accept) throws WebClientResponseException { return showLifestylesRequestCreation(winkVersion, accept); } /** * Show Perks * Retrieve list of perks *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showPerksRequestCreation(String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // create path and map variables final Map pathParams = new HashMap(); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); if (accept != null) headerParams.add("Accept", apiClient.parameterToString(accept)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/perk/list", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Perks * Retrieve list of perks *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showPerks(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showPerksRequestCreation(winkVersion, accept).bodyToFlux(localVarReturnType); } /** * Show Perks * Retrieve list of perks *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<List<KeyValuePairNonAuthenticatedEntity>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showPerksWithHttpInfo(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showPerksRequestCreation(winkVersion, accept).toEntityList(localVarReturnType); } /** * Show Perks * Retrieve list of perks *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showPerksWithResponseSpec(String winkVersion, String accept) throws WebClientResponseException { return showPerksRequestCreation(winkVersion, accept); } /** * Show Social Networks * Retrieve list of all supported social networks *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showSocialNetworksRequestCreation(String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // create path and map variables final Map pathParams = new HashMap(); final MultiValueMap queryParams = new LinkedMultiValueMap(); final HttpHeaders headerParams = new HttpHeaders(); final MultiValueMap cookieParams = new LinkedMultiValueMap(); final MultiValueMap formParams = new LinkedMultiValueMap(); if (winkVersion != null) headerParams.add("Wink-Version", apiClient.parameterToString(winkVersion)); if (accept != null) headerParams.add("Accept", apiClient.parameterToString(accept)); final String[] localVarAccepts = { "application/json", "application/xml", "text/xml", "text/plain", "*/*" }; final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts); final String[] localVarContentTypes = { }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/reference-data/social/list", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Social Networks * Retrieve list of all supported social networks *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<KeyValuePairNonAuthenticatedEntity> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showSocialNetworks(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showSocialNetworksRequestCreation(winkVersion, accept).bodyToFlux(localVarReturnType); } /** * Show Social Networks * Retrieve list of all supported social networks *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<List<KeyValuePairNonAuthenticatedEntity>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showSocialNetworksWithHttpInfo(String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showSocialNetworksRequestCreation(winkVersion, accept).toEntityList(localVarReturnType); } /** * Show Social Networks * Retrieve list of all supported social networks *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec showSocialNetworksWithResponseSpec(String winkVersion, String accept) throws WebClientResponseException { return showSocialNetworksRequestCreation(winkVersion, accept); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy