class DeleteGroupsResponse extends AbstractResponse {

    public Errors get(String group) throws IllegalArgumentException {
        DeletableGroupResult result = data.results().find(group);
        if (result == null) {
            throw new IllegalArgumentException("could not find group " + group + " in the delete group response");
        }
        return Errors.forCode(result.errorCode());
    }

    public  DeleteGroupsResponse(DeleteGroupsResponseData data);
    public  DeleteGroupsResponse(Struct struct);
    public  DeleteGroupsResponse(Struct struct, short version);

}