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

com.finbourne.horizon.api.VendorApi Maven / Gradle / Ivy

There is a newer version: 2.0.463
Show newest version
/*
 * FINBOURNE Horizon API
 *
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

package com.finbourne.horizon.api;

import com.finbourne.horizon.ApiCallback;
import com.finbourne.horizon.ApiClient;
import com.finbourne.horizon.ApiException;
import com.finbourne.horizon.ApiResponse;
import com.finbourne.horizon.Configuration;
import com.finbourne.horizon.Pair;
import com.finbourne.horizon.ProgressRequestBody;
import com.finbourne.horizon.ProgressResponseBody;
import com.finbourne.horizon.extensions.ConfigurationOptions;

import com.google.gson.reflect.TypeToken;

import java.io.IOException;


import com.finbourne.horizon.model.LusidField;
import com.finbourne.horizon.model.LusidProblemDetails;
import com.finbourne.horizon.model.LusidPropertyDefinitionOverrides;
import com.finbourne.horizon.model.LusidPropertyDefinitionOverridesResponse;
import com.finbourne.horizon.model.LusidPropertyToVendorFieldMapping;
import com.finbourne.horizon.model.PagedResourceListOfVendorProduct;
import com.finbourne.horizon.model.QueryRequest;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class VendorApi {
    private ApiClient localVarApiClient;
    private int localHostIndex;
    private String localCustomBaseUrl;

    public VendorApi() {
        this(Configuration.getDefaultApiClient());
    }

    public VendorApi(ApiClient apiClient) {
        this.localVarApiClient = apiClient;
    }

    public ApiClient getApiClient() {
        return localVarApiClient;
    }

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

    public int getHostIndex() {
        return localHostIndex;
    }

    public void setHostIndex(int hostIndex) {
        this.localHostIndex = hostIndex;
    }

    public String getCustomBaseUrl() {
        return localCustomBaseUrl;
    }

    public void setCustomBaseUrl(String customBaseUrl) {
        this.localCustomBaseUrl = customBaseUrl;
    }

    private okhttp3.Call getCoreFieldMappingsForProductEntityCall(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback _callback) throws ApiException {
        return getCoreFieldMappingsForProductEntityCall(vendorName, productName, lusidEntityType, lusidEntitySubType,  _callback, new ConfigurationOptions());
    }

    private okhttp3.Call getCoreFieldMappingsForProductEntityCall(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
        String basePath = null;
        // Operation Servers
        String[] localBasePaths = new String[] {  };

        // Determine Base Path to Use
        if (localCustomBaseUrl != null){
            basePath = localCustomBaseUrl;
        } else if ( localBasePaths.length > 0 ) {
            basePath = localBasePaths[localHostIndex];
        } else {
            basePath = null;
        }

        Object localVarPostBody = null;

        // create path and map variables
        String localVarPath = "/api/vendor/mappings/fields";

        List localVarQueryParams = new ArrayList();
        List localVarCollectionQueryParams = new ArrayList();
        Map localVarHeaderParams = new HashMap();
        Map localVarCookieParams = new HashMap();
        Map localVarFormParams = new HashMap();

        if (vendorName != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("vendorName", vendorName));
        }

        if (productName != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("productName", productName));
        }

        if (lusidEntityType != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("lusidEntityType", lusidEntityType));
        }

        if (lusidEntitySubType != null) {
            localVarQueryParams.addAll(localVarApiClient.parameterToPair("lusidEntitySubType", lusidEntitySubType));
        }

        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) {
            localVarHeaderParams.put("Accept", localVarAccept);
        }

        final String[] localVarContentTypes = {
        };
        final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
        if (localVarContentType != null) {
            localVarHeaderParams.put("Content-Type", localVarContentType);
        }

        String[] localVarAuthNames = new String[] { "oauth2" };
        return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback, opts);
    }

    @SuppressWarnings("rawtypes")
    private okhttp3.Call getCoreFieldMappingsForProductEntityValidateBeforeCall(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException {
        // verify the required parameter 'vendorName' is set
        if (vendorName == null) {
            throw new ApiException("Missing the required parameter 'vendorName' when calling getCoreFieldMappingsForProductEntity(Async)");
        }

        // verify the required parameter 'productName' is set
        if (productName == null) {
            throw new ApiException("Missing the required parameter 'productName' when calling getCoreFieldMappingsForProductEntity(Async)");
        }

        // verify the required parameter 'lusidEntityType' is set
        if (lusidEntityType == null) {
            throw new ApiException("Missing the required parameter 'lusidEntityType' when calling getCoreFieldMappingsForProductEntity(Async)");
        }

        return getCoreFieldMappingsForProductEntityCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, opts);

    }


    private ApiResponse> getCoreFieldMappingsForProductEntityWithHttpInfo(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType) throws ApiException {
        okhttp3.Call localVarCall = getCoreFieldMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, null, new ConfigurationOptions());
        Type localVarReturnType = new TypeToken>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    private ApiResponse> getCoreFieldMappingsForProductEntityWithHttpInfo(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, ConfigurationOptions opts) throws ApiException {
        okhttp3.Call localVarCall = getCoreFieldMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, null, opts);
        Type localVarReturnType = new TypeToken>(){}.getType();
        return localVarApiClient.execute(localVarCall, localVarReturnType);
    }

    private okhttp3.Call getCoreFieldMappingsForProductEntityAsync(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback> _callback) throws ApiException {

        okhttp3.Call localVarCall = getCoreFieldMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, new ConfigurationOptions());
        Type localVarReturnType = new TypeToken>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }

    private okhttp3.Call getCoreFieldMappingsForProductEntityAsync(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException {

        okhttp3.Call localVarCall = getCoreFieldMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, opts);
        Type localVarReturnType = new TypeToken>(){}.getType();
        localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
        return localVarCall;
    }

    public class APIgetCoreFieldMappingsForProductEntityRequest {
        private final String vendorName;
        private final String productName;
        private final String lusidEntityType;
        private String lusidEntitySubType;

        private APIgetCoreFieldMappingsForProductEntityRequest(String vendorName, String productName, String lusidEntityType) {
            this.vendorName = vendorName;
            this.productName = productName;
            this.lusidEntityType = lusidEntityType;
        }

        /**
         * Set lusidEntitySubType
         * @param lusidEntitySubType  (optional)
         * @return APIgetCoreFieldMappingsForProductEntityRequest
         */
        public APIgetCoreFieldMappingsForProductEntityRequest lusidEntitySubType(String lusidEntitySubType) {
            this.lusidEntitySubType = lusidEntitySubType;
            return this;
        }

        /**
         * Build call for getCoreFieldMappingsForProductEntity
         * @param _callback ApiCallback API callback
         * @return Call to execute
         * @throws ApiException If fail to serialize the request body object
         * @http.response.details
         
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { return getCoreFieldMappingsForProductEntityCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback); } /** * Execute getCoreFieldMappingsForProductEntity request * @return List<LusidField> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public List execute() throws ApiException { ApiResponse> localVarResp = getCoreFieldMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType); return localVarResp.getData(); } /** * Execute getCoreFieldMappingsForProductEntity request. Use any specified configuration options to override any other configuration for this request only. * @return List<LusidField> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public List execute(ConfigurationOptions opts) throws ApiException { ApiResponse> localVarResp = getCoreFieldMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType, opts); return localVarResp.getData(); } /** * Execute getCoreFieldMappingsForProductEntity request with HTTP info returned * @return ApiResponse<List<LusidField>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse> executeWithHttpInfo() throws ApiException { return getCoreFieldMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType); } /** * Execute getCoreFieldMappingsForProductEntity request with HTTP info returned. Use any specified configuration options to override any other configuration for this request only. * @return ApiResponse<List<LusidField>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse> executeWithHttpInfo(ConfigurationOptions opts) throws ApiException { return getCoreFieldMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType, opts); } /** * Execute getCoreFieldMappingsForProductEntity request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback> _callback) throws ApiException { return getCoreFieldMappingsForProductEntityAsync(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback); } /** * Execute getCoreFieldMappingsForProductEntity request (asynchronously). Use any specified configuration options to override any other configuration for this request only. * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException { return getCoreFieldMappingsForProductEntityAsync(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, opts); } } /** * [EARLY ACCESS] GetCoreFieldMappingsForProductEntity: Get core field mappings for a given vendor product's entity. * * @param vendorName (required) * @param productName (required) * @param lusidEntityType (required) * @return APIgetCoreFieldMappingsForProductEntityRequest * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public APIgetCoreFieldMappingsForProductEntityRequest getCoreFieldMappingsForProductEntity(String vendorName, String productName, String lusidEntityType) { return new APIgetCoreFieldMappingsForProductEntityRequest(vendorName, productName, lusidEntityType); } private okhttp3.Call getOptionalMappingsForProductEntityCall(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback _callback) throws ApiException { return getOptionalMappingsForProductEntityCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, new ConfigurationOptions()); } private okhttp3.Call getOptionalMappingsForProductEntityCall(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; // Determine Base Path to Use if (localCustomBaseUrl != null){ basePath = localCustomBaseUrl; } else if ( localBasePaths.length > 0 ) { basePath = localBasePaths[localHostIndex]; } else { basePath = null; } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/vendor/mappings/optional"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); if (vendorName != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("vendorName", vendorName)); } if (productName != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("productName", productName)); } if (lusidEntityType != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("lusidEntityType", lusidEntityType)); } if (lusidEntitySubType != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("lusidEntitySubType", lusidEntitySubType)); } final String[] localVarAccepts = { "application/json" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { localVarHeaderParams.put("Content-Type", localVarContentType); } String[] localVarAuthNames = new String[] { "oauth2" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback, opts); } @SuppressWarnings("rawtypes") private okhttp3.Call getOptionalMappingsForProductEntityValidateBeforeCall(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { // verify the required parameter 'vendorName' is set if (vendorName == null) { throw new ApiException("Missing the required parameter 'vendorName' when calling getOptionalMappingsForProductEntity(Async)"); } // verify the required parameter 'productName' is set if (productName == null) { throw new ApiException("Missing the required parameter 'productName' when calling getOptionalMappingsForProductEntity(Async)"); } // verify the required parameter 'lusidEntityType' is set if (lusidEntityType == null) { throw new ApiException("Missing the required parameter 'lusidEntityType' when calling getOptionalMappingsForProductEntity(Async)"); } return getOptionalMappingsForProductEntityCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, opts); } private ApiResponse> getOptionalMappingsForProductEntityWithHttpInfo(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType) throws ApiException { okhttp3.Call localVarCall = getOptionalMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, null, new ConfigurationOptions()); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } private ApiResponse> getOptionalMappingsForProductEntityWithHttpInfo(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, ConfigurationOptions opts) throws ApiException { okhttp3.Call localVarCall = getOptionalMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, null, opts); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } private okhttp3.Call getOptionalMappingsForProductEntityAsync(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback> _callback) throws ApiException { okhttp3.Call localVarCall = getOptionalMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, new ConfigurationOptions()); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } private okhttp3.Call getOptionalMappingsForProductEntityAsync(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException { okhttp3.Call localVarCall = getOptionalMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, opts); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } public class APIgetOptionalMappingsForProductEntityRequest { private final String vendorName; private final String productName; private final String lusidEntityType; private String lusidEntitySubType; private APIgetOptionalMappingsForProductEntityRequest(String vendorName, String productName, String lusidEntityType) { this.vendorName = vendorName; this.productName = productName; this.lusidEntityType = lusidEntityType; } /** * Set lusidEntitySubType * @param lusidEntitySubType (optional) * @return APIgetOptionalMappingsForProductEntityRequest */ public APIgetOptionalMappingsForProductEntityRequest lusidEntitySubType(String lusidEntitySubType) { this.lusidEntitySubType = lusidEntitySubType; return this; } /** * Build call for getOptionalMappingsForProductEntity * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { return getOptionalMappingsForProductEntityCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback); } /** * Execute getOptionalMappingsForProductEntity request * @return Map<String, LusidPropertyDefinitionOverrides> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public Map execute() throws ApiException { ApiResponse> localVarResp = getOptionalMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType); return localVarResp.getData(); } /** * Execute getOptionalMappingsForProductEntity request. Use any specified configuration options to override any other configuration for this request only. * @return Map<String, LusidPropertyDefinitionOverrides> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public Map execute(ConfigurationOptions opts) throws ApiException { ApiResponse> localVarResp = getOptionalMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType, opts); return localVarResp.getData(); } /** * Execute getOptionalMappingsForProductEntity request with HTTP info returned * @return ApiResponse<Map<String, LusidPropertyDefinitionOverrides>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse> executeWithHttpInfo() throws ApiException { return getOptionalMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType); } /** * Execute getOptionalMappingsForProductEntity request with HTTP info returned. Use any specified configuration options to override any other configuration for this request only. * @return ApiResponse<Map<String, LusidPropertyDefinitionOverrides>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse> executeWithHttpInfo(ConfigurationOptions opts) throws ApiException { return getOptionalMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType, opts); } /** * Execute getOptionalMappingsForProductEntity request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback> _callback) throws ApiException { return getOptionalMappingsForProductEntityAsync(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback); } /** * Execute getOptionalMappingsForProductEntity request (asynchronously). Use any specified configuration options to override any other configuration for this request only. * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException { return getOptionalMappingsForProductEntityAsync(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, opts); } } /** * [EARLY ACCESS] GetOptionalMappingsForProductEntity: Get a user defined LUSID property mappings for the specified vendor / LUSID entity. * * @param vendorName (required) * @param productName (required) * @param lusidEntityType (required) * @return APIgetOptionalMappingsForProductEntityRequest * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public APIgetOptionalMappingsForProductEntityRequest getOptionalMappingsForProductEntity(String vendorName, String productName, String lusidEntityType) { return new APIgetOptionalMappingsForProductEntityRequest(vendorName, productName, lusidEntityType); } private okhttp3.Call getPropertyMappingsForProductEntityCall(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback _callback) throws ApiException { return getPropertyMappingsForProductEntityCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, new ConfigurationOptions()); } private okhttp3.Call getPropertyMappingsForProductEntityCall(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; // Determine Base Path to Use if (localCustomBaseUrl != null){ basePath = localCustomBaseUrl; } else if ( localBasePaths.length > 0 ) { basePath = localBasePaths[localHostIndex]; } else { basePath = null; } Object localVarPostBody = null; // create path and map variables String localVarPath = "/api/vendor/mappings/properties"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); if (vendorName != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("vendorName", vendorName)); } if (productName != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("productName", productName)); } if (lusidEntityType != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("lusidEntityType", lusidEntityType)); } if (lusidEntitySubType != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("lusidEntitySubType", lusidEntitySubType)); } final String[] localVarAccepts = { "application/json" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { localVarHeaderParams.put("Content-Type", localVarContentType); } String[] localVarAuthNames = new String[] { "oauth2" }; return localVarApiClient.buildCall(basePath, localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback, opts); } @SuppressWarnings("rawtypes") private okhttp3.Call getPropertyMappingsForProductEntityValidateBeforeCall(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { // verify the required parameter 'vendorName' is set if (vendorName == null) { throw new ApiException("Missing the required parameter 'vendorName' when calling getPropertyMappingsForProductEntity(Async)"); } // verify the required parameter 'productName' is set if (productName == null) { throw new ApiException("Missing the required parameter 'productName' when calling getPropertyMappingsForProductEntity(Async)"); } // verify the required parameter 'lusidEntityType' is set if (lusidEntityType == null) { throw new ApiException("Missing the required parameter 'lusidEntityType' when calling getPropertyMappingsForProductEntity(Async)"); } return getPropertyMappingsForProductEntityCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, opts); } private ApiResponse> getPropertyMappingsForProductEntityWithHttpInfo(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType) throws ApiException { okhttp3.Call localVarCall = getPropertyMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, null, new ConfigurationOptions()); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } private ApiResponse> getPropertyMappingsForProductEntityWithHttpInfo(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, ConfigurationOptions opts) throws ApiException { okhttp3.Call localVarCall = getPropertyMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, null, opts); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } private okhttp3.Call getPropertyMappingsForProductEntityAsync(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback> _callback) throws ApiException { okhttp3.Call localVarCall = getPropertyMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, new ConfigurationOptions()); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } private okhttp3.Call getPropertyMappingsForProductEntityAsync(String vendorName, String productName, String lusidEntityType, String lusidEntitySubType, final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException { okhttp3.Call localVarCall = getPropertyMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, opts); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } public class APIgetPropertyMappingsForProductEntityRequest { private final String vendorName; private final String productName; private final String lusidEntityType; private String lusidEntitySubType; private APIgetPropertyMappingsForProductEntityRequest(String vendorName, String productName, String lusidEntityType) { this.vendorName = vendorName; this.productName = productName; this.lusidEntityType = lusidEntityType; } /** * Set lusidEntitySubType * @param lusidEntitySubType (optional) * @return APIgetPropertyMappingsForProductEntityRequest */ public APIgetPropertyMappingsForProductEntityRequest lusidEntitySubType(String lusidEntitySubType) { this.lusidEntitySubType = lusidEntitySubType; return this; } /** * Build call for getPropertyMappingsForProductEntity * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { return getPropertyMappingsForProductEntityCall(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback); } /** * Execute getPropertyMappingsForProductEntity request * @return List<LusidPropertyToVendorFieldMapping> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public List execute() throws ApiException { ApiResponse> localVarResp = getPropertyMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType); return localVarResp.getData(); } /** * Execute getPropertyMappingsForProductEntity request. Use any specified configuration options to override any other configuration for this request only. * @return List<LusidPropertyToVendorFieldMapping> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public List execute(ConfigurationOptions opts) throws ApiException { ApiResponse> localVarResp = getPropertyMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType, opts); return localVarResp.getData(); } /** * Execute getPropertyMappingsForProductEntity request with HTTP info returned * @return ApiResponse<List<LusidPropertyToVendorFieldMapping>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse> executeWithHttpInfo() throws ApiException { return getPropertyMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType); } /** * Execute getPropertyMappingsForProductEntity request with HTTP info returned. Use any specified configuration options to override any other configuration for this request only. * @return ApiResponse<List<LusidPropertyToVendorFieldMapping>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse> executeWithHttpInfo(ConfigurationOptions opts) throws ApiException { return getPropertyMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, lusidEntitySubType, opts); } /** * Execute getPropertyMappingsForProductEntity request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback> _callback) throws ApiException { return getPropertyMappingsForProductEntityAsync(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback); } /** * Execute getPropertyMappingsForProductEntity request (asynchronously). Use any specified configuration options to override any other configuration for this request only. * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException { return getPropertyMappingsForProductEntityAsync(vendorName, productName, lusidEntityType, lusidEntitySubType, _callback, opts); } } /** * [EARLY ACCESS] GetPropertyMappingsForProductEntity: Gets the property mappings for a given vendor product's entity * * @param vendorName (required) * @param productName (required) * @param lusidEntityType (required) * @return APIgetPropertyMappingsForProductEntityRequest * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public APIgetPropertyMappingsForProductEntityRequest getPropertyMappingsForProductEntity(String vendorName, String productName, String lusidEntityType) { return new APIgetPropertyMappingsForProductEntityRequest(vendorName, productName, lusidEntityType); } private okhttp3.Call queryVendorsCall(QueryRequest queryRequest, final ApiCallback _callback) throws ApiException { return queryVendorsCall(queryRequest, _callback, new ConfigurationOptions()); } private okhttp3.Call queryVendorsCall(QueryRequest queryRequest, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; // Determine Base Path to Use if (localCustomBaseUrl != null){ basePath = localCustomBaseUrl; } else if ( localBasePaths.length > 0 ) { basePath = localBasePaths[localHostIndex]; } else { basePath = null; } Object localVarPostBody = queryRequest; // create path and map variables String localVarPath = "/api/vendor/$query"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { "application/json" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json-patch+json", "application/json", "text/json", "application/*+json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { localVarHeaderParams.put("Content-Type", localVarContentType); } String[] localVarAuthNames = new String[] { "oauth2" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback, opts); } @SuppressWarnings("rawtypes") private okhttp3.Call queryVendorsValidateBeforeCall(QueryRequest queryRequest, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { // verify the required parameter 'queryRequest' is set if (queryRequest == null) { throw new ApiException("Missing the required parameter 'queryRequest' when calling queryVendors(Async)"); } return queryVendorsCall(queryRequest, _callback, opts); } private ApiResponse queryVendorsWithHttpInfo(QueryRequest queryRequest) throws ApiException { okhttp3.Call localVarCall = queryVendorsValidateBeforeCall(queryRequest, null, new ConfigurationOptions()); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } private ApiResponse queryVendorsWithHttpInfo(QueryRequest queryRequest, ConfigurationOptions opts) throws ApiException { okhttp3.Call localVarCall = queryVendorsValidateBeforeCall(queryRequest, null, opts); Type localVarReturnType = new TypeToken(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } private okhttp3.Call queryVendorsAsync(QueryRequest queryRequest, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = queryVendorsValidateBeforeCall(queryRequest, _callback, new ConfigurationOptions()); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } private okhttp3.Call queryVendorsAsync(QueryRequest queryRequest, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { okhttp3.Call localVarCall = queryVendorsValidateBeforeCall(queryRequest, _callback, opts); Type localVarReturnType = new TypeToken(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } public class APIqueryVendorsRequest { private final QueryRequest queryRequest; private APIqueryVendorsRequest(QueryRequest queryRequest) { this.queryRequest = queryRequest; } /** * Build call for queryVendors * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { return queryVendorsCall(queryRequest, _callback); } /** * Execute queryVendors request * @return PagedResourceListOfVendorProduct * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public PagedResourceListOfVendorProduct execute() throws ApiException { ApiResponse localVarResp = queryVendorsWithHttpInfo(queryRequest); return localVarResp.getData(); } /** * Execute queryVendors request. Use any specified configuration options to override any other configuration for this request only. * @return PagedResourceListOfVendorProduct * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public PagedResourceListOfVendorProduct execute(ConfigurationOptions opts) throws ApiException { ApiResponse localVarResp = queryVendorsWithHttpInfo(queryRequest, opts); return localVarResp.getData(); } /** * Execute queryVendors request with HTTP info returned * @return ApiResponse<PagedResourceListOfVendorProduct> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse executeWithHttpInfo() throws ApiException { return queryVendorsWithHttpInfo(queryRequest); } /** * Execute queryVendors request with HTTP info returned. Use any specified configuration options to override any other configuration for this request only. * @return ApiResponse<PagedResourceListOfVendorProduct> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse executeWithHttpInfo(ConfigurationOptions opts) throws ApiException { return queryVendorsWithHttpInfo(queryRequest, opts); } /** * Execute queryVendors request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException { return queryVendorsAsync(queryRequest, _callback); } /** * Execute queryVendors request (asynchronously). Use any specified configuration options to override any other configuration for this request only. * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { return queryVendorsAsync(queryRequest, _callback, opts); } } /** * [EARLY ACCESS] QueryVendors: Query for vendors and their packages with entities and sub-entities. * * @param queryRequest (required) * @return APIqueryVendorsRequest * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public APIqueryVendorsRequest queryVendors(QueryRequest queryRequest) { return new APIqueryVendorsRequest(queryRequest); } private okhttp3.Call setOptionalMappingsForProductEntityCall(String vendorName, String productName, String lusidEntityType, Map requestBody, String lusidEntitySubType, final ApiCallback _callback) throws ApiException { return setOptionalMappingsForProductEntityCall(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, _callback, new ConfigurationOptions()); } private okhttp3.Call setOptionalMappingsForProductEntityCall(String vendorName, String productName, String lusidEntityType, Map requestBody, String lusidEntitySubType, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { String basePath = null; // Operation Servers String[] localBasePaths = new String[] { }; // Determine Base Path to Use if (localCustomBaseUrl != null){ basePath = localCustomBaseUrl; } else if ( localBasePaths.length > 0 ) { basePath = localBasePaths[localHostIndex]; } else { basePath = null; } Object localVarPostBody = requestBody; // create path and map variables String localVarPath = "/api/vendor/mappings/optional"; List localVarQueryParams = new ArrayList(); List localVarCollectionQueryParams = new ArrayList(); Map localVarHeaderParams = new HashMap(); Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); if (vendorName != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("vendorName", vendorName)); } if (productName != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("productName", productName)); } if (lusidEntityType != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("lusidEntityType", lusidEntityType)); } if (lusidEntitySubType != null) { localVarQueryParams.addAll(localVarApiClient.parameterToPair("lusidEntitySubType", lusidEntitySubType)); } final String[] localVarAccepts = { "application/json" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { localVarHeaderParams.put("Accept", localVarAccept); } final String[] localVarContentTypes = { "application/json-patch+json", "application/json", "text/json", "application/*+json" }; final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); if (localVarContentType != null) { localVarHeaderParams.put("Content-Type", localVarContentType); } String[] localVarAuthNames = new String[] { "oauth2" }; return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback, opts); } @SuppressWarnings("rawtypes") private okhttp3.Call setOptionalMappingsForProductEntityValidateBeforeCall(String vendorName, String productName, String lusidEntityType, Map requestBody, String lusidEntitySubType, final ApiCallback _callback, ConfigurationOptions opts) throws ApiException { // verify the required parameter 'vendorName' is set if (vendorName == null) { throw new ApiException("Missing the required parameter 'vendorName' when calling setOptionalMappingsForProductEntity(Async)"); } // verify the required parameter 'productName' is set if (productName == null) { throw new ApiException("Missing the required parameter 'productName' when calling setOptionalMappingsForProductEntity(Async)"); } // verify the required parameter 'lusidEntityType' is set if (lusidEntityType == null) { throw new ApiException("Missing the required parameter 'lusidEntityType' when calling setOptionalMappingsForProductEntity(Async)"); } // verify the required parameter 'requestBody' is set if (requestBody == null) { throw new ApiException("Missing the required parameter 'requestBody' when calling setOptionalMappingsForProductEntity(Async)"); } return setOptionalMappingsForProductEntityCall(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, _callback, opts); } private ApiResponse> setOptionalMappingsForProductEntityWithHttpInfo(String vendorName, String productName, String lusidEntityType, Map requestBody, String lusidEntitySubType) throws ApiException { okhttp3.Call localVarCall = setOptionalMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, null, new ConfigurationOptions()); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } private ApiResponse> setOptionalMappingsForProductEntityWithHttpInfo(String vendorName, String productName, String lusidEntityType, Map requestBody, String lusidEntitySubType, ConfigurationOptions opts) throws ApiException { okhttp3.Call localVarCall = setOptionalMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, null, opts); Type localVarReturnType = new TypeToken>(){}.getType(); return localVarApiClient.execute(localVarCall, localVarReturnType); } private okhttp3.Call setOptionalMappingsForProductEntityAsync(String vendorName, String productName, String lusidEntityType, Map requestBody, String lusidEntitySubType, final ApiCallback> _callback) throws ApiException { okhttp3.Call localVarCall = setOptionalMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, _callback, new ConfigurationOptions()); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } private okhttp3.Call setOptionalMappingsForProductEntityAsync(String vendorName, String productName, String lusidEntityType, Map requestBody, String lusidEntitySubType, final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException { okhttp3.Call localVarCall = setOptionalMappingsForProductEntityValidateBeforeCall(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, _callback, opts); Type localVarReturnType = new TypeToken>(){}.getType(); localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); return localVarCall; } public class APIsetOptionalMappingsForProductEntityRequest { private final String vendorName; private final String productName; private final String lusidEntityType; private final Map requestBody; private String lusidEntitySubType; private APIsetOptionalMappingsForProductEntityRequest(String vendorName, String productName, String lusidEntityType, Map requestBody) { this.vendorName = vendorName; this.productName = productName; this.lusidEntityType = lusidEntityType; this.requestBody = requestBody; } /** * Set lusidEntitySubType * @param lusidEntitySubType (optional) * @return APIsetOptionalMappingsForProductEntityRequest */ public APIsetOptionalMappingsForProductEntityRequest lusidEntitySubType(String lusidEntitySubType) { this.lusidEntitySubType = lusidEntitySubType; return this; } /** * Build call for setOptionalMappingsForProductEntity * @param _callback ApiCallback API callback * @return Call to execute * @throws ApiException If fail to serialize the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException { return setOptionalMappingsForProductEntityCall(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, _callback); } /** * Execute setOptionalMappingsForProductEntity request * @return Map<String, LusidPropertyDefinitionOverridesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public Map execute() throws ApiException { ApiResponse> localVarResp = setOptionalMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType); return localVarResp.getData(); } /** * Execute setOptionalMappingsForProductEntity request. Use any specified configuration options to override any other configuration for this request only. * @return Map<String, LusidPropertyDefinitionOverridesResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public Map execute(ConfigurationOptions opts) throws ApiException { ApiResponse> localVarResp = setOptionalMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, opts); return localVarResp.getData(); } /** * Execute setOptionalMappingsForProductEntity request with HTTP info returned * @return ApiResponse<Map<String, LusidPropertyDefinitionOverridesResponse>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse> executeWithHttpInfo() throws ApiException { return setOptionalMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType); } /** * Execute setOptionalMappingsForProductEntity request with HTTP info returned. Use any specified configuration options to override any other configuration for this request only. * @return ApiResponse<Map<String, LusidPropertyDefinitionOverridesResponse>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public ApiResponse> executeWithHttpInfo(ConfigurationOptions opts) throws ApiException { return setOptionalMappingsForProductEntityWithHttpInfo(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, opts); } /** * Execute setOptionalMappingsForProductEntity request (asynchronously) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback> _callback) throws ApiException { return setOptionalMappingsForProductEntityAsync(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, _callback); } /** * Execute setOptionalMappingsForProductEntity request (asynchronously). Use any specified configuration options to override any other configuration for this request only. * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public okhttp3.Call executeAsync(final ApiCallback> _callback, ConfigurationOptions opts) throws ApiException { return setOptionalMappingsForProductEntityAsync(vendorName, productName, lusidEntityType, requestBody, lusidEntitySubType, _callback, opts); } } /** * [EARLY ACCESS] SetOptionalMappingsForProductEntity: Create a user defined LUSID property mappings for the specified vendor / LUSID entity. * * @param vendorName (required) * @param productName (required) * @param lusidEntityType (required) * @param requestBody (required) * @return APIsetOptionalMappingsForProductEntityRequest * @http.response.details
Status Code Description Response Headers
200 Success -
0 Error response -
*/ public APIsetOptionalMappingsForProductEntityRequest setOptionalMappingsForProductEntity(String vendorName, String productName, String lusidEntityType, Map requestBody) { return new APIsetOptionalMappingsForProductEntityRequest(vendorName, productName, lusidEntityType, requestBody); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy