appd-client/src/main/java/com/signalfx/appd/client/MetricDataRequest.java
protected Map<String, Object> getQueryString() {
        Map<String, Object> qs = new HashMap<>();
        if (timeParams != null) {
            qs.put("time-range-type", timeParams.type);
            if (timeParams.duration > 0) {
                qs.put("duration-in-mins", timeParams.duration);
            }
            if (timeParams.startTime > 0) {
                qs.put("start-time", timeParams.startTime);
            }
            if (timeParams.endTime > 0) {
                qs.put("end-time", timeParams.endTime);
            }
        }
        qs.put("rollup", false);
        if (metricPath != null) {
            qs.put("metric-path", metricPath);
        }
        return qs;
    }
protected Map<String, Object> getQueryString() {
        Map<String, Object> qs = new HashMap<>();
        if (timeParams != null) {
            qs.put("time-range-type", timeParams.type);
            if (timeParams.duration > 0) {
                qs.put("duration-in-mins", timeParams.duration);
            }
            if (timeParams.startTime > 0) {
                qs.put("start-time", timeParams.startTime);
            }
            if (timeParams.endTime > 0) {
                qs.put("end-time", timeParams.endTime);
            }
        }
        qs.put("rollup", false);
        if (metricPath != null) {
            qs.put("metric-path", metricPath);
        }
        return qs;
    }
protected Map < String , Object > getQueryString ( ) { Map < String , Object > qs = new HashMap <> ( ) ; if ( timeParams != null ) { qs . put ( "time-range-type" , timeParams . type ) ; if ( timeParams . duration > 0 ) { qs . put ( "duration-in-mins" , timeParams . duration ) ; } if ( timeParams . startTime > 0 ) { qs . put ( "start-time" , timeParams . startTime ) ; } if ( timeParams . endTime > 0 ) { qs . put ( "end-time" , timeParams . endTime ) ; } } qs . put ( "rollup" , false ) ; if ( metricPath != null ) { qs . put ( "metric-path" , metricPath ) ; } return qs ; }
Generate querystring for the request.

@return map of query strings.
Generate querystring for the request .