package com.groupbyinc.api.model;

import com.groupbyinc.common.jackson.annotation.JsonProperty;

import java.util.Map;

/**
 * Created by groupby on 08/04/15.
 * @internal
 */
public class DebugInfo {
    @JsonProperty
    Map<String, Object> rawResponse;
    @JsonProperty
    Map<String, Object> rawRequest;

    public static DebugInfo createDebugInfo(Map<String, Object> rawRequest, Map<String, Object> rawResponse) {
        DebugInfo debugInfo = new DebugInfo();
        debugInfo.rawRequest = rawRequest;
        debugInfo.rawResponse = rawResponse;
        return debugInfo;
    }


}

@@ -246,307 +246,753 @@
 awRe
-sponse;%0A    @JsonProperty%0A    Map%3CString, Object%3E rawRequest;%0A%0A    public static DebugInfo createDebugInfo(Map%3CString, Object%3E rawRequest, Map%3CString, Object%3E rawResponse) %7B%0A        DebugInfo debugInfo = new DebugInfo();%0A        debugInfo.rawRequest = rawRequest;%0A        debugInfo.rawResponse = raw
+quest;%0A    @JsonProperty%0A    Map%3CString, Object%3E rawResponse;%0A    @JsonProperty%0A    Map%3CString, Object%3E rawAggregationsRequest;%0A    @JsonProperty%0A    Map%3CString, Object%3E rawAggregationsResponse;%0A%0A    public static DebugInfo createDebugInfo(Map%3CString, Object%3E rawRequest, Map%3CString, Object%3E rawResponse,%0A                                            Map%3CString, Object%3E rawAggregationsRequest,%0A                                            Map%3CString, Object%3E rawAggregationsResponse) %7B%0A        DebugInfo debugInfo = new DebugInfo();%0A        debugInfo.rawRequest = rawRequest;%0A        debugInfo.rawResponse = rawResponse;%0A        debugInfo.rawAggregationsRequest = rawAggregationsRequest;%0A        debugInfo.rawAggregationsResponse = rawAggregations
 Resp
@@ -1029,12 +1029,10 @@
 ;%0A    %7D%0A
-%0A%0A
 %7D%0A

update debug info