/* Options: Date: 2025-08-05 01:55:26 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetDashboardDataMessage.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route("/Sitefinity/Analytics/GetDashboardData") // @Route("/GetDashboardData") public static class GetDashboardDataMessage implements IReturn { public UUID DashboardId = null; public String jsStartDate = null; public String jsEndDate = null; public HashMap QueryStringFilters = null; public Date StartDate = null; public Date EndDate = null; public String GroupBy = null; public HashMap Dimensions = null; public String MaxValue = null; public UUID SiteId = null; public UUID getDashboardId() { return DashboardId; } public GetDashboardDataMessage setDashboardId(UUID value) { this.DashboardId = value; return this; } public String getJsStartDate() { return jsStartDate; } public GetDashboardDataMessage setJsStartDate(String value) { this.jsStartDate = value; return this; } public String getJsEndDate() { return jsEndDate; } public GetDashboardDataMessage setJsEndDate(String value) { this.jsEndDate = value; return this; } public HashMap getQueryStringFilters() { return QueryStringFilters; } public GetDashboardDataMessage setQueryStringFilters(HashMap value) { this.QueryStringFilters = value; return this; } public Date getStartDate() { return StartDate; } public GetDashboardDataMessage setStartDate(Date value) { this.StartDate = value; return this; } public Date getEndDate() { return EndDate; } public GetDashboardDataMessage setEndDate(Date value) { this.EndDate = value; return this; } public String getGroupBy() { return GroupBy; } public GetDashboardDataMessage setGroupBy(String value) { this.GroupBy = value; return this; } public HashMap getDimensions() { return Dimensions; } public GetDashboardDataMessage setDimensions(HashMap value) { this.Dimensions = value; return this; } public String getMaxValue() { return MaxValue; } public GetDashboardDataMessage setMaxValue(String value) { this.MaxValue = value; return this; } public UUID getSiteId() { return SiteId; } public GetDashboardDataMessage setSiteId(UUID value) { this.SiteId = value; return this; } private static Object responseType = GetDashboardData.class; public Object getResponseType() { return responseType; } } public static class GetDashboardData { public ArrayList Controls = null; public String LayoutTemplateName = null; public String GroupBy = null; public ArrayList MetricNames = null; public String ErrorMessage = null; public Boolean NeedsGrouping = null; public Boolean IsDrillDown = null; public ArrayList DateItems = null; public ArrayList NonDateItems = null; public KendoItem TotalsItem = null; public ArrayList MapDataTable = null; public Boolean IsMapRequest = null; public HashMap> SeriesSources = null; public Integer StatusCode = null; public Boolean SuppressMultipleSeries = null; public ArrayList getControls() { return Controls; } public GetDashboardData setControls(ArrayList value) { this.Controls = value; return this; } public String getLayoutTemplateName() { return LayoutTemplateName; } public GetDashboardData setLayoutTemplateName(String value) { this.LayoutTemplateName = value; return this; } public String getGroupBy() { return GroupBy; } public GetDashboardData setGroupBy(String value) { this.GroupBy = value; return this; } public ArrayList getMetricNames() { return MetricNames; } public GetDashboardData setMetricNames(ArrayList value) { this.MetricNames = value; return this; } public String getErrorMessage() { return ErrorMessage; } public GetDashboardData setErrorMessage(String value) { this.ErrorMessage = value; return this; } public Boolean isNeedsGrouping() { return NeedsGrouping; } public GetDashboardData setNeedsGrouping(Boolean value) { this.NeedsGrouping = value; return this; } public Boolean getIsDrillDown() { return IsDrillDown; } public GetDashboardData setIsDrillDown(Boolean value) { this.IsDrillDown = value; return this; } public ArrayList getDateItems() { return DateItems; } public GetDashboardData setDateItems(ArrayList value) { this.DateItems = value; return this; } public ArrayList getNonDateItems() { return NonDateItems; } public GetDashboardData setNonDateItems(ArrayList value) { this.NonDateItems = value; return this; } public KendoItem getTotalsItem() { return TotalsItem; } public GetDashboardData setTotalsItem(KendoItem value) { this.TotalsItem = value; return this; } public ArrayList getMapDataTable() { return MapDataTable; } public GetDashboardData setMapDataTable(ArrayList value) { this.MapDataTable = value; return this; } public Boolean getIsMapRequest() { return IsMapRequest; } public GetDashboardData setIsMapRequest(Boolean value) { this.IsMapRequest = value; return this; } public HashMap> getSeriesSources() { return SeriesSources; } public GetDashboardData setSeriesSources(HashMap> value) { this.SeriesSources = value; return this; } public Integer getStatusCode() { return StatusCode; } public GetDashboardData setStatusCode(Integer value) { this.StatusCode = value; return this; } public Boolean isSuppressMultipleSeries() { return SuppressMultipleSeries; } public GetDashboardData setSuppressMultipleSeries(Boolean value) { this.SuppressMultipleSeries = value; return this; } } public static class MetricItemDTO { public String Name = null; public String DisplayName = null; public Double Value = null; public String Unit = null; public String DenominatorMetricName = null; public String NominatorMetricName = null; public Boolean ShowInSelector = null; public String getName() { return Name; } public MetricItemDTO setName(String value) { this.Name = value; return this; } public String getDisplayName() { return DisplayName; } public MetricItemDTO setDisplayName(String value) { this.DisplayName = value; return this; } public Double getValue() { return Value; } public MetricItemDTO setValue(Double value) { this.Value = value; return this; } public String getUnit() { return Unit; } public MetricItemDTO setUnit(String value) { this.Unit = value; return this; } public String getDenominatorMetricName() { return DenominatorMetricName; } public MetricItemDTO setDenominatorMetricName(String value) { this.DenominatorMetricName = value; return this; } public String getNominatorMetricName() { return NominatorMetricName; } public MetricItemDTO setNominatorMetricName(String value) { this.NominatorMetricName = value; return this; } public Boolean isShowInSelector() { return ShowInSelector; } public MetricItemDTO setShowInSelector(Boolean value) { this.ShowInSelector = value; return this; } } public static class DashBoardControl { public String ControlType = null; public HashMap attributes = null; public String PlaceholderId = null; public String DisplayName = null; public ArrayList Series = null; public String DimensionName = null; public ArrayList RelatedDimension = null; public String SortbyField = null; public Boolean SortAsc = null; public String getControlType() { return ControlType; } public DashBoardControl setControlType(String value) { this.ControlType = value; return this; } public HashMap getAttributes() { return attributes; } public DashBoardControl setAttributes(HashMap value) { this.attributes = value; return this; } public String getPlaceholderId() { return PlaceholderId; } public DashBoardControl setPlaceholderId(String value) { this.PlaceholderId = value; return this; } public String getDisplayName() { return DisplayName; } public DashBoardControl setDisplayName(String value) { this.DisplayName = value; return this; } public ArrayList getSeries() { return Series; } public DashBoardControl setSeries(ArrayList value) { this.Series = value; return this; } public String getDimensionName() { return DimensionName; } public DashBoardControl setDimensionName(String value) { this.DimensionName = value; return this; } public ArrayList getRelatedDimension() { return RelatedDimension; } public DashBoardControl setRelatedDimension(ArrayList value) { this.RelatedDimension = value; return this; } public String getSortbyField() { return SortbyField; } public DashBoardControl setSortbyField(String value) { this.SortbyField = value; return this; } public Boolean isSortAsc() { return SortAsc; } public DashBoardControl setSortAsc(Boolean value) { this.SortAsc = value; return this; } } public static class KendoItem { public String category = null; public HashMap values = null; public String group = null; public String tooltip = null; public HashMap Dimensions = null; public String getCategory() { return category; } public KendoItem setCategory(String value) { this.category = value; return this; } public HashMap getValues() { return values; } public KendoItem setValues(HashMap value) { this.values = value; return this; } public String getGroup() { return group; } public KendoItem setGroup(String value) { this.group = value; return this; } public String getTooltip() { return tooltip; } public KendoItem setTooltip(String value) { this.tooltip = value; return this; } public HashMap getDimensions() { return Dimensions; } public KendoItem setDimensions(HashMap value) { this.Dimensions = value; return this; } } @DataContract public static class DimensionItem { @DataMember public String Value = null; @DataMember public String Name = null; public String getValue() { return Value; } public DimensionItem setValue(String value) { this.Value = value; return this; } public String getName() { return Name; } public DimensionItem setName(String value) { this.Name = value; return this; } } public static class SingleSerie { public MetricItemDTO MainMetric = null; public String CategoryFormat = null; public Boolean Batch = null; public Boolean IsCategory = null; public String SeriesName = null; public ArrayList SeriesDimensions = null; public String RelatedDimension = null; public MetricItemDTO getMainMetric() { return MainMetric; } public SingleSerie setMainMetric(MetricItemDTO value) { this.MainMetric = value; return this; } public String getCategoryFormat() { return CategoryFormat; } public SingleSerie setCategoryFormat(String value) { this.CategoryFormat = value; return this; } public Boolean isBatch() { return Batch; } public SingleSerie setBatch(Boolean value) { this.Batch = value; return this; } public Boolean getIsCategory() { return IsCategory; } public SingleSerie setIsCategory(Boolean value) { this.IsCategory = value; return this; } public String getSeriesName() { return SeriesName; } public SingleSerie setSeriesName(String value) { this.SeriesName = value; return this; } public ArrayList getSeriesDimensions() { return SeriesDimensions; } public SingleSerie setSeriesDimensions(ArrayList value) { this.SeriesDimensions = value; return this; } public String getRelatedDimension() { return RelatedDimension; } public SingleSerie setRelatedDimension(String value) { this.RelatedDimension = value; return this; } } }