brapi-java-client/src/main/java/org/brapi/client/v2/modules/genotype/VariantSetsApi.java
private Call variantsetsVariantSetDbIdCallsetsGetCall(String variantSetDbId, String callSetDbId, String callSetName, Integer page, Integer pageSize) throws ApiException {
        if(variantSetDbId == null) {
            throw new IllegalArgumentException("variantSetDbId cannot be null"); 
        }
        Object localVarPostBody = null;
        
        // create path and map variables
        String localVarPath = "/variantsets/{variantSetDbId}/callsets"
            .replaceAll("\\{" + "variantSetDbId" + "\\}", apiClient.escapeString(variantSetDbId.toString()));

        Map<String, String> localVarQueryParams = new HashMap<>();
        Map<String, String> localVarCollectionQueryParams = new HashMap<>();
        if (callSetDbId != null)
            apiClient.prepQueryParameter(localVarQueryParams, "callSetDbId", callSetDbId);
        if (callSetName != null)
            apiClient.prepQueryParameter(localVarQueryParams, "callSetName", callSetName);
        if (page != null)
            apiClient.prepQueryParameter(localVarQueryParams, "page", page);
        if (pageSize != null)
            apiClient.prepQueryParameter(localVarQueryParams, "pageSize", 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 variantsetsVariantSetDbIdCallsetsGet
     * @param variantSetDbId The ID of the &#x60;VariantSet&#x60; to be retrieved. (required)
     * @param callSetDbId The ID of the &#x60;CallSet&#x60; to be retrieved. (optional)
     * @param callSetName The human readable name of the &#x60;CallSet&#x60; to be retrieved. (optional)
     * @param page Used to request a specific page of data to be returned.  The page indexing starts at 0 (the first page is &#x27;page&#x27;&#x3D; 0). Default is &#x60;0&#x60;. (optional)
     * @param pageSize The size of the pages to be returned. Default is &#x60;1000&#x60;. (optional)



     * @return Call to execute
     * @throws ApiException If fail to serialize the request body object
     */
Build call for variantsetsVariantSetDbIdCallsetsGet
@param variantSetDbId The ID of the `VariantSet` to be retrieved. (required)
@param callSetDbId The ID of the `CallSet` to be retrieved. (optional)
@param callSetName The human readable name of the `CallSet` to be retrieved. (optional)
@param page Used to request a specific page of data to be returned.  The page indexing starts at 0 (the first page is 'page'= 0). Default is `0`. (optional)
@param pageSize The size of the pages to be returned.



@return Call to execute
@throws ApiException If fail to serialize the request body object
Build call for variantsetsVariantSetDbIdCallsetsGet @param variantSetDbId The ID of the ` VariantSet ` to be retrieved . ( required ) @param callSetDbId The ID of the ` CallSet ` to be retrieved . ( optional ) @param callSetName The human readable name of the ` CallSet ` to be retrieved . ( optional ) @param page Used to request a specific page of data to be returned . The page indexing starts at 0 ( the first page is ' page ' = 0 ) . Default is ` 0 ` . ( optional ) @param pageSize The size of the pages to be returned . @return Call to execute @throws ApiException If fail to serialize the request body object
private Call variantsetsVariantSetDbIdCallsetsGetCall(String variantSetDbId, String callSetDbId, String callSetName, Integer page, Integer pageSize) throws ApiException {
        if(variantSetDbId == null) {
            throw new IllegalArgumentException("variantSetDbId cannot be null"); 
        }
        Object localVarPostBody = null;
        String localVarPath = "/variantsets/{variantSetDbId}/callsets"
            .replaceAll("\\{" + "variantSetDbId" + "\\}", apiClient.escapeString(variantSetDbId.toString()));
        Map<String, String> localVarQueryParams = new HashMap<>();
        Map<String, String> localVarCollectionQueryParams = new HashMap<>();
        if (callSetDbId != null)
            apiClient.prepQueryParameter(localVarQueryParams, "callSetDbId", callSetDbId);
        if (callSetName != null)
            apiClient.prepQueryParameter(localVarQueryParams, "callSetName", callSetName);
        if (page != null)
            apiClient.prepQueryParameter(localVarQueryParams, "page", page);
        if (pageSize != null)
            apiClient.prepQueryParameter(localVarQueryParams, "pageSize", 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 variantsetsVariantSetDbIdCallsetsGetCall ( String variantSetDbId , String callSetDbId , String callSetName , Integer page , Integer pageSize ) throws ApiException { if ( variantSetDbId == null ) { throw new IllegalArgumentException ( "variantSetDbId cannot be null" ) ; } Object localVarPostBody = null ; String localVarPath = "/variantsets/{variantSetDbId}/callsets" . replaceAll ( "\\{" + "variantSetDbId" + "\\}" , apiClient . escapeString ( variantSetDbId . toString ( ) ) ) ; Map < String , String > localVarQueryParams = new HashMap < > ( ) ; Map < String , String > localVarCollectionQueryParams = new HashMap < > ( ) ; if ( callSetDbId != null ) apiClient . prepQueryParameter ( localVarQueryParams , "callSetDbId" , callSetDbId ) ; if ( callSetName != null ) apiClient . prepQueryParameter ( localVarQueryParams , "callSetName" , callSetName ) ; if ( page != null ) apiClient . prepQueryParameter ( localVarQueryParams , "page" , page ) ; if ( pageSize != null ) apiClient . prepQueryParameter ( localVarQueryParams , "pageSize" , 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 variantsetsVariantSetDbIdCallsetsGet
 @param variantSetDbId The ID of the &#x60;VariantSet&#x60; to be retrieved.
Build call for variantsetsVariantSetDbIdCallsetsGet @param variantSetDbId The ID of the &#x60 ; VariantSet&#x60 ; to be retrieved .
// create path and map variables