class AcknowledgementsAdapter implements Adapter<Acknowledgements> {

    @Override
    public Acknowledgements fromAdaptable(final Adaptable adaptable) {
        checkNotNull(adaptable, "adaptable");
        final ThingId thingId = getThingId(adaptable);
        return ThingAcknowledgementsFactory.newAcknowledgements(
                thingId,
                gatherContainedAcknowledgements(adaptable, thingId),
                getStatusCodeOrThrow(adaptable),
                adaptable.getDittoHeaders()
        );
    }

    private  AcknowledgementsAdapter(final HeaderTranslator headerTranslator);

}