/* Options: Date: 2026-06-13 03:49:33 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: KpiV2Request.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/v1/dashboard/kpiv2", Verbs="POST,OPTIONS") public static class KpiV2Request implements IReturn { public Date FromDate = null; public Date ToDate = null; public ArrayList LocationIds = new ArrayList(); public Date getFromDate() { return FromDate; } public KpiV2Request setFromDate(Date value) { this.FromDate = value; return this; } public Date getToDate() { return ToDate; } public KpiV2Request setToDate(Date value) { this.ToDate = value; return this; } public ArrayList getLocationIds() { return LocationIds; } public KpiV2Request setLocationIds(ArrayList value) { this.LocationIds = value; return this; } private static Object responseType = KpiV2Response.class; public Object getResponseType() { return responseType; } } public static class KpiV2Response { public ResponseStatus ResponseStatus = null; public ArrayList Stats = new ArrayList(); public ArrayList Trend = new ArrayList(); public DashboardSeries ServicesByType = null; public ArrayList LocationLeaderboard = new ArrayList(); public ArrayList WorkerProductivity = new ArrayList(); public ArrayList Heatmap = new ArrayList(); public ArrayList LiveQueue = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public KpiV2Response setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getStats() { return Stats; } public KpiV2Response setStats(ArrayList value) { this.Stats = value; return this; } public ArrayList getTrend() { return Trend; } public KpiV2Response setTrend(ArrayList value) { this.Trend = value; return this; } public DashboardSeries getServicesByType() { return ServicesByType; } public KpiV2Response setServicesByType(DashboardSeries value) { this.ServicesByType = value; return this; } public ArrayList getLocationLeaderboard() { return LocationLeaderboard; } public KpiV2Response setLocationLeaderboard(ArrayList value) { this.LocationLeaderboard = value; return this; } public ArrayList getWorkerProductivity() { return WorkerProductivity; } public KpiV2Response setWorkerProductivity(ArrayList value) { this.WorkerProductivity = value; return this; } public ArrayList getHeatmap() { return Heatmap; } public KpiV2Response setHeatmap(ArrayList value) { this.Heatmap = value; return this; } public ArrayList getLiveQueue() { return LiveQueue; } public KpiV2Response setLiveQueue(ArrayList value) { this.LiveQueue = value; return this; } } public static class DashboardStatTile { public String Key = null; public String Label = null; public Double Value = null; public Double PreviousValue = null; public String Unit = null; public Double DeltaPct = null; public String getKey() { return Key; } public DashboardStatTile setKey(String value) { this.Key = value; return this; } public String getLabel() { return Label; } public DashboardStatTile setLabel(String value) { this.Label = value; return this; } public Double getValue() { return Value; } public DashboardStatTile setValue(Double value) { this.Value = value; return this; } public Double getPreviousValue() { return PreviousValue; } public DashboardStatTile setPreviousValue(Double value) { this.PreviousValue = value; return this; } public String getUnit() { return Unit; } public DashboardStatTile setUnit(String value) { this.Unit = value; return this; } public Double getDeltaPct() { return DeltaPct; } public DashboardStatTile setDeltaPct(Double value) { this.DeltaPct = value; return this; } } public static class DashboardSeries { public String Name = null; public ArrayList Points = new ArrayList(); public String getName() { return Name; } public DashboardSeries setName(String value) { this.Name = value; return this; } public ArrayList getPoints() { return Points; } public DashboardSeries setPoints(ArrayList value) { this.Points = value; return this; } } public static class KpiV2LocationRow { public String LocationName = null; public Integer Walkins = null; public Integer Completed = null; public Double AvgServiceMinutes = null; public Double AbandonmentPct = null; public String getLocationName() { return LocationName; } public KpiV2LocationRow setLocationName(String value) { this.LocationName = value; return this; } public Integer getWalkins() { return Walkins; } public KpiV2LocationRow setWalkins(Integer value) { this.Walkins = value; return this; } public Integer getCompleted() { return Completed; } public KpiV2LocationRow setCompleted(Integer value) { this.Completed = value; return this; } public Double getAvgServiceMinutes() { return AvgServiceMinutes; } public KpiV2LocationRow setAvgServiceMinutes(Double value) { this.AvgServiceMinutes = value; return this; } public Double getAbandonmentPct() { return AbandonmentPct; } public KpiV2LocationRow setAbandonmentPct(Double value) { this.AbandonmentPct = value; return this; } } public static class KpiV2WorkerRow { public String WorkerName = null; public Integer Completed = null; public Double AvgServiceMinutes = null; public String getWorkerName() { return WorkerName; } public KpiV2WorkerRow setWorkerName(String value) { this.WorkerName = value; return this; } public Integer getCompleted() { return Completed; } public KpiV2WorkerRow setCompleted(Integer value) { this.Completed = value; return this; } public Double getAvgServiceMinutes() { return AvgServiceMinutes; } public KpiV2WorkerRow setAvgServiceMinutes(Double value) { this.AvgServiceMinutes = value; return this; } } public static class KpiV2HeatPoint { public Integer Dow = null; public Integer Hr = null; public Integer Cnt = null; public Integer getDow() { return Dow; } public KpiV2HeatPoint setDow(Integer value) { this.Dow = value; return this; } public Integer getHr() { return Hr; } public KpiV2HeatPoint setHr(Integer value) { this.Hr = value; return this; } public Integer getCnt() { return Cnt; } public KpiV2HeatPoint setCnt(Integer value) { this.Cnt = value; return this; } } public static class KpiV2LiveRow { public String LocationName = null; public Integer Waiting = null; public Integer InProgress = null; public String getLocationName() { return LocationName; } public KpiV2LiveRow setLocationName(String value) { this.LocationName = value; return this; } public Integer getWaiting() { return Waiting; } public KpiV2LiveRow setWaiting(Integer value) { this.Waiting = value; return this; } public Integer getInProgress() { return InProgress; } public KpiV2LiveRow setInProgress(Integer value) { this.InProgress = value; return this; } } public static class DashboardSeriesPoint { public String Label = null; public Double Value = null; public String getLabel() { return Label; } public DashboardSeriesPoint setLabel(String value) { this.Label = value; return this; } public Double getValue() { return Value; } public DashboardSeriesPoint setValue(Double value) { this.Value = value; return this; } } }