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

travel.wink.sdk.affiliate.inventory.api.MapsApi Maven / Gradle / Ivy

package travel.wink.sdk.affiliate.inventory.api;

import travel.wink.sdk.affiliate.inventory.invoker.ApiClient;

import travel.wink.sdk.affiliate.inventory.model.AdvancedMapConfigurationViewAffiliate;
import travel.wink.sdk.affiliate.inventory.model.BooleanResponseAffiliate;
import travel.wink.sdk.affiliate.inventory.model.CreateAdvancedMapConfigurationSyndicationEntryRequestAffiliate;
import travel.wink.sdk.affiliate.inventory.model.GenericErrorMessage;
import travel.wink.sdk.affiliate.inventory.model.InventoryMapMarkerAffiliate;
import travel.wink.sdk.affiliate.inventory.model.RemoveEntryResponseAffiliate;
import travel.wink.sdk.affiliate.inventory.model.ShowSupplierUrl400Response;
import travel.wink.sdk.affiliate.inventory.model.UpsertAdvancedMapConfigurationRequestAffiliate;
import travel.wink.sdk.affiliate.inventory.model.UpsertSupplierAdvancedMapConfigurationRequestAffiliate;

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-09-15T11:56:03.487909257+07:00[Asia/Bangkok]")
public class MapsApi {
    private ApiClient apiClient;

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

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

    public ApiClient getApiClient() {
        return apiClient;
    }

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

