brapi-java-client/src/main/java/org/brapi/client/v2/modules/genotype/VariantsApi.java
public ApiResponse<Pair<Optional<BrAPIVariantsListResponse>, Optional<BrAPIAcceptedSearchResponse>>> searchVariantsPost(BrAPIVariantsSearchRequest body) throws ApiException {
        Call call = searchVariantsPostCall(body);
        Type localVarReturnType = new TypeToken<BrAPIVariantsListResponse>(){}.getType();
        return apiClient.executeSearch(call, localVarReturnType);
    }
/**
     * Gets a list of &#x60;Variant&#x60; matching the search criteria.
     * Gets a list of &#x60;Variant&#x60; matching the search criteria.  ** THIS ENDPOINT USES TOKEN BASED PAGING **
     * @param body Study Search request (optional)

     * @return ApiResponse&lt;VariantsListResponse&gt;
     * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
     */
Gets a list of `Variant` matching the search criteria.
Gets a list of `Variant` matching the search criteria.

@return ApiResponse<VariantsListResponse>
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
Gets a list of ` Variant ` matching the search criteria . Gets a list of ` Variant ` matching the search criteria . @return ApiResponse<VariantsListResponse > @throws ApiException If fail to call the API e . g . server error or cannot deserialize the response body
public ApiResponse<Pair<Optional<BrAPIVariantsListResponse>, Optional<BrAPIAcceptedSearchResponse>>> searchVariantsPost(BrAPIVariantsSearchRequest body) throws ApiException {
        Call call = searchVariantsPostCall(body);
        Type localVarReturnType = new TypeToken<BrAPIVariantsListResponse>(){}.getType();
        return apiClient.executeSearch(call, localVarReturnType);
    }
public ApiResponse < Pair < Optional < BrAPIVariantsListResponse > , Optional < BrAPIAcceptedSearchResponse > > > searchVariantsPost ( BrAPIVariantsSearchRequest body ) throws ApiException { Call call = searchVariantsPostCall ( body ) ; Type localVarReturnType = new TypeToken < BrAPIVariantsListResponse > ( ) { } . getType ( ) ; return apiClient . executeSearch ( call , localVarReturnType ) ; }
Gets a list of &#x60;Variant&#x60; matching the search criteria.
Gets a list of &#x60 ; Variant&#x60 ; matching the search criteria .