/* Options: Date: 2026-09-05 07:50:20 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: DispatchLoadsRequest.* //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/dispatch/loads", Verbs="GET,OPTIONS") public static class DispatchLoadsRequest implements IReturn { public Integer Hours = null; public String Module = null; public Integer getHours() { return Hours; } public DispatchLoadsRequest setHours(Integer value) { this.Hours = value; return this; } public String getModule() { return Module; } public DispatchLoadsRequest setModule(String value) { this.Module = value; return this; } private static Object responseType = DispatchLoadsResponse.class; public Object getResponseType() { return responseType; } } public static class DispatchLoadsResponse { public ArrayList Loads = new ArrayList(); public Integer Hours = null; public ResponseStatus ResponseStatus = null; public ArrayList getLoads() { return Loads; } public DispatchLoadsResponse setLoads(ArrayList value) { this.Loads = value; return this; } public Integer getHours() { return Hours; } public DispatchLoadsResponse setHours(Integer value) { this.Hours = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public DispatchLoadsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class DispatchLoadView { public Integer LoadId = null; public String Code = null; public String Module = null; public String TruckLabel = null; public String DriverLabel = null; public String CarrierLabel = null; public String SourceLabel = null; public String DestinationLabel = null; public BigDecimal Qty = null; public String Unit = null; public String QtyText = null; public String TicketCode = null; public BigDecimal RateApplied = null; public String RateBasis = null; public BigDecimal Revenue = null; public String PayPlanLabel = null; public BigDecimal Pay = null; public String Status = null; public Date OpenedUtc = null; public Date ClosedUtc = null; public Integer Photos = null; public ArrayList Stages = new ArrayList(); public Integer getLoadId() { return LoadId; } public DispatchLoadView setLoadId(Integer value) { this.LoadId = value; return this; } public String getCode() { return Code; } public DispatchLoadView setCode(String value) { this.Code = value; return this; } public String getModule() { return Module; } public DispatchLoadView setModule(String value) { this.Module = value; return this; } public String getTruckLabel() { return TruckLabel; } public DispatchLoadView setTruckLabel(String value) { this.TruckLabel = value; return this; } public String getDriverLabel() { return DriverLabel; } public DispatchLoadView setDriverLabel(String value) { this.DriverLabel = value; return this; } public String getCarrierLabel() { return CarrierLabel; } public DispatchLoadView setCarrierLabel(String value) { this.CarrierLabel = value; return this; } public String getSourceLabel() { return SourceLabel; } public DispatchLoadView setSourceLabel(String value) { this.SourceLabel = value; return this; } public String getDestinationLabel() { return DestinationLabel; } public DispatchLoadView setDestinationLabel(String value) { this.DestinationLabel = value; return this; } public BigDecimal getQty() { return Qty; } public DispatchLoadView setQty(BigDecimal value) { this.Qty = value; return this; } public String getUnit() { return Unit; } public DispatchLoadView setUnit(String value) { this.Unit = value; return this; } public String getQtyText() { return QtyText; } public DispatchLoadView setQtyText(String value) { this.QtyText = value; return this; } public String getTicketCode() { return TicketCode; } public DispatchLoadView setTicketCode(String value) { this.TicketCode = value; return this; } public BigDecimal getRateApplied() { return RateApplied; } public DispatchLoadView setRateApplied(BigDecimal value) { this.RateApplied = value; return this; } public String getRateBasis() { return RateBasis; } public DispatchLoadView setRateBasis(String value) { this.RateBasis = value; return this; } public BigDecimal getRevenue() { return Revenue; } public DispatchLoadView setRevenue(BigDecimal value) { this.Revenue = value; return this; } public String getPayPlanLabel() { return PayPlanLabel; } public DispatchLoadView setPayPlanLabel(String value) { this.PayPlanLabel = value; return this; } public BigDecimal getPay() { return Pay; } public DispatchLoadView setPay(BigDecimal value) { this.Pay = value; return this; } public String getStatus() { return Status; } public DispatchLoadView setStatus(String value) { this.Status = value; return this; } public Date getOpenedUtc() { return OpenedUtc; } public DispatchLoadView setOpenedUtc(Date value) { this.OpenedUtc = value; return this; } public Date getClosedUtc() { return ClosedUtc; } public DispatchLoadView setClosedUtc(Date value) { this.ClosedUtc = value; return this; } public Integer getPhotos() { return Photos; } public DispatchLoadView setPhotos(Integer value) { this.Photos = value; return this; } public ArrayList getStages() { return Stages; } public DispatchLoadView setStages(ArrayList value) { this.Stages = value; return this; } } public static class DispatchLoadStageView { public String Stage = null; public Date AtUtc = null; public String Note = null; public String getStage() { return Stage; } public DispatchLoadStageView setStage(String value) { this.Stage = value; return this; } public Date getAtUtc() { return AtUtc; } public DispatchLoadStageView setAtUtc(Date value) { this.AtUtc = value; return this; } public String getNote() { return Note; } public DispatchLoadStageView setNote(String value) { this.Note = value; return this; } } }