    /**
     * Create Inventory Map
     * Create a new advanced map configuration
     * 

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Create map owned by this owner identifier. * @param upsertAdvancedMapConfigurationRequestAffiliate The upsertAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return AdvancedMapConfigurationViewAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec createAdvancedMapConfigurationRequestCreation(String companyIdentifier, UpsertAdvancedMapConfigurationRequestAffiliate upsertAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { Object postBody = upsertAdvancedMapConfigurationRequestAffiliate; // verify the required parameter 'companyIdentifier' is set if (companyIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'companyIdentifier' when calling createAdvancedMapConfiguration", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'upsertAdvancedMapConfigurationRequestAffiliate' is set if (upsertAdvancedMapConfigurationRequestAffiliate == null) { throw new WebClientResponseException("Missing the required parameter 'upsertAdvancedMapConfigurationRequestAffiliate' when calling createAdvancedMapConfiguration", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("companyIdentifier", companyIdentifier); 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 = { "application/json" }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/api/affiliate/{companyIdentifier}/map", HttpMethod.POST, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Create Inventory Map * Create a new advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Create map owned by this owner identifier. * @param upsertAdvancedMapConfigurationRequestAffiliate The upsertAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return AdvancedMapConfigurationViewAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono createAdvancedMapConfiguration(String companyIdentifier, UpsertAdvancedMapConfigurationRequestAffiliate upsertAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return createAdvancedMapConfigurationRequestCreation(companyIdentifier, upsertAdvancedMapConfigurationRequestAffiliate, winkVersion).bodyToMono(localVarReturnType); } /** * Create Inventory Map * Create a new advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Create map owned by this owner identifier. * @param upsertAdvancedMapConfigurationRequestAffiliate The upsertAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return ResponseEntity<AdvancedMapConfigurationViewAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> createAdvancedMapConfigurationWithHttpInfo(String companyIdentifier, UpsertAdvancedMapConfigurationRequestAffiliate upsertAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return createAdvancedMapConfigurationRequestCreation(companyIdentifier, upsertAdvancedMapConfigurationRequestAffiliate, winkVersion).toEntity(localVarReturnType); } /** * Create Inventory Map * Create a new advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Create map owned by this owner identifier. * @param upsertAdvancedMapConfigurationRequestAffiliate The upsertAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec createAdvancedMapConfigurationWithResponseSpec(String companyIdentifier, UpsertAdvancedMapConfigurationRequestAffiliate upsertAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { return createAdvancedMapConfigurationRequestCreation(companyIdentifier, upsertAdvancedMapConfigurationRequestAffiliate, winkVersion); } /** * Create Supplier Map * Creates a new advanced map configuration with a single marker for a supplier showing the best priced room. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Create supplier map owned by this owner identifier. * @param upsertSupplierAdvancedMapConfigurationRequestAffiliate The upsertSupplierAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return AdvancedMapConfigurationViewAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec createAdvancedMapConfigurationForSupplierRequestCreation(String companyIdentifier, UpsertSupplierAdvancedMapConfigurationRequestAffiliate upsertSupplierAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { Object postBody = upsertSupplierAdvancedMapConfigurationRequestAffiliate; // verify the required parameter 'companyIdentifier' is set if (companyIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'companyIdentifier' when calling createAdvancedMapConfigurationForSupplier", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'upsertSupplierAdvancedMapConfigurationRequestAffiliate' is set if (upsertSupplierAdvancedMapConfigurationRequestAffiliate == null) { throw new WebClientResponseException("Missing the required parameter 'upsertSupplierAdvancedMapConfigurationRequestAffiliate' when calling createAdvancedMapConfigurationForSupplier", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("companyIdentifier", companyIdentifier); 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 = { "application/json" }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/api/affiliate/{companyIdentifier}/map/supplier", HttpMethod.POST, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Create Supplier Map * Creates a new advanced map configuration with a single marker for a supplier showing the best priced room. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Create supplier map owned by this owner identifier. * @param upsertSupplierAdvancedMapConfigurationRequestAffiliate The upsertSupplierAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return AdvancedMapConfigurationViewAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono createAdvancedMapConfigurationForSupplier(String companyIdentifier, UpsertSupplierAdvancedMapConfigurationRequestAffiliate upsertSupplierAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return createAdvancedMapConfigurationForSupplierRequestCreation(companyIdentifier, upsertSupplierAdvancedMapConfigurationRequestAffiliate, winkVersion).bodyToMono(localVarReturnType); } /** * Create Supplier Map * Creates a new advanced map configuration with a single marker for a supplier showing the best priced room. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Create supplier map owned by this owner identifier. * @param upsertSupplierAdvancedMapConfigurationRequestAffiliate The upsertSupplierAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return ResponseEntity<AdvancedMapConfigurationViewAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> createAdvancedMapConfigurationForSupplierWithHttpInfo(String companyIdentifier, UpsertSupplierAdvancedMapConfigurationRequestAffiliate upsertSupplierAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return createAdvancedMapConfigurationForSupplierRequestCreation(companyIdentifier, upsertSupplierAdvancedMapConfigurationRequestAffiliate, winkVersion).toEntity(localVarReturnType); } /** * Create Supplier Map * Creates a new advanced map configuration with a single marker for a supplier showing the best priced room. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Create supplier map owned by this owner identifier. * @param upsertSupplierAdvancedMapConfigurationRequestAffiliate The upsertSupplierAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec createAdvancedMapConfigurationForSupplierWithResponseSpec(String companyIdentifier, UpsertSupplierAdvancedMapConfigurationRequestAffiliate upsertSupplierAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { return createAdvancedMapConfigurationForSupplierRequestCreation(companyIdentifier, upsertSupplierAdvancedMapConfigurationRequestAffiliate, winkVersion); } /** * Add to WinkLinks * Creates a new WinkLinks entry from the specified map ID. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Company identifier to create item for * @param createAdvancedMapConfigurationSyndicationEntryRequestAffiliate The createAdvancedMapConfigurationSyndicationEntryRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return BooleanResponseAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec createAdvancedMapSyndicationEntryRequestCreation(String companyIdentifier, CreateAdvancedMapConfigurationSyndicationEntryRequestAffiliate createAdvancedMapConfigurationSyndicationEntryRequestAffiliate, String winkVersion) throws WebClientResponseException { Object postBody = createAdvancedMapConfigurationSyndicationEntryRequestAffiliate; // verify the required parameter 'companyIdentifier' is set if (companyIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'companyIdentifier' when calling createAdvancedMapSyndicationEntry", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'createAdvancedMapConfigurationSyndicationEntryRequestAffiliate' is set if (createAdvancedMapConfigurationSyndicationEntryRequestAffiliate == null) { throw new WebClientResponseException("Missing the required parameter 'createAdvancedMapConfigurationSyndicationEntryRequestAffiliate' when calling createAdvancedMapSyndicationEntry", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("companyIdentifier", companyIdentifier); 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 = { "application/json" }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/api/affiliate/{companyIdentifier}/map/syndication/entry", HttpMethod.POST, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Add to WinkLinks * Creates a new WinkLinks entry from the specified map ID. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Company identifier to create item for * @param createAdvancedMapConfigurationSyndicationEntryRequestAffiliate The createAdvancedMapConfigurationSyndicationEntryRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return BooleanResponseAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono createAdvancedMapSyndicationEntry(String companyIdentifier, CreateAdvancedMapConfigurationSyndicationEntryRequestAffiliate createAdvancedMapConfigurationSyndicationEntryRequestAffiliate, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return createAdvancedMapSyndicationEntryRequestCreation(companyIdentifier, createAdvancedMapConfigurationSyndicationEntryRequestAffiliate, winkVersion).bodyToMono(localVarReturnType); } /** * Add to WinkLinks * Creates a new WinkLinks entry from the specified map ID. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Company identifier to create item for * @param createAdvancedMapConfigurationSyndicationEntryRequestAffiliate The createAdvancedMapConfigurationSyndicationEntryRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return ResponseEntity<BooleanResponseAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> createAdvancedMapSyndicationEntryWithHttpInfo(String companyIdentifier, CreateAdvancedMapConfigurationSyndicationEntryRequestAffiliate createAdvancedMapConfigurationSyndicationEntryRequestAffiliate, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return createAdvancedMapSyndicationEntryRequestCreation(companyIdentifier, createAdvancedMapConfigurationSyndicationEntryRequestAffiliate, winkVersion).toEntity(localVarReturnType); } /** * Add to WinkLinks * Creates a new WinkLinks entry from the specified map ID. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

201 - Created * @param companyIdentifier Company identifier to create item for * @param createAdvancedMapConfigurationSyndicationEntryRequestAffiliate The createAdvancedMapConfigurationSyndicationEntryRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec createAdvancedMapSyndicationEntryWithResponseSpec(String companyIdentifier, CreateAdvancedMapConfigurationSyndicationEntryRequestAffiliate createAdvancedMapConfigurationSyndicationEntryRequestAffiliate, String winkVersion) throws WebClientResponseException { return createAdvancedMapSyndicationEntryRequestCreation(companyIdentifier, createAdvancedMapConfigurationSyndicationEntryRequestAffiliate, winkVersion); } /** * Delete Map * Remove an advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Remove map owned by this owner identifier. * @param mapIdentifier Remove map record with this identifier. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return RemoveEntryResponseAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec removeAdvancedMapConfigurationRequestCreation(String companyIdentifier, String mapIdentifier, String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'companyIdentifier' is set if (companyIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'companyIdentifier' when calling removeAdvancedMapConfiguration", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'mapIdentifier' is set if (mapIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'mapIdentifier' when calling removeAdvancedMapConfiguration", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("companyIdentifier", companyIdentifier); pathParams.put("mapIdentifier", mapIdentifier); 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("/api/affiliate/{companyIdentifier}/map/{mapIdentifier}", HttpMethod.DELETE, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Delete Map * Remove an advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Remove map owned by this owner identifier. * @param mapIdentifier Remove map record with this identifier. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return RemoveEntryResponseAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono removeAdvancedMapConfiguration(String companyIdentifier, String mapIdentifier, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return removeAdvancedMapConfigurationRequestCreation(companyIdentifier, mapIdentifier, winkVersion, accept).bodyToMono(localVarReturnType); } /** * Delete Map * Remove an advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Remove map owned by this owner identifier. * @param mapIdentifier Remove map record with this identifier. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<RemoveEntryResponseAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> removeAdvancedMapConfigurationWithHttpInfo(String companyIdentifier, String mapIdentifier, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return removeAdvancedMapConfigurationRequestCreation(companyIdentifier, mapIdentifier, winkVersion, accept).toEntity(localVarReturnType); } /** * Delete Map * Remove an advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Remove map owned by this owner identifier. * @param mapIdentifier Remove map record with this identifier. * @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 removeAdvancedMapConfigurationWithResponseSpec(String companyIdentifier, String mapIdentifier, String winkVersion, String accept) throws WebClientResponseException { return removeAdvancedMapConfigurationRequestCreation(companyIdentifier, mapIdentifier, winkVersion, accept); } /** * Show Map * Retrieve a specific map record *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map record owned by this owner identifier. * @param mapIdentifier Show map record with this identifier. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return AdvancedMapConfigurationViewAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showAdvancedMapConfigurationRequestCreation(String companyIdentifier, String mapIdentifier, String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'companyIdentifier' is set if (companyIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'companyIdentifier' when calling showAdvancedMapConfiguration", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'mapIdentifier' is set if (mapIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'mapIdentifier' when calling showAdvancedMapConfiguration", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("companyIdentifier", companyIdentifier); pathParams.put("mapIdentifier", mapIdentifier); 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("/api/affiliate/{companyIdentifier}/map/{mapIdentifier}", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Map * Retrieve a specific map record *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map record owned by this owner identifier. * @param mapIdentifier Show map record with this identifier. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return AdvancedMapConfigurationViewAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono showAdvancedMapConfiguration(String companyIdentifier, String mapIdentifier, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAdvancedMapConfigurationRequestCreation(companyIdentifier, mapIdentifier, winkVersion, accept).bodyToMono(localVarReturnType); } /** * Show Map * Retrieve a specific map record *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map record owned by this owner identifier. * @param mapIdentifier Show map record with this identifier. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<AdvancedMapConfigurationViewAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> showAdvancedMapConfigurationWithHttpInfo(String companyIdentifier, String mapIdentifier, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAdvancedMapConfigurationRequestCreation(companyIdentifier, mapIdentifier, winkVersion, accept).toEntity(localVarReturnType); } /** * Show Map * Retrieve a specific map record *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map record owned by this owner identifier. * @param mapIdentifier Show map record with this identifier. * @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 showAdvancedMapConfigurationWithResponseSpec(String companyIdentifier, String mapIdentifier, String winkVersion, String accept) throws WebClientResponseException { return showAdvancedMapConfigurationRequestCreation(companyIdentifier, mapIdentifier, winkVersion, accept); } /** * Show Map Marker * Retrieve map marker for individual channel inventory. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map markers for map owned by this owner identifier. * @param channelInventoryIdentifier Show map marker for specific inventory. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return InventoryMapMarkerAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showAdvancedMapConfigurationMapMarkerRequestCreation(String companyIdentifier, String channelInventoryIdentifier, String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'companyIdentifier' is set if (companyIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'companyIdentifier' when calling showAdvancedMapConfigurationMapMarker", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'channelInventoryIdentifier' is set if (channelInventoryIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'channelInventoryIdentifier' when calling showAdvancedMapConfigurationMapMarker", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("companyIdentifier", companyIdentifier); pathParams.put("channelInventoryIdentifier", channelInventoryIdentifier); 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("/api/affiliate/{companyIdentifier}/map/marker/{channelInventoryIdentifier}", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Map Marker * Retrieve map marker for individual channel inventory. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map markers for map owned by this owner identifier. * @param channelInventoryIdentifier Show map marker for specific inventory. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return InventoryMapMarkerAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono showAdvancedMapConfigurationMapMarker(String companyIdentifier, String channelInventoryIdentifier, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAdvancedMapConfigurationMapMarkerRequestCreation(companyIdentifier, channelInventoryIdentifier, winkVersion, accept).bodyToMono(localVarReturnType); } /** * Show Map Marker * Retrieve map marker for individual channel inventory. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map markers for map owned by this owner identifier. * @param channelInventoryIdentifier Show map marker for specific inventory. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<InventoryMapMarkerAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> showAdvancedMapConfigurationMapMarkerWithHttpInfo(String companyIdentifier, String channelInventoryIdentifier, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAdvancedMapConfigurationMapMarkerRequestCreation(companyIdentifier, channelInventoryIdentifier, winkVersion, accept).toEntity(localVarReturnType); } /** * Show Map Marker * Retrieve map marker for individual channel inventory. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map markers for map owned by this owner identifier. * @param channelInventoryIdentifier Show map marker for specific inventory. * @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 showAdvancedMapConfigurationMapMarkerWithResponseSpec(String companyIdentifier, String channelInventoryIdentifier, String winkVersion, String accept) throws WebClientResponseException { return showAdvancedMapConfigurationMapMarkerRequestCreation(companyIdentifier, channelInventoryIdentifier, winkVersion, accept); } /** * Show Map Markers * Retrieve a list of advanced map configuration inventory markers by type *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map markers for list owned by this owner identifier. * @param listIdentifier Show map markers for list. * @param listType Indicate whether this list is a curated or dynamic list. * @param displayCurrency Indicate which currency to display prices in. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<InventoryMapMarkerAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showAdvancedMapConfigurationMapMarkersRequestCreation(String companyIdentifier, String listIdentifier, String listType, String displayCurrency, String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'companyIdentifier' is set if (companyIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'companyIdentifier' when calling showAdvancedMapConfigurationMapMarkers", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'listIdentifier' is set if (listIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'listIdentifier' when calling showAdvancedMapConfigurationMapMarkers", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'listType' is set if (listType == null) { throw new WebClientResponseException("Missing the required parameter 'listType' when calling showAdvancedMapConfigurationMapMarkers", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("companyIdentifier", companyIdentifier); pathParams.put("listIdentifier", listIdentifier); pathParams.put("listType", listType); 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, "displayCurrency", displayCurrency)); 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("/api/affiliate/{companyIdentifier}/map/markers/{listType}/{listIdentifier}", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Map Markers * Retrieve a list of advanced map configuration inventory markers by type *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map markers for list owned by this owner identifier. * @param listIdentifier Show map markers for list. * @param listType Indicate whether this list is a curated or dynamic list. * @param displayCurrency Indicate which currency to display prices in. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<InventoryMapMarkerAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showAdvancedMapConfigurationMapMarkers(String companyIdentifier, String listIdentifier, String listType, String displayCurrency, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAdvancedMapConfigurationMapMarkersRequestCreation(companyIdentifier, listIdentifier, listType, displayCurrency, winkVersion, accept).bodyToFlux(localVarReturnType); } /** * Show Map Markers * Retrieve a list of advanced map configuration inventory markers by type *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map markers for list owned by this owner identifier. * @param listIdentifier Show map markers for list. * @param listType Indicate whether this list is a curated or dynamic list. * @param displayCurrency Indicate which currency to display prices in. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<List<InventoryMapMarkerAffiliate>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showAdvancedMapConfigurationMapMarkersWithHttpInfo(String companyIdentifier, String listIdentifier, String listType, String displayCurrency, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAdvancedMapConfigurationMapMarkersRequestCreation(companyIdentifier, listIdentifier, listType, displayCurrency, winkVersion, accept).toEntityList(localVarReturnType); } /** * Show Map Markers * Retrieve a list of advanced map configuration inventory markers by type *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Show map markers for list owned by this owner identifier. * @param listIdentifier Show map markers for list. * @param listType Indicate whether this list is a curated or dynamic list. * @param displayCurrency Indicate which currency to display prices in. * @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 showAdvancedMapConfigurationMapMarkersWithResponseSpec(String companyIdentifier, String listIdentifier, String listType, String displayCurrency, String winkVersion, String accept) throws WebClientResponseException { return showAdvancedMapConfigurationMapMarkersRequestCreation(companyIdentifier, listIdentifier, listType, displayCurrency, winkVersion, accept); } /** * Show Maps * Retrieve list of existing maps. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier List maps owned by this owner identifier. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<AdvancedMapConfigurationViewAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec showAdvancedMapConfigurationsRequestCreation(String companyIdentifier, String winkVersion, String accept) throws WebClientResponseException { Object postBody = null; // verify the required parameter 'companyIdentifier' is set if (companyIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'companyIdentifier' when calling showAdvancedMapConfigurations", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("companyIdentifier", companyIdentifier); 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("/api/affiliate/{companyIdentifier}/map", HttpMethod.GET, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Show Maps * Retrieve list of existing maps. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier List maps owned by this owner identifier. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return List<AdvancedMapConfigurationViewAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Flux showAdvancedMapConfigurations(String companyIdentifier, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAdvancedMapConfigurationsRequestCreation(companyIdentifier, winkVersion, accept).bodyToFlux(localVarReturnType); } /** * Show Maps * Retrieve list of existing maps. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier List maps owned by this owner identifier. * @param winkVersion The winkVersion parameter * @param accept The accept parameter * @return ResponseEntity<List<AdvancedMapConfigurationViewAffiliate>> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono>> showAdvancedMapConfigurationsWithHttpInfo(String companyIdentifier, String winkVersion, String accept) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return showAdvancedMapConfigurationsRequestCreation(companyIdentifier, winkVersion, accept).toEntityList(localVarReturnType); } /** * Show Maps * Retrieve list of existing maps. *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier List maps owned by this owner identifier. * @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 showAdvancedMapConfigurationsWithResponseSpec(String companyIdentifier, String winkVersion, String accept) throws WebClientResponseException { return showAdvancedMapConfigurationsRequestCreation(companyIdentifier, winkVersion, accept); } /** * Update Map * Update an advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Update map owned by this owner identifier. * @param mapIdentifier update map record with this identifier. * @param upsertAdvancedMapConfigurationRequestAffiliate The upsertAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return AdvancedMapConfigurationViewAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ private ResponseSpec updateAdvancedMapConfigurationRequestCreation(String companyIdentifier, String mapIdentifier, UpsertAdvancedMapConfigurationRequestAffiliate upsertAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { Object postBody = upsertAdvancedMapConfigurationRequestAffiliate; // verify the required parameter 'companyIdentifier' is set if (companyIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'companyIdentifier' when calling updateAdvancedMapConfiguration", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'mapIdentifier' is set if (mapIdentifier == null) { throw new WebClientResponseException("Missing the required parameter 'mapIdentifier' when calling updateAdvancedMapConfiguration", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // verify the required parameter 'upsertAdvancedMapConfigurationRequestAffiliate' is set if (upsertAdvancedMapConfigurationRequestAffiliate == null) { throw new WebClientResponseException("Missing the required parameter 'upsertAdvancedMapConfigurationRequestAffiliate' when calling updateAdvancedMapConfiguration", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null); } // create path and map variables final Map pathParams = new HashMap(); pathParams.put("companyIdentifier", companyIdentifier); pathParams.put("mapIdentifier", mapIdentifier); 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 = { "application/json" }; final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes); String[] localVarAuthNames = new String[] { "oauth2ClientCredentials" }; ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return apiClient.invokeAPI("/api/affiliate/{companyIdentifier}/map/{mapIdentifier}", HttpMethod.PUT, pathParams, queryParams, postBody, headerParams, cookieParams, formParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType); } /** * Update Map * Update an advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Update map owned by this owner identifier. * @param mapIdentifier update map record with this identifier. * @param upsertAdvancedMapConfigurationRequestAffiliate The upsertAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return AdvancedMapConfigurationViewAffiliate * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono updateAdvancedMapConfiguration(String companyIdentifier, String mapIdentifier, UpsertAdvancedMapConfigurationRequestAffiliate upsertAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return updateAdvancedMapConfigurationRequestCreation(companyIdentifier, mapIdentifier, upsertAdvancedMapConfigurationRequestAffiliate, winkVersion).bodyToMono(localVarReturnType); } /** * Update Map * Update an advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Update map owned by this owner identifier. * @param mapIdentifier update map record with this identifier. * @param upsertAdvancedMapConfigurationRequestAffiliate The upsertAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return ResponseEntity<AdvancedMapConfigurationViewAffiliate> * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public Mono> updateAdvancedMapConfigurationWithHttpInfo(String companyIdentifier, String mapIdentifier, UpsertAdvancedMapConfigurationRequestAffiliate upsertAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { ParameterizedTypeReference localVarReturnType = new ParameterizedTypeReference() {}; return updateAdvancedMapConfigurationRequestCreation(companyIdentifier, mapIdentifier, upsertAdvancedMapConfigurationRequestAffiliate, winkVersion).toEntity(localVarReturnType); } /** * Update Map * Update an advanced map configuration *

500 - Internal Server Error *

403 - Forbidden *

401 - Unauthorized *

400 - Bad Request *

200 - OK * @param companyIdentifier Update map owned by this owner identifier. * @param mapIdentifier update map record with this identifier. * @param upsertAdvancedMapConfigurationRequestAffiliate The upsertAdvancedMapConfigurationRequestAffiliate parameter * @param winkVersion The winkVersion parameter * @return ResponseSpec * @throws WebClientResponseException if an error occurs while attempting to invoke the API */ public ResponseSpec updateAdvancedMapConfigurationWithResponseSpec(String companyIdentifier, String mapIdentifier, UpsertAdvancedMapConfigurationRequestAffiliate upsertAdvancedMapConfigurationRequestAffiliate, String winkVersion) throws WebClientResponseException { return updateAdvancedMapConfigurationRequestCreation(companyIdentifier, mapIdentifier, upsertAdvancedMapConfigurationRequestAffiliate, winkVersion); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy