brapi-java-client/src/main/java/org/brapi/client/v2/modules/phenotype/ImagesApi.java
private Call searchImagesSearchResultsDbIdGetCall(String searchResultsDbId, Integer page, Integer pageSize) throws ApiException {
        if(searchResultsDbId == null) {
        	throw new IllegalArgumentException("searchResultsDbId cannot be null");
        }
        Object localVarPostBody = null;
        
        // create path and map variables
        String localVarPath = "/search/images/{searchResultsDbId}"
            .replaceAll("\\{" + "searchResultsDbId" + "\\}", apiClient.escapeString(searchResultsDbId.toString()));

        Map<String, String> localVarQueryParams = new HashMap<>();
        Map<String, String> localVarCollectionQueryParams = new HashMap<>();
        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 searchImagesSearchResultsDbIdGet
     * @param searchResultsDbId Unique identifier which references the search results (required)
     * @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 searchImagesSearchResultsDbIdGet
@param searchResultsDbId Unique identifier which references the search results (required)
@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 searchImagesSearchResultsDbIdGet @param searchResultsDbId Unique identifier which references the search results ( required ) @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 searchImagesSearchResultsDbIdGetCall(String searchResultsDbId, Integer page, Integer pageSize) throws ApiException {
        if(searchResultsDbId == null) {
        	throw new IllegalArgumentException("searchResultsDbId cannot be null");
        }
        Object localVarPostBody = null;
        String localVarPath = "/search/images/{searchResultsDbId}"
            .replaceAll("\\{" + "searchResultsDbId" + "\\}", apiClient.escapeString(searchResultsDbId.toString()));
        Map<String, String> localVarQueryParams = new HashMap<>();
        Map<String, String> localVarCollectionQueryParams = new HashMap<>();
        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 searchImagesSearchResultsDbIdGetCall ( String searchResultsDbId , Integer page , Integer pageSize ) throws ApiException { if ( searchResultsDbId == null ) { throw new IllegalArgumentException ( "searchResultsDbId cannot be null" ) ; } Object localVarPostBody = null ; String localVarPath = "/search/images/{searchResultsDbId}" . replaceAll ( "\\{" + "searchResultsDbId" + "\\}" , apiClient . escapeString ( searchResultsDbId . toString ( ) ) ) ; Map < String , String > localVarQueryParams = new HashMap < > ( ) ; Map < String , String > localVarCollectionQueryParams = new HashMap < > ( ) ; 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 searchImagesSearchResultsDbIdGet
 @param searchResultsDbId Unique identifier which references the search results (required)
 @param page Used to request a specific page of data to be returned.
Build call for searchImagesSearchResultsDbIdGet @param searchResultsDbId Unique identifier which references the search results ( required ) @param page Used to request a specific page of data to be returned .
// create path and map variables