class AlterReplicaLogDirsResponse extends AbstractResponse {

    @Override
    public Map<Errors, Integer> errorCounts() {
        Map<Errors, Integer> errorCounts = new HashMap<>();
        data.results().forEach(topicResult ->
            topicResult.partitions().forEach(partitionResult ->
                updateErrorCounts(errorCounts, Errors.forCode(partitionResult.errorCode()))));
        return errorCounts;
    }

    public  AlterReplicaLogDirsResponse(Struct struct);
    public  AlterReplicaLogDirsResponse(Struct struct, short version);
    public  AlterReplicaLogDirsResponse(AlterReplicaLogDirsResponseData data);

}