/* Options: Date: 2026-09-05 07:04:12 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: DispatchReportRequest.* //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/dispatch", Verbs="POST,OPTIONS") public static class DispatchReportRequest implements IReturn { public Date FromDate = null; public Date ToDate = null; public ArrayList LocationIds = new ArrayList(); public Date getFromDate() { return FromDate; } public DispatchReportRequest setFromDate(Date value) { this.FromDate = value; return this; } public Date getToDate() { return ToDate; } public DispatchReportRequest setToDate(Date value) { this.ToDate = value; return this; } public ArrayList getLocationIds() { return LocationIds; } public DispatchReportRequest setLocationIds(ArrayList value) { this.LocationIds = value; return this; } private static Object responseType = DispatchReportResponse.class; public Object getResponseType() { return responseType; } } public static class DispatchReportResponse { public ArrayList Stats = new ArrayList(); public String Unit = null; public ArrayList Trend = new ArrayList(); public ArrayList ByModule = new ArrayList(); public ArrayList ByLane = new ArrayList(); public ArrayList ByTruck = new ArrayList(); public ArrayList ByDriver = new ArrayList(); public ArrayList Jobs = new ArrayList(); public ArrayList Incidents = new ArrayList(); public ArrayList Holds = new ArrayList(); public ResponseStatus ResponseStatus = null; public ArrayList getStats() { return Stats; } public DispatchReportResponse setStats(ArrayList value) { this.Stats = value; return this; } public String getUnit() { return Unit; } public DispatchReportResponse setUnit(String value) { this.Unit = value; return this; } public ArrayList getTrend() { return Trend; } public DispatchReportResponse setTrend(ArrayList value) { this.Trend = value; return this; } public ArrayList getByModule() { return ByModule; } public DispatchReportResponse setByModule(ArrayList value) { this.ByModule = value; return this; } public ArrayList getByLane() { return ByLane; } public DispatchReportResponse setByLane(ArrayList value) { this.ByLane = value; return this; } public ArrayList getByTruck() { return ByTruck; } public DispatchReportResponse setByTruck(ArrayList value) { this.ByTruck = value; return this; } public ArrayList getByDriver() { return ByDriver; } public DispatchReportResponse setByDriver(ArrayList value) { this.ByDriver = value; return this; } public ArrayList getJobs() { return Jobs; } public DispatchReportResponse setJobs(ArrayList value) { this.Jobs = value; return this; } public ArrayList getIncidents() { return Incidents; } public DispatchReportResponse setIncidents(ArrayList value) { this.Incidents = value; return this; } public ArrayList getHolds() { return Holds; } public DispatchReportResponse setHolds(ArrayList value) { this.Holds = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public DispatchReportResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = 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 DispatchReportDayRow { public String Label = null; public Integer Loads = null; public Double Revenue = null; public Double Pay = null; public Double Qty = null; public Double AvgCycleMins = null; public String getLabel() { return Label; } public DispatchReportDayRow setLabel(String value) { this.Label = value; return this; } public Integer getLoads() { return Loads; } public DispatchReportDayRow setLoads(Integer value) { this.Loads = value; return this; } public Double getRevenue() { return Revenue; } public DispatchReportDayRow setRevenue(Double value) { this.Revenue = value; return this; } public Double getPay() { return Pay; } public DispatchReportDayRow setPay(Double value) { this.Pay = value; return this; } public Double getQty() { return Qty; } public DispatchReportDayRow setQty(Double value) { this.Qty = value; return this; } public Double getAvgCycleMins() { return AvgCycleMins; } public DispatchReportDayRow setAvgCycleMins(Double value) { this.AvgCycleMins = value; return this; } } public static class DispatchReportModuleRow { public String Module = null; public Integer Loads = null; public Double Qty = null; public Double Revenue = null; public Double Pay = null; public String getModule() { return Module; } public DispatchReportModuleRow setModule(String value) { this.Module = value; return this; } public Integer getLoads() { return Loads; } public DispatchReportModuleRow setLoads(Integer value) { this.Loads = value; return this; } public Double getQty() { return Qty; } public DispatchReportModuleRow setQty(Double value) { this.Qty = value; return this; } public Double getRevenue() { return Revenue; } public DispatchReportModuleRow setRevenue(Double value) { this.Revenue = value; return this; } public Double getPay() { return Pay; } public DispatchReportModuleRow setPay(Double value) { this.Pay = value; return this; } } public static class DispatchReportLaneRow { public String SupplierName = null; public String SourceLabel = null; public Integer Loads = null; public Double Qty = null; public Double Revenue = null; public Double AvgCycleMins = null; public String getSupplierName() { return SupplierName; } public DispatchReportLaneRow setSupplierName(String value) { this.SupplierName = value; return this; } public String getSourceLabel() { return SourceLabel; } public DispatchReportLaneRow setSourceLabel(String value) { this.SourceLabel = value; return this; } public Integer getLoads() { return Loads; } public DispatchReportLaneRow setLoads(Integer value) { this.Loads = value; return this; } public Double getQty() { return Qty; } public DispatchReportLaneRow setQty(Double value) { this.Qty = value; return this; } public Double getRevenue() { return Revenue; } public DispatchReportLaneRow setRevenue(Double value) { this.Revenue = value; return this; } public Double getAvgCycleMins() { return AvgCycleMins; } public DispatchReportLaneRow setAvgCycleMins(Double value) { this.AvgCycleMins = value; return this; } } public static class DispatchReportTruckRow { public String TruckLabel = null; public String DriverLabel = null; public Integer Loads = null; public Double Qty = null; public Double Revenue = null; public Double Pay = null; public Double AvgCycleMins = null; public Integer DaysActive = null; public String getTruckLabel() { return TruckLabel; } public DispatchReportTruckRow setTruckLabel(String value) { this.TruckLabel = value; return this; } public String getDriverLabel() { return DriverLabel; } public DispatchReportTruckRow setDriverLabel(String value) { this.DriverLabel = value; return this; } public Integer getLoads() { return Loads; } public DispatchReportTruckRow setLoads(Integer value) { this.Loads = value; return this; } public Double getQty() { return Qty; } public DispatchReportTruckRow setQty(Double value) { this.Qty = value; return this; } public Double getRevenue() { return Revenue; } public DispatchReportTruckRow setRevenue(Double value) { this.Revenue = value; return this; } public Double getPay() { return Pay; } public DispatchReportTruckRow setPay(Double value) { this.Pay = value; return this; } public Double getAvgCycleMins() { return AvgCycleMins; } public DispatchReportTruckRow setAvgCycleMins(Double value) { this.AvgCycleMins = value; return this; } public Integer getDaysActive() { return DaysActive; } public DispatchReportTruckRow setDaysActive(Integer value) { this.DaysActive = value; return this; } } public static class DispatchReportDriverRow { public String Driver = null; public Integer DriverContactId = null; public Integer Loads = null; public Double Qty = null; public Double Pay = null; public Integer DaysActive = null; public Integer Unpriced = null; public String getDriver() { return Driver; } public DispatchReportDriverRow setDriver(String value) { this.Driver = value; return this; } public Integer getDriverContactId() { return DriverContactId; } public DispatchReportDriverRow setDriverContactId(Integer value) { this.DriverContactId = value; return this; } public Integer getLoads() { return Loads; } public DispatchReportDriverRow setLoads(Integer value) { this.Loads = value; return this; } public Double getQty() { return Qty; } public DispatchReportDriverRow setQty(Double value) { this.Qty = value; return this; } public Double getPay() { return Pay; } public DispatchReportDriverRow setPay(Double value) { this.Pay = value; return this; } public Integer getDaysActive() { return DaysActive; } public DispatchReportDriverRow setDaysActive(Integer value) { this.DaysActive = value; return this; } public Integer getUnpriced() { return Unpriced; } public DispatchReportDriverRow setUnpriced(Integer value) { this.Unpriced = value; return this; } } public static class DispatchReportJobRow { public String JobCode = null; public String Customer = null; public String Cargo = null; public String Route = null; public Integer Miles = null; public Double Revenue = null; public Double Pay = null; public Double MarginPct = null; public Date ClosedUtc = null; public String getJobCode() { return JobCode; } public DispatchReportJobRow setJobCode(String value) { this.JobCode = value; return this; } public String getCustomer() { return Customer; } public DispatchReportJobRow setCustomer(String value) { this.Customer = value; return this; } public String getCargo() { return Cargo; } public DispatchReportJobRow setCargo(String value) { this.Cargo = value; return this; } public String getRoute() { return Route; } public DispatchReportJobRow setRoute(String value) { this.Route = value; return this; } public Integer getMiles() { return Miles; } public DispatchReportJobRow setMiles(Integer value) { this.Miles = value; return this; } public Double getRevenue() { return Revenue; } public DispatchReportJobRow setRevenue(Double value) { this.Revenue = value; return this; } public Double getPay() { return Pay; } public DispatchReportJobRow setPay(Double value) { this.Pay = value; return this; } public Double getMarginPct() { return MarginPct; } public DispatchReportJobRow setMarginPct(Double value) { this.MarginPct = value; return this; } public Date getClosedUtc() { return ClosedUtc; } public DispatchReportJobRow setClosedUtc(Date value) { this.ClosedUtc = value; return this; } } public static class DispatchReportIncidentRow { public String Kind = null; public Integer Opened = null; public Integer Resolved = null; public Double AvgResolveMins = null; public String getKind() { return Kind; } public DispatchReportIncidentRow setKind(String value) { this.Kind = value; return this; } public Integer getOpened() { return Opened; } public DispatchReportIncidentRow setOpened(Integer value) { this.Opened = value; return this; } public Integer getResolved() { return Resolved; } public DispatchReportIncidentRow setResolved(Integer value) { this.Resolved = value; return this; } public Double getAvgResolveMins() { return AvgResolveMins; } public DispatchReportIncidentRow setAvgResolveMins(Double value) { this.AvgResolveMins = value; return this; } } public static class DispatchReportHoldRow { public String ScopeKind = null; public Integer Holds = null; public Integer PausedMins = null; public Integer Weather = null; public Integer FromIncidents = null; public String getScopeKind() { return ScopeKind; } public DispatchReportHoldRow setScopeKind(String value) { this.ScopeKind = value; return this; } public Integer getHolds() { return Holds; } public DispatchReportHoldRow setHolds(Integer value) { this.Holds = value; return this; } public Integer getPausedMins() { return PausedMins; } public DispatchReportHoldRow setPausedMins(Integer value) { this.PausedMins = value; return this; } public Integer getWeather() { return Weather; } public DispatchReportHoldRow setWeather(Integer value) { this.Weather = value; return this; } public Integer getFromIncidents() { return FromIncidents; } public DispatchReportHoldRow setFromIncidents(Integer value) { this.FromIncidents = value; return this; } } }