class LogbookLifeCyclesClientRest extends DefaultClient implements LogbookLifeCyclesClient {

    @Override
    public JsonNode getRawUnitLifeCycleById(String id)
        throws LogbookClientException {
        try (Response response = make(get().withPath(UNIT_LIFECYCLES_RAW_BY_ID_URL + id).withJsonAccept())) {
            check(response);
            return ((RequestResponseOK<JsonNode>)RequestResponse.parseFromResponse(response)).getFirstResult();
        } catch (PreconditionFailedClientException | VitamClientInternalException e) {
            throw new LogbookClientServerException(ErrorMessage.INTERNAL_SERVER_ERROR.getMessage(), e);
        }
    }

      LogbookLifeCyclesClientRest(LogbookLifeCyclesClientFactory factory);

}