/* Options: Date: 2026-09-05 07:53:23 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: DriverMeRequest.* //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/worker/dispatch/me", Verbs="GET,OPTIONS") public static class DriverMeRequest implements IReturn { private static Object responseType = DriverMeResponse.class; public Object getResponseType() { return responseType; } } public static class DriverMeResponse { public Integer ContactId = null; public String Name = null; public String Phone = null; public String PayPlanName = null; public String PayPlanBasis = null; public BigDecimal PayPlanRate = null; public DriverTruckView Truck = null; public DriverRigView Rig = null; public ArrayList Jobs = new ArrayList(); public DriverOdView Od = null; public ArrayList Incidents = new ArrayList(); public ArrayList Pay = new ArrayList(); public Date ServerUtc = null; public String Message = null; public ResponseStatus ResponseStatus = null; public Integer getContactId() { return ContactId; } public DriverMeResponse setContactId(Integer value) { this.ContactId = value; return this; } public String getName() { return Name; } public DriverMeResponse setName(String value) { this.Name = value; return this; } public String getPhone() { return Phone; } public DriverMeResponse setPhone(String value) { this.Phone = value; return this; } public String getPayPlanName() { return PayPlanName; } public DriverMeResponse setPayPlanName(String value) { this.PayPlanName = value; return this; } public String getPayPlanBasis() { return PayPlanBasis; } public DriverMeResponse setPayPlanBasis(String value) { this.PayPlanBasis = value; return this; } public BigDecimal getPayPlanRate() { return PayPlanRate; } public DriverMeResponse setPayPlanRate(BigDecimal value) { this.PayPlanRate = value; return this; } public DriverTruckView getTruck() { return Truck; } public DriverMeResponse setTruck(DriverTruckView value) { this.Truck = value; return this; } public DriverRigView getRig() { return Rig; } public DriverMeResponse setRig(DriverRigView value) { this.Rig = value; return this; } public ArrayList getJobs() { return Jobs; } public DriverMeResponse setJobs(ArrayList value) { this.Jobs = value; return this; } public DriverOdView getOd() { return Od; } public DriverMeResponse setOd(DriverOdView value) { this.Od = value; return this; } public ArrayList getIncidents() { return Incidents; } public DriverMeResponse setIncidents(ArrayList value) { this.Incidents = value; return this; } public ArrayList getPay() { return Pay; } public DriverMeResponse setPay(ArrayList value) { this.Pay = value; return this; } public Date getServerUtc() { return ServerUtc; } public DriverMeResponse setServerUtc(Date value) { this.ServerUtc = value; return this; } public String getMessage() { return Message; } public DriverMeResponse setMessage(String value) { this.Message = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public DriverMeResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class DriverTruckView { public String Code = null; public String Stage = null; public Date StageSinceUtc = null; public Integer LoadsToday = null; public BigDecimal NetToday = null; public BigDecimal EstLoad = null; public String Slot = null; public String SiteName = null; public String SupplierName = null; public String NextSiteName = null; public String Facility = null; public String FacilityShort = null; public String Unit = null; public Integer QueuePosition = null; public String HoldCode = null; public String HoldReason = null; public Date HoldEndUtc = null; public Integer OpenLoadId = null; public String OpenLoadCode = null; public Integer OpenLoadPhotos = null; public ArrayList Stamps = new ArrayList(); public String getCode() { return Code; } public DriverTruckView setCode(String value) { this.Code = value; return this; } public String getStage() { return Stage; } public DriverTruckView setStage(String value) { this.Stage = value; return this; } public Date getStageSinceUtc() { return StageSinceUtc; } public DriverTruckView setStageSinceUtc(Date value) { this.StageSinceUtc = value; return this; } public Integer getLoadsToday() { return LoadsToday; } public DriverTruckView setLoadsToday(Integer value) { this.LoadsToday = value; return this; } public BigDecimal getNetToday() { return NetToday; } public DriverTruckView setNetToday(BigDecimal value) { this.NetToday = value; return this; } public BigDecimal getEstLoad() { return EstLoad; } public DriverTruckView setEstLoad(BigDecimal value) { this.EstLoad = value; return this; } public String getSlot() { return Slot; } public DriverTruckView setSlot(String value) { this.Slot = value; return this; } public String getSiteName() { return SiteName; } public DriverTruckView setSiteName(String value) { this.SiteName = value; return this; } public String getSupplierName() { return SupplierName; } public DriverTruckView setSupplierName(String value) { this.SupplierName = value; return this; } public String getNextSiteName() { return NextSiteName; } public DriverTruckView setNextSiteName(String value) { this.NextSiteName = value; return this; } public String getFacility() { return Facility; } public DriverTruckView setFacility(String value) { this.Facility = value; return this; } public String getFacilityShort() { return FacilityShort; } public DriverTruckView setFacilityShort(String value) { this.FacilityShort = value; return this; } public String getUnit() { return Unit; } public DriverTruckView setUnit(String value) { this.Unit = value; return this; } public Integer getQueuePosition() { return QueuePosition; } public DriverTruckView setQueuePosition(Integer value) { this.QueuePosition = value; return this; } public String getHoldCode() { return HoldCode; } public DriverTruckView setHoldCode(String value) { this.HoldCode = value; return this; } public String getHoldReason() { return HoldReason; } public DriverTruckView setHoldReason(String value) { this.HoldReason = value; return this; } public Date getHoldEndUtc() { return HoldEndUtc; } public DriverTruckView setHoldEndUtc(Date value) { this.HoldEndUtc = value; return this; } public Integer getOpenLoadId() { return OpenLoadId; } public DriverTruckView setOpenLoadId(Integer value) { this.OpenLoadId = value; return this; } public String getOpenLoadCode() { return OpenLoadCode; } public DriverTruckView setOpenLoadCode(String value) { this.OpenLoadCode = value; return this; } public Integer getOpenLoadPhotos() { return OpenLoadPhotos; } public DriverTruckView setOpenLoadPhotos(Integer value) { this.OpenLoadPhotos = value; return this; } public ArrayList getStamps() { return Stamps; } public DriverTruckView setStamps(ArrayList value) { this.Stamps = value; return this; } } public static class DriverRigView { public String Code = null; public String Name = null; public String RigType = null; public Boolean IsFree = null; public String HoldCode = null; public String HoldReason = null; public Date HoldEndUtc = null; public String getCode() { return Code; } public DriverRigView setCode(String value) { this.Code = value; return this; } public String getName() { return Name; } public DriverRigView setName(String value) { this.Name = value; return this; } public String getRigType() { return RigType; } public DriverRigView setRigType(String value) { this.RigType = value; return this; } public Boolean getIsFree() { return IsFree; } public DriverRigView setIsFree(Boolean value) { this.IsFree = value; return this; } public String getHoldCode() { return HoldCode; } public DriverRigView setHoldCode(String value) { this.HoldCode = value; return this; } public String getHoldReason() { return HoldReason; } public DriverRigView setHoldReason(String value) { this.HoldReason = value; return this; } public Date getHoldEndUtc() { return HoldEndUtc; } public DriverRigView setHoldEndUtc(Date value) { this.HoldEndUtc = value; return this; } } public static class DriverJobView { public String Kind = null; public String Code = null; public String Cargo = null; public String Customer = null; public String CustomerPhone = null; public String HoldContact = null; public String HoldPhone = null; public String FromLoc = null; public String ToLoc = null; public Integer Miles = null; public String WindowText = null; public String Stage = null; public BigDecimal Rate = null; public String RequiredRig = null; public String EtaText = null; public Date OfferExpiresUtc = null; public Integer RequestId = null; public Integer LoadId = null; public String LoadCode = null; public BigDecimal LoadPay = null; public Integer Photos = null; public ArrayList Stamps = new ArrayList(); public String getKind() { return Kind; } public DriverJobView setKind(String value) { this.Kind = value; return this; } public String getCode() { return Code; } public DriverJobView setCode(String value) { this.Code = value; return this; } public String getCargo() { return Cargo; } public DriverJobView setCargo(String value) { this.Cargo = value; return this; } public String getCustomer() { return Customer; } public DriverJobView setCustomer(String value) { this.Customer = value; return this; } public String getCustomerPhone() { return CustomerPhone; } public DriverJobView setCustomerPhone(String value) { this.CustomerPhone = value; return this; } public String getHoldContact() { return HoldContact; } public DriverJobView setHoldContact(String value) { this.HoldContact = value; return this; } public String getHoldPhone() { return HoldPhone; } public DriverJobView setHoldPhone(String value) { this.HoldPhone = value; return this; } public String getFromLoc() { return FromLoc; } public DriverJobView setFromLoc(String value) { this.FromLoc = value; return this; } public String getToLoc() { return ToLoc; } public DriverJobView setToLoc(String value) { this.ToLoc = value; return this; } public Integer getMiles() { return Miles; } public DriverJobView setMiles(Integer value) { this.Miles = value; return this; } public String getWindowText() { return WindowText; } public DriverJobView setWindowText(String value) { this.WindowText = value; return this; } public String getStage() { return Stage; } public DriverJobView setStage(String value) { this.Stage = value; return this; } public BigDecimal getRate() { return Rate; } public DriverJobView setRate(BigDecimal value) { this.Rate = value; return this; } public String getRequiredRig() { return RequiredRig; } public DriverJobView setRequiredRig(String value) { this.RequiredRig = value; return this; } public String getEtaText() { return EtaText; } public DriverJobView setEtaText(String value) { this.EtaText = value; return this; } public Date getOfferExpiresUtc() { return OfferExpiresUtc; } public DriverJobView setOfferExpiresUtc(Date value) { this.OfferExpiresUtc = value; return this; } public Integer getRequestId() { return RequestId; } public DriverJobView setRequestId(Integer value) { this.RequestId = value; return this; } public Integer getLoadId() { return LoadId; } public DriverJobView setLoadId(Integer value) { this.LoadId = value; return this; } public String getLoadCode() { return LoadCode; } public DriverJobView setLoadCode(String value) { this.LoadCode = value; return this; } public BigDecimal getLoadPay() { return LoadPay; } public DriverJobView setLoadPay(BigDecimal value) { this.LoadPay = value; return this; } public Integer getPhotos() { return Photos; } public DriverJobView setPhotos(Integer value) { this.Photos = value; return this; } public ArrayList getStamps() { return Stamps; } public DriverJobView setStamps(ArrayList value) { this.Stamps = value; return this; } } public static class DriverOdView { public String Code = null; public String Name = null; public String Zone = null; public String Status = null; public String Tier = null; public String Capabilities = null; public String PingCode = null; public String PingAddress = null; public String PingZone = null; public Integer PingBags = null; public String PingNeeds = null; public String PingNote = null; public Date PingExpiresUtc = null; public String RunCode = null; public String RunAddress = null; public String RunZone = null; public Integer RunBags = null; public String RunStage = null; public String RunNeeds = null; public String RunNote = null; public String RunEta = null; public BigDecimal OdBase = null; public BigDecimal OdPerBag = null; public String HoldCode = null; public String HoldReason = null; public Date HoldEndUtc = null; public String getCode() { return Code; } public DriverOdView setCode(String value) { this.Code = value; return this; } public String getName() { return Name; } public DriverOdView setName(String value) { this.Name = value; return this; } public String getZone() { return Zone; } public DriverOdView setZone(String value) { this.Zone = value; return this; } public String getStatus() { return Status; } public DriverOdView setStatus(String value) { this.Status = value; return this; } public String getTier() { return Tier; } public DriverOdView setTier(String value) { this.Tier = value; return this; } public String getCapabilities() { return Capabilities; } public DriverOdView setCapabilities(String value) { this.Capabilities = value; return this; } public String getPingCode() { return PingCode; } public DriverOdView setPingCode(String value) { this.PingCode = value; return this; } public String getPingAddress() { return PingAddress; } public DriverOdView setPingAddress(String value) { this.PingAddress = value; return this; } public String getPingZone() { return PingZone; } public DriverOdView setPingZone(String value) { this.PingZone = value; return this; } public Integer getPingBags() { return PingBags; } public DriverOdView setPingBags(Integer value) { this.PingBags = value; return this; } public String getPingNeeds() { return PingNeeds; } public DriverOdView setPingNeeds(String value) { this.PingNeeds = value; return this; } public String getPingNote() { return PingNote; } public DriverOdView setPingNote(String value) { this.PingNote = value; return this; } public Date getPingExpiresUtc() { return PingExpiresUtc; } public DriverOdView setPingExpiresUtc(Date value) { this.PingExpiresUtc = value; return this; } public String getRunCode() { return RunCode; } public DriverOdView setRunCode(String value) { this.RunCode = value; return this; } public String getRunAddress() { return RunAddress; } public DriverOdView setRunAddress(String value) { this.RunAddress = value; return this; } public String getRunZone() { return RunZone; } public DriverOdView setRunZone(String value) { this.RunZone = value; return this; } public Integer getRunBags() { return RunBags; } public DriverOdView setRunBags(Integer value) { this.RunBags = value; return this; } public String getRunStage() { return RunStage; } public DriverOdView setRunStage(String value) { this.RunStage = value; return this; } public String getRunNeeds() { return RunNeeds; } public DriverOdView setRunNeeds(String value) { this.RunNeeds = value; return this; } public String getRunNote() { return RunNote; } public DriverOdView setRunNote(String value) { this.RunNote = value; return this; } public String getRunEta() { return RunEta; } public DriverOdView setRunEta(String value) { this.RunEta = value; return this; } public BigDecimal getOdBase() { return OdBase; } public DriverOdView setOdBase(BigDecimal value) { this.OdBase = value; return this; } public BigDecimal getOdPerBag() { return OdPerBag; } public DriverOdView setOdPerBag(BigDecimal value) { this.OdPerBag = value; return this; } public String getHoldCode() { return HoldCode; } public DriverOdView setHoldCode(String value) { this.HoldCode = value; return this; } public String getHoldReason() { return HoldReason; } public DriverOdView setHoldReason(String value) { this.HoldReason = value; return this; } public Date getHoldEndUtc() { return HoldEndUtc; } public DriverOdView setHoldEndUtc(Date value) { this.HoldEndUtc = value; return this; } } public static class DriverIncidentView { public Integer IncidentId = null; public String Code = null; public String Kind = null; public String KindDetail = null; public String Status = null; public String LoadCode = null; public String TruckCode = null; public String LocationText = null; public String DriverPref = null; public String TruckRecovery = null; public String LoadRecovery = null; public String TransloadTruckCode = null; public String HoldCode = null; public Date OpenedUtc = null; public Date ResolvedUtc = null; public ArrayList Messages = new ArrayList(); public Integer getIncidentId() { return IncidentId; } public DriverIncidentView setIncidentId(Integer value) { this.IncidentId = value; return this; } public String getCode() { return Code; } public DriverIncidentView setCode(String value) { this.Code = value; return this; } public String getKind() { return Kind; } public DriverIncidentView setKind(String value) { this.Kind = value; return this; } public String getKindDetail() { return KindDetail; } public DriverIncidentView setKindDetail(String value) { this.KindDetail = value; return this; } public String getStatus() { return Status; } public DriverIncidentView setStatus(String value) { this.Status = value; return this; } public String getLoadCode() { return LoadCode; } public DriverIncidentView setLoadCode(String value) { this.LoadCode = value; return this; } public String getTruckCode() { return TruckCode; } public DriverIncidentView setTruckCode(String value) { this.TruckCode = value; return this; } public String getLocationText() { return LocationText; } public DriverIncidentView setLocationText(String value) { this.LocationText = value; return this; } public String getDriverPref() { return DriverPref; } public DriverIncidentView setDriverPref(String value) { this.DriverPref = value; return this; } public String getTruckRecovery() { return TruckRecovery; } public DriverIncidentView setTruckRecovery(String value) { this.TruckRecovery = value; return this; } public String getLoadRecovery() { return LoadRecovery; } public DriverIncidentView setLoadRecovery(String value) { this.LoadRecovery = value; return this; } public String getTransloadTruckCode() { return TransloadTruckCode; } public DriverIncidentView setTransloadTruckCode(String value) { this.TransloadTruckCode = value; return this; } public String getHoldCode() { return HoldCode; } public DriverIncidentView setHoldCode(String value) { this.HoldCode = value; return this; } public Date getOpenedUtc() { return OpenedUtc; } public DriverIncidentView setOpenedUtc(Date value) { this.OpenedUtc = value; return this; } public Date getResolvedUtc() { return ResolvedUtc; } public DriverIncidentView setResolvedUtc(Date value) { this.ResolvedUtc = value; return this; } public ArrayList getMessages() { return Messages; } public DriverIncidentView setMessages(ArrayList value) { this.Messages = value; return this; } } public static class DriverPayLineView { public String Code = null; public String Module = null; public String SourceLabel = null; public String DestinationLabel = null; public String QtyText = null; public BigDecimal Pay = null; public String PayPlanLabel = null; public String Status = null; public Date ClosedUtc = null; public Date OpenedUtc = null; public String TicketCode = null; public String getCode() { return Code; } public DriverPayLineView setCode(String value) { this.Code = value; return this; } public String getModule() { return Module; } public DriverPayLineView setModule(String value) { this.Module = value; return this; } public String getSourceLabel() { return SourceLabel; } public DriverPayLineView setSourceLabel(String value) { this.SourceLabel = value; return this; } public String getDestinationLabel() { return DestinationLabel; } public DriverPayLineView setDestinationLabel(String value) { this.DestinationLabel = value; return this; } public String getQtyText() { return QtyText; } public DriverPayLineView setQtyText(String value) { this.QtyText = value; return this; } public BigDecimal getPay() { return Pay; } public DriverPayLineView setPay(BigDecimal value) { this.Pay = value; return this; } public String getPayPlanLabel() { return PayPlanLabel; } public DriverPayLineView setPayPlanLabel(String value) { this.PayPlanLabel = value; return this; } public String getStatus() { return Status; } public DriverPayLineView setStatus(String value) { this.Status = value; return this; } public Date getClosedUtc() { return ClosedUtc; } public DriverPayLineView setClosedUtc(Date value) { this.ClosedUtc = value; return this; } public Date getOpenedUtc() { return OpenedUtc; } public DriverPayLineView setOpenedUtc(Date value) { this.OpenedUtc = value; return this; } public String getTicketCode() { return TicketCode; } public DriverPayLineView setTicketCode(String value) { this.TicketCode = value; return this; } } public static class DispatchIncidentMessageView { public Integer MessageId = null; public String Who = null; public String Role = null; public String Msg = null; public Date AtUtc = null; public Integer getMessageId() { return MessageId; } public DispatchIncidentMessageView setMessageId(Integer value) { this.MessageId = value; return this; } public String getWho() { return Who; } public DispatchIncidentMessageView setWho(String value) { this.Who = value; return this; } public String getRole() { return Role; } public DispatchIncidentMessageView setRole(String value) { this.Role = value; return this; } public String getMsg() { return Msg; } public DispatchIncidentMessageView setMsg(String value) { this.Msg = value; return this; } public Date getAtUtc() { return AtUtc; } public DispatchIncidentMessageView setAtUtc(Date value) { this.AtUtc = value; return this; } } public static class DriverStampView { public String Stage = null; public Date AtUtc = null; public String Note = null; public String getStage() { return Stage; } public DriverStampView setStage(String value) { this.Stage = value; return this; } public Date getAtUtc() { return AtUtc; } public DriverStampView setAtUtc(Date value) { this.AtUtc = value; return this; } public String getNote() { return Note; } public DriverStampView setNote(String value) { this.Note = value; return this; } } }