/* Options: Date: 2026-10-13 01:30: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: CourierVansRequest.* //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/courier/vans", Verbs="GET,OPTIONS") public static class CourierVansRequest implements IReturn { private static Object responseType = CourierOfficeResponse.class; public Object getResponseType() { return responseType; } } public static class CourierOfficeResponse { public CourierOfficeView Office = null; public Boolean Available = null; public ResponseStatus ResponseStatus = null; public CourierOfficeView getOffice() { return Office; } public CourierOfficeResponse setOffice(CourierOfficeView value) { this.Office = value; return this; } public Boolean isAvailable() { return Available; } public CourierOfficeResponse setAvailable(Boolean value) { this.Available = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public CourierOfficeResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class CourierOfficeView { public Date ServerUtc = null; public ArrayList Vans = new ArrayList(); public ArrayList Held = new ArrayList(); public ArrayList Vehicles = new ArrayList(); public ArrayList Profiles = new ArrayList(); public ArrayList Drivers = new ArrayList(); public ArrayList Desk = new ArrayList(); public Integer GoCount = null; public Integer HeldCount = null; public Integer ReadyToOffer = null; public Integer IntakeMin = null; public String FacilityNoun = null; public Date getServerUtc() { return ServerUtc; } public CourierOfficeView setServerUtc(Date value) { this.ServerUtc = value; return this; } public ArrayList getVans() { return Vans; } public CourierOfficeView setVans(ArrayList value) { this.Vans = value; return this; } public ArrayList getHeld() { return Held; } public CourierOfficeView setHeld(ArrayList value) { this.Held = value; return this; } public ArrayList getVehicles() { return Vehicles; } public CourierOfficeView setVehicles(ArrayList value) { this.Vehicles = value; return this; } public ArrayList getProfiles() { return Profiles; } public CourierOfficeView setProfiles(ArrayList value) { this.Profiles = value; return this; } public ArrayList getDrivers() { return Drivers; } public CourierOfficeView setDrivers(ArrayList value) { this.Drivers = value; return this; } public ArrayList getDesk() { return Desk; } public CourierOfficeView setDesk(ArrayList value) { this.Desk = value; return this; } public Integer getGoCount() { return GoCount; } public CourierOfficeView setGoCount(Integer value) { this.GoCount = value; return this; } public Integer getHeldCount() { return HeldCount; } public CourierOfficeView setHeldCount(Integer value) { this.HeldCount = value; return this; } public Integer getReadyToOffer() { return ReadyToOffer; } public CourierOfficeView setReadyToOffer(Integer value) { this.ReadyToOffer = value; return this; } public Integer getIntakeMin() { return IntakeMin; } public CourierOfficeView setIntakeMin(Integer value) { this.IntakeMin = value; return this; } public String getFacilityNoun() { return FacilityNoun; } public CourierOfficeView setFacilityNoun(String value) { this.FacilityNoun = value; return this; } } public static class CourierOfficeVan { public Integer DriverContactId = null; public String DriverCode = null; public String Name = null; public Boolean Online = null; public String Zone = null; public String VehicleUnit = null; public String FacilityName = null; public String State = null; public Date LeaveByUtc = null; public String LeaveByText = null; public Integer SlackMin = null; public Integer InVan = null; public Integer Committed = null; public BigDecimal Cap = null; public String CapUnit = null; public String UnitMany = null; public String CriticalCode = null; public Integer DriveMin = null; public String SendNote = null; public ArrayList Aboard = new ArrayList(); public ArrayList Queued = new ArrayList(); public Integer getDriverContactId() { return DriverContactId; } public CourierOfficeVan setDriverContactId(Integer value) { this.DriverContactId = value; return this; } public String getDriverCode() { return DriverCode; } public CourierOfficeVan setDriverCode(String value) { this.DriverCode = value; return this; } public String getName() { return Name; } public CourierOfficeVan setName(String value) { this.Name = value; return this; } public Boolean isOnline() { return Online; } public CourierOfficeVan setOnline(Boolean value) { this.Online = value; return this; } public String getZone() { return Zone; } public CourierOfficeVan setZone(String value) { this.Zone = value; return this; } public String getVehicleUnit() { return VehicleUnit; } public CourierOfficeVan setVehicleUnit(String value) { this.VehicleUnit = value; return this; } public String getFacilityName() { return FacilityName; } public CourierOfficeVan setFacilityName(String value) { this.FacilityName = value; return this; } public String getState() { return State; } public CourierOfficeVan setState(String value) { this.State = value; return this; } public Date getLeaveByUtc() { return LeaveByUtc; } public CourierOfficeVan setLeaveByUtc(Date value) { this.LeaveByUtc = value; return this; } public String getLeaveByText() { return LeaveByText; } public CourierOfficeVan setLeaveByText(String value) { this.LeaveByText = value; return this; } public Integer getSlackMin() { return SlackMin; } public CourierOfficeVan setSlackMin(Integer value) { this.SlackMin = value; return this; } public Integer getInVan() { return InVan; } public CourierOfficeVan setInVan(Integer value) { this.InVan = value; return this; } public Integer getCommitted() { return Committed; } public CourierOfficeVan setCommitted(Integer value) { this.Committed = value; return this; } public BigDecimal getCap() { return Cap; } public CourierOfficeVan setCap(BigDecimal value) { this.Cap = value; return this; } public String getCapUnit() { return CapUnit; } public CourierOfficeVan setCapUnit(String value) { this.CapUnit = value; return this; } public String getUnitMany() { return UnitMany; } public CourierOfficeVan setUnitMany(String value) { this.UnitMany = value; return this; } public String getCriticalCode() { return CriticalCode; } public CourierOfficeVan setCriticalCode(String value) { this.CriticalCode = value; return this; } public Integer getDriveMin() { return DriveMin; } public CourierOfficeVan setDriveMin(Integer value) { this.DriveMin = value; return this; } public String getSendNote() { return SendNote; } public CourierOfficeVan setSendNote(String value) { this.SendNote = value; return this; } public ArrayList getAboard() { return Aboard; } public CourierOfficeVan setAboard(ArrayList value) { this.Aboard = value; return this; } public ArrayList getQueued() { return Queued; } public CourierOfficeVan setQueued(ArrayList value) { this.Queued = value; return this; } } public static class CourierHeldView { public String Code = null; public String Area = null; public Integer Units = null; public String UnitMany = null; public BigDecimal Miles = null; public String LevelCode = null; public String LevelName = null; public String DueText = null; public String HeldReason = null; public Integer HeldMin = null; public ArrayList Why = new ArrayList(); public Integer BestDriverContactId = null; public String BestName = null; public String BestLeaveByText = null; public String getCode() { return Code; } public CourierHeldView setCode(String value) { this.Code = value; return this; } public String getArea() { return Area; } public CourierHeldView setArea(String value) { this.Area = value; return this; } public Integer getUnits() { return Units; } public CourierHeldView setUnits(Integer value) { this.Units = value; return this; } public String getUnitMany() { return UnitMany; } public CourierHeldView setUnitMany(String value) { this.UnitMany = value; return this; } public BigDecimal getMiles() { return Miles; } public CourierHeldView setMiles(BigDecimal value) { this.Miles = value; return this; } public String getLevelCode() { return LevelCode; } public CourierHeldView setLevelCode(String value) { this.LevelCode = value; return this; } public String getLevelName() { return LevelName; } public CourierHeldView setLevelName(String value) { this.LevelName = value; return this; } public String getDueText() { return DueText; } public CourierHeldView setDueText(String value) { this.DueText = value; return this; } public String getHeldReason() { return HeldReason; } public CourierHeldView setHeldReason(String value) { this.HeldReason = value; return this; } public Integer getHeldMin() { return HeldMin; } public CourierHeldView setHeldMin(Integer value) { this.HeldMin = value; return this; } public ArrayList getWhy() { return Why; } public CourierHeldView setWhy(ArrayList value) { this.Why = value; return this; } public Integer getBestDriverContactId() { return BestDriverContactId; } public CourierHeldView setBestDriverContactId(Integer value) { this.BestDriverContactId = value; return this; } public String getBestName() { return BestName; } public CourierHeldView setBestName(String value) { this.BestName = value; return this; } public String getBestLeaveByText() { return BestLeaveByText; } public CourierHeldView setBestLeaveByText(String value) { this.BestLeaveByText = value; return this; } } public static class CourierVehicleOption { public Integer CourierProfileId = null; public Integer EquipmentID = null; public String UnitNumber = null; public String VehicleType = null; public String CapacityUnit = null; public BigDecimal CapacityLimit = null; public Boolean IsRefrigerated = null; public String Status = null; public Integer getCourierProfileId() { return CourierProfileId; } public CourierVehicleOption setCourierProfileId(Integer value) { this.CourierProfileId = value; return this; } public Integer getEquipmentID() { return EquipmentID; } public CourierVehicleOption setEquipmentID(Integer value) { this.EquipmentID = value; return this; } public String getUnitNumber() { return UnitNumber; } public CourierVehicleOption setUnitNumber(String value) { this.UnitNumber = value; return this; } public String getVehicleType() { return VehicleType; } public CourierVehicleOption setVehicleType(String value) { this.VehicleType = value; return this; } public String getCapacityUnit() { return CapacityUnit; } public CourierVehicleOption setCapacityUnit(String value) { this.CapacityUnit = value; return this; } public BigDecimal getCapacityLimit() { return CapacityLimit; } public CourierVehicleOption setCapacityLimit(BigDecimal value) { this.CapacityLimit = value; return this; } public Boolean getIsRefrigerated() { return IsRefrigerated; } public CourierVehicleOption setIsRefrigerated(Boolean value) { this.IsRefrigerated = value; return this; } public String getStatus() { return Status; } public CourierVehicleOption setStatus(String value) { this.Status = value; return this; } } public static class CourierProfileOption { public Integer CourierProfileID = null; public String Name = null; public String RouteShape = null; public Boolean Enabled = null; public String UnitOne = null; public String UnitMany = null; public String FacilityNoun = null; public ArrayList Facilities = new ArrayList(); public Integer getCourierProfileID() { return CourierProfileID; } public CourierProfileOption setCourierProfileID(Integer value) { this.CourierProfileID = value; return this; } public String getName() { return Name; } public CourierProfileOption setName(String value) { this.Name = value; return this; } public String getRouteShape() { return RouteShape; } public CourierProfileOption setRouteShape(String value) { this.RouteShape = value; return this; } public Boolean isEnabled() { return Enabled; } public CourierProfileOption setEnabled(Boolean value) { this.Enabled = value; return this; } public String getUnitOne() { return UnitOne; } public CourierProfileOption setUnitOne(String value) { this.UnitOne = value; return this; } public String getUnitMany() { return UnitMany; } public CourierProfileOption setUnitMany(String value) { this.UnitMany = value; return this; } public String getFacilityNoun() { return FacilityNoun; } public CourierProfileOption setFacilityNoun(String value) { this.FacilityNoun = value; return this; } public ArrayList getFacilities() { return Facilities; } public CourierProfileOption setFacilities(ArrayList value) { this.Facilities = value; return this; } } public static class CourierDriverOption { public Integer ContactId = null; public String Code = null; public String Name = null; public Boolean Online = null; public String Zone = null; public String VehicleUnit = null; public Integer EquipmentID = null; public Boolean SentToFacility = null; public Integer getContactId() { return ContactId; } public CourierDriverOption setContactId(Integer value) { this.ContactId = value; return this; } public String getCode() { return Code; } public CourierDriverOption setCode(String value) { this.Code = value; return this; } public String getName() { return Name; } public CourierDriverOption setName(String value) { this.Name = value; return this; } public Boolean isOnline() { return Online; } public CourierDriverOption setOnline(Boolean value) { this.Online = value; return this; } public String getZone() { return Zone; } public CourierDriverOption setZone(String value) { this.Zone = value; return this; } public String getVehicleUnit() { return VehicleUnit; } public CourierDriverOption setVehicleUnit(String value) { this.VehicleUnit = value; return this; } public Integer getEquipmentID() { return EquipmentID; } public CourierDriverOption setEquipmentID(Integer value) { this.EquipmentID = value; return this; } public Boolean isSentToFacility() { return SentToFacility; } public CourierDriverOption setSentToFacility(Boolean value) { this.SentToFacility = value; return this; } } public static class CourierDeskRow { public String Code = null; public Integer CourierProfileId = null; public String FacilityName = null; public String LevelCode = null; public String LevelName = null; public Date DueUtc = null; public String DueText = null; public Integer Units = null; public Integer UnitsFound = null; public String UnitMany = null; public BigDecimal Fare = null; public BigDecimal FinalPrice = null; public BigDecimal TipAmount = null; public String PayMode = null; public String CaptureMode = null; public String CustomerName = null; public String Area = null; public Date IntakeUtc = null; public Integer IntakeMinAgo = null; public String DamageNote = null; public Boolean FinalPriceAfterCount = null; public Boolean NeedsPrice = null; public Integer ItemCount = null; public Integer MissingCount = null; public Integer PhotoCount = null; public String getCode() { return Code; } public CourierDeskRow setCode(String value) { this.Code = value; return this; } public Integer getCourierProfileId() { return CourierProfileId; } public CourierDeskRow setCourierProfileId(Integer value) { this.CourierProfileId = value; return this; } public String getFacilityName() { return FacilityName; } public CourierDeskRow setFacilityName(String value) { this.FacilityName = value; return this; } public String getLevelCode() { return LevelCode; } public CourierDeskRow setLevelCode(String value) { this.LevelCode = value; return this; } public String getLevelName() { return LevelName; } public CourierDeskRow setLevelName(String value) { this.LevelName = value; return this; } public Date getDueUtc() { return DueUtc; } public CourierDeskRow setDueUtc(Date value) { this.DueUtc = value; return this; } public String getDueText() { return DueText; } public CourierDeskRow setDueText(String value) { this.DueText = value; return this; } public Integer getUnits() { return Units; } public CourierDeskRow setUnits(Integer value) { this.Units = value; return this; } public Integer getUnitsFound() { return UnitsFound; } public CourierDeskRow setUnitsFound(Integer value) { this.UnitsFound = value; return this; } public String getUnitMany() { return UnitMany; } public CourierDeskRow setUnitMany(String value) { this.UnitMany = value; return this; } public BigDecimal getFare() { return Fare; } public CourierDeskRow setFare(BigDecimal value) { this.Fare = value; return this; } public BigDecimal getFinalPrice() { return FinalPrice; } public CourierDeskRow setFinalPrice(BigDecimal value) { this.FinalPrice = value; return this; } public BigDecimal getTipAmount() { return TipAmount; } public CourierDeskRow setTipAmount(BigDecimal value) { this.TipAmount = value; return this; } public String getPayMode() { return PayMode; } public CourierDeskRow setPayMode(String value) { this.PayMode = value; return this; } public String getCaptureMode() { return CaptureMode; } public CourierDeskRow setCaptureMode(String value) { this.CaptureMode = value; return this; } public String getCustomerName() { return CustomerName; } public CourierDeskRow setCustomerName(String value) { this.CustomerName = value; return this; } public String getArea() { return Area; } public CourierDeskRow setArea(String value) { this.Area = value; return this; } public Date getIntakeUtc() { return IntakeUtc; } public CourierDeskRow setIntakeUtc(Date value) { this.IntakeUtc = value; return this; } public Integer getIntakeMinAgo() { return IntakeMinAgo; } public CourierDeskRow setIntakeMinAgo(Integer value) { this.IntakeMinAgo = value; return this; } public String getDamageNote() { return DamageNote; } public CourierDeskRow setDamageNote(String value) { this.DamageNote = value; return this; } public Boolean isFinalPriceAfterCount() { return FinalPriceAfterCount; } public CourierDeskRow setFinalPriceAfterCount(Boolean value) { this.FinalPriceAfterCount = value; return this; } public Boolean isNeedsPrice() { return NeedsPrice; } public CourierDeskRow setNeedsPrice(Boolean value) { this.NeedsPrice = value; return this; } public Integer getItemCount() { return ItemCount; } public CourierDeskRow setItemCount(Integer value) { this.ItemCount = value; return this; } public Integer getMissingCount() { return MissingCount; } public CourierDeskRow setMissingCount(Integer value) { this.MissingCount = value; return this; } public Integer getPhotoCount() { return PhotoCount; } public CourierDeskRow setPhotoCount(Integer value) { this.PhotoCount = value; return this; } } public static class CourierVanChip { public String Code = null; public String CourierStep = null; public String LevelCode = null; public String LevelName = null; public Integer Units = null; public String Area = null; public Date DueUtc = null; public String DueText = null; public Boolean Movable = null; public String NoMoveWhy = null; public ArrayList Targets = new ArrayList(); public String getCode() { return Code; } public CourierVanChip setCode(String value) { this.Code = value; return this; } public String getCourierStep() { return CourierStep; } public CourierVanChip setCourierStep(String value) { this.CourierStep = value; return this; } public String getLevelCode() { return LevelCode; } public CourierVanChip setLevelCode(String value) { this.LevelCode = value; return this; } public String getLevelName() { return LevelName; } public CourierVanChip setLevelName(String value) { this.LevelName = value; return this; } public Integer getUnits() { return Units; } public CourierVanChip setUnits(Integer value) { this.Units = value; return this; } public String getArea() { return Area; } public CourierVanChip setArea(String value) { this.Area = value; return this; } public Date getDueUtc() { return DueUtc; } public CourierVanChip setDueUtc(Date value) { this.DueUtc = value; return this; } public String getDueText() { return DueText; } public CourierVanChip setDueText(String value) { this.DueText = value; return this; } public Boolean isMovable() { return Movable; } public CourierVanChip setMovable(Boolean value) { this.Movable = value; return this; } public String getNoMoveWhy() { return NoMoveWhy; } public CourierVanChip setNoMoveWhy(String value) { this.NoMoveWhy = value; return this; } public ArrayList getTargets() { return Targets; } public CourierVanChip setTargets(ArrayList value) { this.Targets = value; return this; } } public static class CourierFacilityOption { public Integer CourierFacilityID = null; public String Code = null; public String Name = null; public String Address = null; public Integer IntakeMin = null; public Integer getCourierFacilityID() { return CourierFacilityID; } public CourierFacilityOption setCourierFacilityID(Integer value) { this.CourierFacilityID = value; return this; } public String getCode() { return Code; } public CourierFacilityOption setCode(String value) { this.Code = value; return this; } public String getName() { return Name; } public CourierFacilityOption setName(String value) { this.Name = value; return this; } public String getAddress() { return Address; } public CourierFacilityOption setAddress(String value) { this.Address = value; return this; } public Integer getIntakeMin() { return IntakeMin; } public CourierFacilityOption setIntakeMin(Integer value) { this.IntakeMin = value; return this; } } public static class CourierMoveTarget { public Integer DriverContactId = null; public String Name = null; public Boolean Ok = null; public String Why = null; public String LeaveByText = null; public Integer getDriverContactId() { return DriverContactId; } public CourierMoveTarget setDriverContactId(Integer value) { this.DriverContactId = value; return this; } public String getName() { return Name; } public CourierMoveTarget setName(String value) { this.Name = value; return this; } public Boolean isOk() { return Ok; } public CourierMoveTarget setOk(Boolean value) { this.Ok = value; return this; } public String getWhy() { return Why; } public CourierMoveTarget setWhy(String value) { this.Why = value; return this; } public String getLeaveByText() { return LeaveByText; } public CourierMoveTarget setLeaveByText(String value) { this.LeaveByText = value; return this; } } }