AggregateRequestDto.java 3.08 KiB
package com.tarento.analytics.dto;
import com.fasterxml.jackson.databind.node.ObjectNode;
import java.util.Map;
public class AggregateRequestDto {
	private String requestId; 
	private String dashboardId; 
	private String visualizationType; 
	private String visualizationCode;
	private String moduleLevel; 
	private String queryType;
	private Map<String, Object> filters; 
	private Map<String, Object> esFilters; 
	private Map<String, Object> aggregationFactors; 
	private RequestDate requestDate; 
	private String interval;
	private ObjectNode chartNode;
	public AggregateRequestDto() {} 
	public AggregateRequestDto(AggregateRequestDtoV3 requestDtoV3, String visualizationType, String visualizationCode) {
		this.visualizationCode = visualizationCode; 
		this.visualizationType = visualizationType; 
		this.moduleLevel = requestDtoV3.getModuleLevel(); 
		this.queryType = requestDtoV3.getQueryType(); 
		this.filters = requestDtoV3.getFilters(); 
		this.esFilters = requestDtoV3.getEsFilters(); 
		this.aggregationFactors = requestDtoV3.getAggregationFactors(); 
		this.requestDate = requestDtoV3.getRequestDate(); 
		this.interval = requestDtoV3.getInterval(); 
		this.chartNode = requestDtoV3.getChartNode(); 
		this.requestId= requestDtoV3.getRequestId();
	public String getDashboardId() {
		return dashboardId;
	public void setDashboardId(String dashboardId) {
		this.dashboardId = dashboardId;
	public String getRequestId() {
		return requestId;
	public void setRequestId(String requestId) {
		this.requestId = requestId;
	public ObjectNode getChartNode() {
		return chartNode;
	public void setChartNode(ObjectNode chartNode) {
		this.chartNode = chartNode;
	public String getModuleLevel() {
		return moduleLevel;
	public void setModuleLevel(String moduleLevel) {
		this.moduleLevel = moduleLevel;
	public Map<String, Object> getEsFilters() {
		return esFilters;
	public void setEsFilters(Map<String, Object> esFilters) {
		this.esFilters = esFilters;
	public String getVisualizationCode() {
		return visualizationCode;
7172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
} public void setVisualizationCode(String visualizationCode) { this.visualizationCode = visualizationCode; } public String getVisualizationType() { return visualizationType; } public void setVisualizationType(String visualizationType) { this.visualizationType = visualizationType; } public String getQueryType() { return queryType; } public void setQueryType(String queryType) { this.queryType = queryType; } public Map<String, Object> getFilters() { return filters; } public void setFilters(Map<String, Object> filters) { this.filters = filters; } public Map<String, Object> getAggregationFactors() { return aggregationFactors; } public void setAggregationFactors(Map<String, Object> aggregationFactors) { this.aggregationFactors = aggregationFactors; } public RequestDate getRequestDate() { return requestDate; } public void setRequestDate(RequestDate requestDate) { this.requestDate = requestDate; } public String getInterval() { return interval; } public void setInterval(String interval) { this.interval = interval; } }