/* Options: Date: 2026-10-16 00:17:58 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: KpiV2LiveRequest.* //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/live/{BranchId}", Verbs="GET,OPTIONS") public static class KpiV2LiveRequest implements IReturn { public UUID BranchId = null; public UUID getBranchId() { return BranchId; } public KpiV2LiveRequest setBranchId(UUID value) { this.BranchId = value; return this; } private static Object responseType = KpiV2LiveResponse.class; public Object getResponseType() { return responseType; } } public static class KpiV2LiveResponse { public ResponseStatus ResponseStatus = null; public SvcLive Live = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public KpiV2LiveResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public SvcLive getLive() { return Live; } public KpiV2LiveResponse setLive(SvcLive value) { this.Live = value; return this; } } public static class SvcLive { public UUID BranchId = null; public Date NowUtc = null; public Integer LocalOffMin = null; public String ZoneCode = null; public ArrayList Windows = new ArrayList(); public ArrayList Line = new ArrayList(); public Integer InLine = null; public Integer LongestWaitSec = null; public Integer Staffed = null; public ArrayList Alerts = new ArrayList(); public UUID getBranchId() { return BranchId; } public SvcLive setBranchId(UUID value) { this.BranchId = value; return this; } public Date getNowUtc() { return NowUtc; } public SvcLive setNowUtc(Date value) { this.NowUtc = value; return this; } public Integer getLocalOffMin() { return LocalOffMin; } public SvcLive setLocalOffMin(Integer value) { this.LocalOffMin = value; return this; } public String getZoneCode() { return ZoneCode; } public SvcLive setZoneCode(String value) { this.ZoneCode = value; return this; } public ArrayList getWindows() { return Windows; } public SvcLive setWindows(ArrayList value) { this.Windows = value; return this; } public ArrayList getLine() { return Line; } public SvcLive setLine(ArrayList value) { this.Line = value; return this; } public Integer getInLine() { return InLine; } public SvcLive setInLine(Integer value) { this.InLine = value; return this; } public Integer getLongestWaitSec() { return LongestWaitSec; } public SvcLive setLongestWaitSec(Integer value) { this.LongestWaitSec = value; return this; } public Integer getStaffed() { return Staffed; } public SvcLive setStaffed(Integer value) { this.Staffed = value; return this; } public ArrayList getAlerts() { return Alerts; } public SvcLive setAlerts(ArrayList value) { this.Alerts = value; return this; } } public static class SvcAlert { public String Level = null; public String View = null; public String Code = null; public UUID StationId = null; public UUID EmployeeId = null; public UUID BranchId = null; public UUID LineId = null; public String Name = null; public UUID OtherLineId = null; public String OtherName = null; public ArrayList StationIds = new ArrayList(); public HashMap Values = new HashMap(); public String getLevel() { return Level; } public SvcAlert setLevel(String value) { this.Level = value; return this; } public String getView() { return View; } public SvcAlert setView(String value) { this.View = value; return this; } public String getCode() { return Code; } public SvcAlert setCode(String value) { this.Code = value; return this; } public UUID getStationId() { return StationId; } public SvcAlert setStationId(UUID value) { this.StationId = value; return this; } public UUID getEmployeeId() { return EmployeeId; } public SvcAlert setEmployeeId(UUID value) { this.EmployeeId = value; return this; } public UUID getBranchId() { return BranchId; } public SvcAlert setBranchId(UUID value) { this.BranchId = value; return this; } public UUID getLineId() { return LineId; } public SvcAlert setLineId(UUID value) { this.LineId = value; return this; } public String getName() { return Name; } public SvcAlert setName(String value) { this.Name = value; return this; } public UUID getOtherLineId() { return OtherLineId; } public SvcAlert setOtherLineId(UUID value) { this.OtherLineId = value; return this; } public String getOtherName() { return OtherName; } public SvcAlert setOtherName(String value) { this.OtherName = value; return this; } public ArrayList getStationIds() { return StationIds; } public SvcAlert setStationIds(ArrayList value) { this.StationIds = value; return this; } public HashMap getValues() { return Values; } public SvcAlert setValues(HashMap value) { this.Values = value; return this; } } public static class SvcLiveWindow { public UUID StationId = null; public String Name = null; public String Status = null; public UUID EmployeeId = null; public String EmployeeName = null; public Date SignedInUtc = null; public Date LastSeenUtc = null; public Date SinceUtc = null; public String PauseReason = null; public UUID CheckinId = null; public String TicketLabel = null; public String CustomerName = null; public String ServiceName = null; public Date StartUtc = null; public Date CalledUtc = null; public Integer ServedToday = null; public Date LastCalledUtc = null; public UUID getStationId() { return StationId; } public SvcLiveWindow setStationId(UUID value) { this.StationId = value; return this; } public String getName() { return Name; } public SvcLiveWindow setName(String value) { this.Name = value; return this; } public String getStatus() { return Status; } public SvcLiveWindow setStatus(String value) { this.Status = value; return this; } public UUID getEmployeeId() { return EmployeeId; } public SvcLiveWindow setEmployeeId(UUID value) { this.EmployeeId = value; return this; } public String getEmployeeName() { return EmployeeName; } public SvcLiveWindow setEmployeeName(String value) { this.EmployeeName = value; return this; } public Date getSignedInUtc() { return SignedInUtc; } public SvcLiveWindow setSignedInUtc(Date value) { this.SignedInUtc = value; return this; } public Date getLastSeenUtc() { return LastSeenUtc; } public SvcLiveWindow setLastSeenUtc(Date value) { this.LastSeenUtc = value; return this; } public Date getSinceUtc() { return SinceUtc; } public SvcLiveWindow setSinceUtc(Date value) { this.SinceUtc = value; return this; } public String getPauseReason() { return PauseReason; } public SvcLiveWindow setPauseReason(String value) { this.PauseReason = value; return this; } public UUID getCheckinId() { return CheckinId; } public SvcLiveWindow setCheckinId(UUID value) { this.CheckinId = value; return this; } public String getTicketLabel() { return TicketLabel; } public SvcLiveWindow setTicketLabel(String value) { this.TicketLabel = value; return this; } public String getCustomerName() { return CustomerName; } public SvcLiveWindow setCustomerName(String value) { this.CustomerName = value; return this; } public String getServiceName() { return ServiceName; } public SvcLiveWindow setServiceName(String value) { this.ServiceName = value; return this; } public Date getStartUtc() { return StartUtc; } public SvcLiveWindow setStartUtc(Date value) { this.StartUtc = value; return this; } public Date getCalledUtc() { return CalledUtc; } public SvcLiveWindow setCalledUtc(Date value) { this.CalledUtc = value; return this; } public Integer getServedToday() { return ServedToday; } public SvcLiveWindow setServedToday(Integer value) { this.ServedToday = value; return this; } public Date getLastCalledUtc() { return LastCalledUtc; } public SvcLiveWindow setLastCalledUtc(Date value) { this.LastCalledUtc = value; return this; } } public static class SvcLiveLine { public UUID LineId = null; public String Name = null; public Integer Waiting = null; public Date OldestHereUtc = null; public UUID getLineId() { return LineId; } public SvcLiveLine setLineId(UUID value) { this.LineId = value; return this; } public String getName() { return Name; } public SvcLiveLine setName(String value) { this.Name = value; return this; } public Integer getWaiting() { return Waiting; } public SvcLiveLine setWaiting(Integer value) { this.Waiting = value; return this; } public Date getOldestHereUtc() { return OldestHereUtc; } public SvcLiveLine setOldestHereUtc(Date value) { this.OldestHereUtc = value; return this; } } }