class LogbookOperationsClientRest extends DefaultClient implements LogbookOperationsClient {

    @Override
    public JsonNode switchIndexes(SwitchIndexParameters switchIndexParam)
        throws InvalidParseOperationException, LogbookClientServerException {
        try (Response response = make(post().withPath("/alias").withBody(switchIndexParam, "The options are mandatory").withJson())) {
            check(response);
            return response.readEntity(JsonNode.class);
        } catch (LogbookClientNotFoundException | LogbookClientAlreadyExistsException | LogbookClientBadRequestException | VitamClientInternalException e) {
            throw new LogbookClientServerException(ErrorMessage.INTERNAL_SERVER_ERROR.getMessage(), e);
        }
    }

      LogbookOperationsClientRest(LogbookOperationsClientFactory factory);

}