brapi-java-client/src/main/java/org/brapi/client/v2/modules/genotype/CallsApi.java
private Call callsGetCall(CallQueryParams queryParams) throws ApiException {
        if(queryParams == null) {
            throw new IllegalArgumentException("queryParams cannot be null"); 
        }
        Object localVarPostBody = null;
        
        // create path and map variables
        String localVarPath = "/calls";

        Map<String, String> localVarQueryParams = new HashMap<>();
        Map<String, String> localVarCollectionQueryParams = new HashMap<>();
        if (queryParams.callSetDbId() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "callSetDbId", queryParams.callSetDbId());
        if (queryParams.variantDbId() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "variantDbId", queryParams.variantDbId());
        if (queryParams.variantSetDbId() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "variantSetDbId", queryParams.variantSetDbId());
        if (queryParams.expandHomozygotes() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "expandHomozygotes", queryParams.expandHomozygotes());
        if (queryParams.unknownString() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "unknownString", queryParams.unknownString());
        if (queryParams.sepPhased() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "sepPhased", queryParams.sepPhased());
        if (queryParams.sepUnphased() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "sepUnphased", queryParams.sepUnphased());
        if (queryParams.pageToken() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "pageToken", queryParams.pageToken());
        if (queryParams.pageSize() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "pageSize", queryParams.pageSize());

        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        
        

        Map<String, Object> localVarFormParams = new HashMap<String, Object>();

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

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

        String[] localVarAuthNames = new String[] { "AuthorizationToken" };
        return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames);
    }
/**
     * Build call for callsGet
     * @param queryParams
     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     */
Build call for callsGet
@param queryParams
@return Call to execute
@throws ApiException If fail to serialize the request body object
Build call for callsGet @param queryParams @return Call to execute @throws ApiException If fail to serialize the request body object
private Call callsGetCall(CallQueryParams queryParams) throws ApiException {
        if(queryParams == null) {
            throw new IllegalArgumentException("queryParams cannot be null"); 
        }
        Object localVarPostBody = null;
        String localVarPath = "/calls";
        Map<String, String> localVarQueryParams = new HashMap<>();
        Map<String, String> localVarCollectionQueryParams = new HashMap<>();
        if (queryParams.callSetDbId() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "callSetDbId", queryParams.callSetDbId());
        if (queryParams.variantDbId() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "variantDbId", queryParams.variantDbId());
        if (queryParams.variantSetDbId() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "variantSetDbId", queryParams.variantSetDbId());
        if (queryParams.expandHomozygotes() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "expandHomozygotes", queryParams.expandHomozygotes());
        if (queryParams.unknownString() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "unknownString", queryParams.unknownString());
        if (queryParams.sepPhased() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "sepPhased", queryParams.sepPhased());
        if (queryParams.sepUnphased() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "sepUnphased", queryParams.sepUnphased());
        if (queryParams.pageToken() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "pageToken", queryParams.pageToken());
        if (queryParams.pageSize() != null)
            apiClient.prepQueryParameter(localVarQueryParams, "pageSize", queryParams.pageSize());
        Map<String, String> localVarHeaderParams = new HashMap<String, String>();
        Map<String, Object> localVarFormParams = new HashMap<String, Object>();
        final String[] localVarAccepts = {
            "application/json"
        };
        final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
        if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
        final String[] localVarContentTypes = {
        };
        final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
        localVarHeaderParams.put("Content-Type", localVarContentType);
        String[] localVarAuthNames = new String[] { "AuthorizationToken" };
        return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames);
    }
private Call callsGetCall ( CallQueryParams queryParams ) throws ApiException { if ( queryParams == null ) { throw new IllegalArgumentException ( "queryParams cannot be null" ) ; } Object localVarPostBody = null ; String localVarPath = "/calls" ; Map < String , String > localVarQueryParams = new HashMap < > ( ) ; Map < String , String > localVarCollectionQueryParams = new HashMap < > ( ) ; if ( queryParams . callSetDbId ( ) != null ) apiClient . prepQueryParameter ( localVarQueryParams , "callSetDbId" , queryParams . callSetDbId ( ) ) ; if ( queryParams . variantDbId ( ) != null ) apiClient . prepQueryParameter ( localVarQueryParams , "variantDbId" , queryParams . variantDbId ( ) ) ; if ( queryParams . variantSetDbId ( ) != null ) apiClient . prepQueryParameter ( localVarQueryParams , "variantSetDbId" , queryParams . variantSetDbId ( ) ) ; if ( queryParams . expandHomozygotes ( ) != null ) apiClient . prepQueryParameter ( localVarQueryParams , "expandHomozygotes" , queryParams . expandHomozygotes ( ) ) ; if ( queryParams . unknownString ( ) != null ) apiClient . prepQueryParameter ( localVarQueryParams , "unknownString" , queryParams . unknownString ( ) ) ; if ( queryParams . sepPhased ( ) != null ) apiClient . prepQueryParameter ( localVarQueryParams , "sepPhased" , queryParams . sepPhased ( ) ) ; if ( queryParams . sepUnphased ( ) != null ) apiClient . prepQueryParameter ( localVarQueryParams , "sepUnphased" , queryParams . sepUnphased ( ) ) ; if ( queryParams . pageToken ( ) != null ) apiClient . prepQueryParameter ( localVarQueryParams , "pageToken" , queryParams . pageToken ( ) ) ; if ( queryParams . pageSize ( ) != null ) apiClient . prepQueryParameter ( localVarQueryParams , "pageSize" , queryParams . pageSize ( ) ) ; Map < String , String > localVarHeaderParams = new HashMap < String , String > ( ) ; Map < String , Object > localVarFormParams = new HashMap < String , Object > ( ) ; final String [ ] localVarAccepts = { "application/json" } ; final String localVarAccept = apiClient . selectHeaderAccept ( localVarAccepts ) ; if ( localVarAccept != null ) localVarHeaderParams . put ( "Accept" , localVarAccept ) ; final String [ ] localVarContentTypes = { } ; final String localVarContentType = apiClient . selectHeaderContentType ( localVarContentTypes ) ; localVarHeaderParams . put ( "Content-Type" , localVarContentType ) ; String [ ] localVarAuthNames = new String [ ] { "AuthorizationToken" } ; return apiClient . buildCall ( localVarPath , "GET" , localVarQueryParams , localVarCollectionQueryParams , localVarPostBody , localVarHeaderParams , localVarFormParams , localVarAuthNames ) ; }
Build call for callsGet
 @param queryParams
 @return Call to execute
 @throws ApiException If fail to serialize the request body object
Build call for callsGet @param queryParams @return Call to execute @throws ApiException If fail to serialize the request body object
// create path and map variables