public JsonObject setMaxComments(int comments){
        JsonObject result = new JsonObject();
        if( dbServices.setMaxCommentsPerVideo(comments)) {
            result.addProperty("msg", "Max comments to collect for each video is now: " + comments);
        }
        else
            result.addProperty("error","Failed to set max comments per video");
        return result;
    }
public JsonObject setMaxComments(int comments){
        JsonObject result = new JsonObject();
        if( dbServices.setMaxCommentsPerVideo(comments)) {
            result.addProperty("msg", "Max comments to collect for each video is now: " + comments);
        }
        else
            result.addProperty("error","Failed to set max comments per video");
        return result;
    }
public jsonobject setmaxcomments(int comments){ jsonobject result = new jsonobject(); if( dbservices.setmaxcommentspervideo(comments)) { result.addproperty("msg", "max comments to collect for each video is now: " + comments); } else result.addproperty("error","failed to set max comments per video"); return result; }