class StreamAck implements Jsonifiable {

    @Override
    public JsonValue toJson() {
        return JsonFactory.newObjectBuilder()
                .set(JsonFields.ELEMENT_ID, elementId)
                .set(JsonFields.STATUS, status.name())
                .build();
    }

    private  StreamAck(final String elementId, final Status status);

}