content: /*
   * OidcVpAdapterBackend
   * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
   *
   * The version of the OpenAPI document: 1.0.0
   * Contact: info@affinidi.com
   *
   * 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.affinidi.tdk.login.configuration.client.apis;
  
  import com.fasterxml.jackson.core.type.TypeReference;
  
  import com.affinidi.tdk.login.configuration.client.ApiException;
  import com.affinidi.tdk.login.configuration.client.ApiClient;
  import com.affinidi.tdk.login.configuration.client.BaseApi;
  import com.affinidi.tdk.login.configuration.client.Configuration;
  import com.affinidi.tdk.login.configuration.client.Pair;
  
  import com.affinidi.tdk.login.configuration.client.models.GetUserInfo;
  import com.affinidi.tdk.login.configuration.client.models.JsonWebKey;
  import com.affinidi.tdk.login.configuration.client.models.OAuth2Token;
  import com.affinidi.tdk.login.configuration.client.models.OIDCConfig;
  
  
  import java.util.ArrayList;
  import java.util.Collections;
  import java.util.HashMap;
  import java.util.List;
  import java.util.Map;
  import java.util.StringJoiner;
  
  @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.13.0")
  public class IdpApi extends BaseApi {
  
    public IdpApi() {
      super(Configuration.getDefaultApiClient());
    }
  
    public IdpApi(ApiClient apiClient) {
      super(apiClient);
    }
  
    /**
     * OAuth 2.0 Authorize Endpoint
     * The authorization endpoint is one of the components in the OAuth 2.0 flow. It&#39;s the URL where a user is redirected to grant or deny access to their resources. When a user tries to access a service that requires OAuth 2.0 authorization, the application will redirect the user to this authorization endpoint. Here, the user can log in (if necessary) and then decide whether to grant the application access. 
     * @param projectId  (required)
     * @throws ApiException if fails to make API call
     */
    public void v1LoginProjectProjectIdOauth2AuthGet(@javax.annotation.Nonnull String projectId) throws ApiException {
      this.v1LoginProjectProjectIdOauth2AuthGet(projectId, Collections.emptyMap());
    }
  
  
    /**
     * OAuth 2.0 Authorize Endpoint
     * The authorization endpoint is one of the components in the OAuth 2.0 flow. It&#39;s the URL where a user is redirected to grant or deny access to their resources. When a user tries to access a service that requires OAuth 2.0 authorization, the application will redirect the user to this authorization endpoint. Here, the user can log in (if necessary) and then decide whether to grant the application access. 
     * @param projectId  (required)
     * @param additionalHeaders additionalHeaders for this call
     * @throws ApiException if fails to make API call
     */
    public void v1LoginProjectProjectIdOauth2AuthGet(@javax.annotation.Nonnull String projectId, Map<String, String> additionalHeaders) throws ApiException {
      Object localVarPostBody = null;
      
      // verify the required parameter 'projectId' is set
      if (projectId == null) {
        throw new ApiException(400, "Missing the required parameter 'projectId' when calling v1LoginProjectProjectIdOauth2AuthGet");
      }
      
      // create path and map variables
      String localVarPath = "/v1/login/project/{projectId}/oauth2/auth"
        .replaceAll("\\{" + "projectId" + "\\}", apiClient.escapeString(apiClient.parameterToString(projectId)));
  
      StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
      String localVarQueryParameterBaseName;
      List<Pair> localVarQueryParams = new ArrayList<Pair>();
      List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
      Map<String, String> localVarHeaderParams = new HashMap<String, String>();
      Map<String, String> localVarCookieParams = new HashMap<String, String>();
      Map<String, Object> localVarFormParams = new HashMap<String, Object>();
  
      
      localVarHeaderParams.putAll(additionalHeaders);
  
      
      
      final String[] localVarAccepts = {
        
      };
      final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
  
      final String[] localVarContentTypes = {
        
      };
      final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
  
      String[] localVarAuthNames = new String[] {  };
  
      apiClient.invokeAPI(
          localVarPath,
          "GET",
          localVarQueryParams,
          localVarCollectionQueryParams,
          localVarQueryStringJoiner.toString(),
          localVarPostBody,
          localVarHeaderParams,
          localVarCookieParams,
          localVarFormParams,
          localVarAccept,
          localVarContentType,
          localVarAuthNames,
          null
      );
    }
  
    /**
     * Revoke OAuth 2.0 Access or Refresh Token
     * Revoking a token (both access and refresh) means that the tokens will be invalid.  A revoked access token can no longer be used to make access requests, and a revoked  refresh token can no longer be used to refresh an access token. Revoking a refresh  token also invalidates the access token that was created with it. A token may only  be revoked by the client the token was generated for. 
     * @param projectId  (required)
     * @throws ApiException if fails to make API call
     */
    public void v1LoginProjectProjectIdOauth2RevokePost(@javax.annotation.Nonnull String projectId) throws ApiException {
      this.v1LoginProjectProjectIdOauth2RevokePost(projectId, Collections.emptyMap());
    }
  
  
    /**
     * Revoke OAuth 2.0 Access or Refresh Token
     * Revoking a token (both access and refresh) means that the tokens will be invalid.  A revoked access token can no longer be used to make access requests, and a revoked  refresh token can no longer be used to refresh an access token. Revoking a refresh  token also invalidates the access token that was created with it. A token may only  be revoked by the client the token was generated for. 
     * @param projectId  (required)
     * @param additionalHeaders additionalHeaders for this call
     * @throws ApiException if fails to make API call
     */
    public void v1LoginProjectProjectIdOauth2RevokePost(@javax.annotation.Nonnull String projectId, Map<String, String> additionalHeaders) throws ApiException {
      Object localVarPostBody = null;
      
      // verify the required parameter 'projectId' is set
      if (projectId == null) {
        throw new ApiException(400, "Missing the required parameter 'projectId' when calling v1LoginProjectProjectIdOauth2RevokePost");
      }
      
      // create path and map variables
      String localVarPath = "/v1/login/project/{projectId}/oauth2/revoke"
        .replaceAll("\\{" + "projectId" + "\\}", apiClient.escapeString(apiClient.parameterToString(projectId)));
  
      StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
      String localVarQueryParameterBaseName;
      List<Pair> localVarQueryParams = new ArrayList<Pair>();
      List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
      Map<String, String> localVarHeaderParams = new HashMap<String, String>();
      Map<String, String> localVarCookieParams = new HashMap<String, String>();
      Map<String, Object> localVarFormParams = new HashMap<String, Object>();
  
      
      localVarHeaderParams.putAll(additionalHeaders);
  
      
      
      final String[] localVarAccepts = {
        
      };
      final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
  
      final String[] localVarContentTypes = {
        
      };
      final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
  
      String[] localVarAuthNames = new String[] {  };
  
      apiClient.invokeAPI(
          localVarPath,
          "POST",
          localVarQueryParams,
          localVarCollectionQueryParams,
          localVarQueryStringJoiner.toString(),
          localVarPostBody,
          localVarHeaderParams,
          localVarCookieParams,
          localVarFormParams,
          localVarAccept,
          localVarContentType,
          localVarAuthNames,
          null
      );
    }
  
    /**
     * OpenID Connect Front- and Back-channel Enabled Logout
     * This endpoint initiates and completes user logout at the IdP OAuth2 &amp; OpenID provider and initiates OpenID Connect Front- / Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html Back-channel logout is performed asynchronously and does not affect logout flow. 
     * @param projectId  (required)
     * @throws ApiException if fails to make API call
     */
    public void v1LoginProjectProjectIdOauth2SessionsLogoutGet(@javax.annotation.Nonnull String projectId) throws ApiException {
      this.v1LoginProjectProjectIdOauth2SessionsLogoutGet(projectId, Collections.emptyMap());
    }
  
  
    /**
     * OpenID Connect Front- and Back-channel Enabled Logout
     * This endpoint initiates and completes user logout at the IdP OAuth2 &amp; OpenID provider and initiates OpenID Connect Front- / Back-channel logout: https://openid.net/specs/openid-connect-frontchannel-1_0.html https://openid.net/specs/openid-connect-backchannel-1_0.html Back-channel logout is performed asynchronously and does not affect logout flow. 
     * @param projectId  (required)
     * @param additionalHeaders additionalHeaders for this call
     * @throws ApiException if fails to make API call
     */
    public void v1LoginProjectProjectIdOauth2SessionsLogoutGet(@javax.annotation.Nonnull String projectId, Map<String, String> additionalHeaders) throws ApiException {
      Object localVarPostBody = null;
      
      // verify the required parameter 'projectId' is set
      if (projectId == null) {
        throw new ApiException(400, "Missing the required parameter 'projectId' when calling v1LoginProjectProjectIdOauth2SessionsLogoutGet");
      }
      
      // create path and map variables
      String localVarPath = "/v1/login/project/{projectId}/oauth2/sessions/logout"
        .replaceAll("\\{" + "projectId" + "\\}", apiClient.escapeString(apiClient.parameterToString(projectId)));
  
      StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
      String localVarQueryParameterBaseName;
      List<Pair> localVarQueryParams = new ArrayList<Pair>();
      List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
      Map<String, String> localVarHeaderParams = new HashMap<String, String>();
      Map<String, String> localVarCookieParams = new HashMap<String, String>();
      Map<String, Object> localVarFormParams = new HashMap<String, Object>();
  
      
      localVarHeaderParams.putAll(additionalHeaders);
  
      
      
      final String[] localVarAccepts = {
        
      };
      final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
  
      final String[] localVarContentTypes = {
        
      };
      final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
  
      String[] localVarAuthNames = new String[] {  };
  
      apiClient.invokeAPI(
          localVarPath,
          "GET",
          localVarQueryParams,
          localVarCollectionQueryParams,
          localVarQueryStringJoiner.toString(),
          localVarPostBody,
          localVarHeaderParams,
          localVarCookieParams,
          localVarFormParams,
          localVarAccept,
          localVarContentType,
          localVarAuthNames,
          null
      );
    }
  
    /**
     * The OAuth 2.0 Token Endpoint
     * The token endpoint is a critical component in the OAuth 2.0 protocol. It&#39;s the URL where a client application makes a request to exchange an authorization grant (such as an authorization code) for an access token. After a user grants authorization at the authorization endpoint, the client application receives an authorization grant, which is then exchanged for an access token at the token endpoint. This access token is then used to access the user&#39;s resources on the protected server. 
     * @param projectId  (required)
     * @return OAuth2Token
     * @throws ApiException if fails to make API call
     */
    public OAuth2Token v1LoginProjectProjectIdOauth2TokenPost(@javax.annotation.Nonnull String projectId) throws ApiException {
      return this.v1LoginProjectProjectIdOauth2TokenPost(projectId, Collections.emptyMap());
    }
  
  
    /**
     * The OAuth 2.0 Token Endpoint
     * The token endpoint is a critical component in the OAuth 2.0 protocol. It&#39;s the URL where a client application makes a request to exchange an authorization grant (such as an authorization code) for an access token. After a user grants authorization at the authorization endpoint, the client application receives an authorization grant, which is then exchanged for an access token at the token endpoint. This access token is then used to access the user&#39;s resources on the protected server. 
     * @param projectId  (required)
     * @param additionalHeaders additionalHeaders for this call
     * @return OAuth2Token
     * @throws ApiException if fails to make API call
     */
    public OAuth2Token v1LoginProjectProjectIdOauth2TokenPost(@javax.annotation.Nonnull String projectId, Map<String, String> additionalHeaders) throws ApiException {
      Object localVarPostBody = null;
      
      // verify the required parameter 'projectId' is set
      if (projectId == null) {
        throw new ApiException(400, "Missing the required parameter 'projectId' when calling v1LoginProjectProjectIdOauth2TokenPost");
      }
      
      // create path and map variables
      String localVarPath = "/v1/login/project/{projectId}/oauth2/token"
        .replaceAll("\\{" + "projectId" + "\\}", apiClient.escapeString(apiClient.parameterToString(projectId)));
  
      StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
      String localVarQueryParameterBaseName;
      List<Pair> localVarQueryParams = new ArrayList<Pair>();
      List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
      Map<String, String> localVarHeaderParams = new HashMap<String, String>();
      Map<String, String> localVarCookieParams = new HashMap<String, String>();
      Map<String, Object> localVarFormParams = new HashMap<String, Object>();
  
      
      localVarHeaderParams.putAll(additionalHeaders);
  
      
      
      final String[] localVarAccepts = {
        "application/json"
      };
      final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
  
      final String[] localVarContentTypes = {
        
      };
      final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
  
      String[] localVarAuthNames = new String[] {  };
  
      TypeReference<OAuth2Token> localVarReturnType = new TypeReference<OAuth2Token>() {};
      return apiClient.invokeAPI(
          localVarPath,
          "POST",
          localVarQueryParams,
          localVarCollectionQueryParams,
          localVarQueryStringJoiner.toString(),
          localVarPostBody,
          localVarHeaderParams,
          localVarCookieParams,
          localVarFormParams,
          localVarAccept,
          localVarContentType,
          localVarAuthNames,
          localVarReturnType
      );
    }
  
    /**
     * OpenID Connect Userinfo
     * This endpoint returns the payload of the ID Token,  including session.id_token values, of the provided  OAuth 2.0 Access Token&#39;s consent request. In the case of authentication error, a WWW-Authenticate  header might be set in the response with more information  about the error. See the spec for more details about  header format. 
     * @param projectId  (required)
     * @return GetUserInfo
     * @throws ApiException if fails to make API call
     */
    public GetUserInfo v1LoginProjectProjectIdUserinfoGet(@javax.annotation.Nonnull String projectId) throws ApiException {
      return this.v1LoginProjectProjectIdUserinfoGet(projectId, Collections.emptyMap());
    }
  
  
    /**
     * OpenID Connect Userinfo
     * This endpoint returns the payload of the ID Token,  including session.id_token values, of the provided  OAuth 2.0 Access Token&#39;s consent request. In the case of authentication error, a WWW-Authenticate  header might be set in the response with more information  about the error. See the spec for more details about  header format. 
     * @param projectId  (required)
     * @param additionalHeaders additionalHeaders for this call
     * @return GetUserInfo
     * @throws ApiException if fails to make API call
     */
    public GetUserInfo v1LoginProjectProjectIdUserinfoGet(@javax.annotation.Nonnull String projectId, Map<String, String> additionalHeaders) throws ApiException {
      Object localVarPostBody = null;
      
      // verify the required parameter 'projectId' is set
      if (projectId == null) {
        throw new ApiException(400, "Missing the required parameter 'projectId' when calling v1LoginProjectProjectIdUserinfoGet");
      }
      
      // create path and map variables
      String localVarPath = "/v1/login/project/{projectId}/userinfo"
        .replaceAll("\\{" + "projectId" + "\\}", apiClient.escapeString(apiClient.parameterToString(projectId)));
  
      StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
      String localVarQueryParameterBaseName;
      List<Pair> localVarQueryParams = new ArrayList<Pair>();
      List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
      Map<String, String> localVarHeaderParams = new HashMap<String, String>();
      Map<String, String> localVarCookieParams = new HashMap<String, String>();
      Map<String, Object> localVarFormParams = new HashMap<String, Object>();
  
      
      localVarHeaderParams.putAll(additionalHeaders);
  
      
      
      final String[] localVarAccepts = {
        "application/json"
      };
      final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
  
      final String[] localVarContentTypes = {
        
      };
      final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
  
      String[] localVarAuthNames = new String[] {  };
  
      TypeReference<GetUserInfo> localVarReturnType = new TypeReference<GetUserInfo>() {};
      return apiClient.invokeAPI(
          localVarPath,
          "GET",
          localVarQueryParams,
          localVarCollectionQueryParams,
          localVarQueryStringJoiner.toString(),
          localVarPostBody,
          localVarHeaderParams,
          localVarCookieParams,
          localVarFormParams,
          localVarAccept,
          localVarContentType,
          localVarAuthNames,
          localVarReturnType
      );
    }
  
    /**
     * Discover Well-Known JSON Web Keys
     * This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like node-jwks-rsa among others.
     * @param projectId  (required)
     * @return JsonWebKey
     * @throws ApiException if fails to make API call
     */
    public JsonWebKey v1LoginProjectProjectIdWellKnownJwksJsonGet(@javax.annotation.Nonnull String projectId) throws ApiException {
      return this.v1LoginProjectProjectIdWellKnownJwksJsonGet(projectId, Collections.emptyMap());
    }
  
  
    /**
     * Discover Well-Known JSON Web Keys
     * This endpoint returns JSON Web Keys required to verifying OpenID Connect ID Tokens and, if enabled, OAuth 2.0 JWT Access Tokens. This endpoint can be used with client libraries like node-jwks-rsa among others.
     * @param projectId  (required)
     * @param additionalHeaders additionalHeaders for this call
     * @return JsonWebKey
     * @throws ApiException if fails to make API call
     */
    public JsonWebKey v1LoginProjectProjectIdWellKnownJwksJsonGet(@javax.annotation.Nonnull String projectId, Map<String, String> additionalHeaders) throws ApiException {
      Object localVarPostBody = null;
      
      // verify the required parameter 'projectId' is set
      if (projectId == null) {
        throw new ApiException(400, "Missing the required parameter 'projectId' when calling v1LoginProjectProjectIdWellKnownJwksJsonGet");
      }
      
      // create path and map variables
      String localVarPath = "/v1/login/project/{projectId}/.well-known/jwks.json"
        .replaceAll("\\{" + "projectId" + "\\}", apiClient.escapeString(apiClient.parameterToString(projectId)));
  
      StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
      String localVarQueryParameterBaseName;
      List<Pair> localVarQueryParams = new ArrayList<Pair>();
      List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
      Map<String, String> localVarHeaderParams = new HashMap<String, String>();
      Map<String, String> localVarCookieParams = new HashMap<String, String>();
      Map<String, Object> localVarFormParams = new HashMap<String, Object>();
  
      
      localVarHeaderParams.putAll(additionalHeaders);
  
      
      
      final String[] localVarAccepts = {
        "application/json"
      };
      final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
  
      final String[] localVarContentTypes = {
        
      };
      final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
  
      String[] localVarAuthNames = new String[] {  };
  
      TypeReference<JsonWebKey> localVarReturnType = new TypeReference<JsonWebKey>() {};
      return apiClient.invokeAPI(
          localVarPath,
          "GET",
          localVarQueryParams,
          localVarCollectionQueryParams,
          localVarQueryStringJoiner.toString(),
          localVarPostBody,
          localVarHeaderParams,
          localVarCookieParams,
          localVarFormParams,
          localVarAccept,
          localVarContentType,
          localVarAuthNames,
          localVarReturnType
      );
    }
  
    /**
     * OpenID Connect Discovery
     * A mechanism for an OpenID Connect Relying Party to discover the End-User&#39;s  OpenID Provider and obtain information needed to interact with it, including  its OAuth 2.0 endpoint locations. 
     * @param projectId  (required)
     * @return OIDCConfig
     * @throws ApiException if fails to make API call
     */
    public OIDCConfig v1LoginProjectProjectIdWellKnownOpenidConfigurationGet(@javax.annotation.Nonnull String projectId) throws ApiException {
      return this.v1LoginProjectProjectIdWellKnownOpenidConfigurationGet(projectId, Collections.emptyMap());
    }
  
  
    /**
     * OpenID Connect Discovery
     * A mechanism for an OpenID Connect Relying Party to discover the End-User&#39;s  OpenID Provider and obtain information needed to interact with it, including  its OAuth 2.0 endpoint locations. 
     * @param projectId  (required)
     * @param additionalHeaders additionalHeaders for this call
     * @return OIDCConfig
     * @throws ApiException if fails to make API call
     */
    public OIDCConfig v1LoginProjectProjectIdWellKnownOpenidConfigurationGet(@javax.annotation.Nonnull String projectId, Map<String, String> additionalHeaders) throws ApiException {
      Object localVarPostBody = null;
      
      // verify the required parameter 'projectId' is set
      if (projectId == null) {
        throw new ApiException(400, "Missing the required parameter 'projectId' when calling v1LoginProjectProjectIdWellKnownOpenidConfigurationGet");
      }
      
      // create path and map variables
      String localVarPath = "/v1/login/project/{projectId}/.well-known/openid-configuration"
        .replaceAll("\\{" + "projectId" + "\\}", apiClient.escapeString(apiClient.parameterToString(projectId)));
  
      StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
      String localVarQueryParameterBaseName;
      List<Pair> localVarQueryParams = new ArrayList<Pair>();
      List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
      Map<String, String> localVarHeaderParams = new HashMap<String, String>();
      Map<String, String> localVarCookieParams = new HashMap<String, String>();
      Map<String, Object> localVarFormParams = new HashMap<String, Object>();
  
      
      localVarHeaderParams.putAll(additionalHeaders);
  
      
      
      final String[] localVarAccepts = {
        "application/json"
      };
      final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
  
      final String[] localVarContentTypes = {
        
      };
      final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
  
      String[] localVarAuthNames = new String[] {  };
  
      TypeReference<OIDCConfig> localVarReturnType = new TypeReference<OIDCConfig>() {};
      return apiClient.invokeAPI(
          localVarPath,
          "GET",
          localVarQueryParams,
          localVarCollectionQueryParams,
          localVarQueryStringJoiner.toString(),
          localVarPostBody,
          localVarHeaderParams,
          localVarCookieParams,
          localVarFormParams,
          localVarAccept,
          localVarContentType,
          localVarAuthNames,
          localVarReturnType
      );
    }
  
    @Override
    public <T> T invokeAPI(String url, String method, Object request, TypeReference<T> returnType, Map<String, String> additionalHeaders) throws ApiException {
      String localVarPath = url.replace(apiClient.getBaseURL(), "");
      StringJoiner localVarQueryStringJoiner = new StringJoiner("&");
      List<Pair> localVarQueryParams = new ArrayList<Pair>();
      List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
      Map<String, String> localVarHeaderParams = new HashMap<String, String>();
      Map<String, String> localVarCookieParams = new HashMap<String, String>();
      Map<String, Object> localVarFormParams = new HashMap<String, Object>();
  
      localVarHeaderParams.putAll(additionalHeaders);
  
      final String[] localVarAccepts = {
        "application/json"
      };
      final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
  
      final String[] localVarContentTypes = {
        
      };
      final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
  
      String[] localVarAuthNames = new String[] {  };
  
      return apiClient.invokeAPI(
        localVarPath,
          method,
          localVarQueryParams,
          localVarCollectionQueryParams,
          localVarQueryStringJoiner.toString(),
          request,
          localVarHeaderParams,
          localVarCookieParams,
          localVarFormParams,
          localVarAccept,
          localVarContentType,
          localVarAuthNames,
          returnType
      );
    }
  }
  