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 protected Map<String, Object> rawRequest;
  @JsonProperty protected Map<String, Object> rawResponse;
  @JsonProperty protected Map<String, Object> rawAggregationsRequest;
  @JsonProperty protected Map<String, Object> rawAggregationsResponse;

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

@@ -316,149 +316,8 @@
 nse;
-%0A  @JsonProperty protected Map%3CString, Object%3E rawAggregationsRequest;%0A  @JsonProperty protected Map%3CString, Object%3E rawAggregationsResponse;
 %0A%0A  
@@ -430,97 +430,8 @@
 onse
-, Map%3CString, Object%3E rawAggregationsRequest, Map%3CString, Object%3E rawAggregationsResponse
 ) %7B%0A
@@ -557,136 +557,8 @@
 se;%0A
-    debugInfo.rawAggregationsRequest = rawAggregationsRequest;%0A    debugInfo.rawAggregationsResponse = rawAggregationsResponse;%0A
     

update DebugInfo