class StorageClientRest extends DefaultClient implements StorageClient {

    @Override
    public RequestResponse<OfferLog> getOfferLogs(String strategyId, DataCategory type, Long offset, int limit,
        Order order)
        throws StorageServerClientException {
        Integer tenantId = ParameterHelper.getTenantParameter();
        ParametersChecker.checkParameter(TYPE_OF_STORAGE_OBJECT_MUST_HAVE_A_VALID_VALUE, type);
        ParametersChecker.checkParameter(ORDER_OF_STORAGE_OBJECT_MUST_HAVE_A_VALID_VALUE, order);

        VitamRequestBuilder request = get()
            .withPath("/" + type.name() + "/logs")
            .withHeader(GlobalDataRest.X_TENANT_ID, tenantId)
            .withHeader(GlobalDataRest.X_STRATEGY_ID, strategyId)
            .withBody(new OfferLogRequest(offset, limit, order))
            .withJson();
        try (Response response = make(request)) {
            return RequestResponse.parseFromResponse(response, OfferLog.class);
        } catch (VitamClientInternalException e) {
            final String errorMessage =
                VitamCodeHelper.getMessageFromVitamCode(VitamCode.STORAGE_TECHNICAL_INTERNAL_ERROR);
            LOGGER.error(errorMessage, e);
            throw new StorageServerClientException(errorMessage, e);
        }
    }

      StorageClientRest(StorageClientFactory factory);

}