package de.bwaldvogel.mongo.wire.message;

import java.util.ArrayList;
import java.util.List;

import io.netty.channel.Channel;

public class MongoKillCursors extends ClientRequest {
    private List<Long> cursorIds;

    private MongoKillCursors(Channel channel, MessageHeader header, String fullCollectionName) {
        super(channel, header, fullCollectionName);
    }

    public MongoKillCursors(Channel channel, MessageHeader header, List<Long> cursorIds) {
        this(channel, header, "");
        this.cursorIds = new ArrayList<>(cursorIds);
    }

    public MongoKillCursors(List<Long> cursorIds) {
        this(null, null, cursorIds);
    }

    public List<Long> getCursorIds() {
        return cursorIds;
    }
}

@@ -719,11 +719,281 @@
 s;%0A    %7D
+%0A%0A    @Override%0A    public String toString() %7B%0A        StringBuilder sb = new StringBuilder();%0A        sb.append(getClass().getSimpleName()).append(%22(%22);%0A        sb.append(%22cursorIds: %22).append(getCursorIds());%0A        sb.append(%22)%22);%0A        return sb.toString();%0A    %7D
 %0A%7D%0A

Implement toString for MongoKillCursors