/* Options: Date: 2026-10-13 00:44: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: CourierTrackRatingRequest.* //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/track/{Token}/rating", Verbs="POST,OPTIONS") public static class CourierTrackRatingRequest extends CourierTrackActRequest implements IReturn { public Integer Stars = null; public ArrayList Tags = new ArrayList(); public BigDecimal Tip = null; public Integer getStars() { return Stars; } public CourierTrackRatingRequest setStars(Integer value) { this.Stars = value; return this; } public ArrayList getTags() { return Tags; } public CourierTrackRatingRequest setTags(ArrayList value) { this.Tags = value; return this; } public BigDecimal getTip() { return Tip; } public CourierTrackRatingRequest setTip(BigDecimal value) { this.Tip = value; return this; } private static Object responseType = DispatchTrackResponse.class; public Object getResponseType() { return responseType; } } public static class DispatchTrackResponse { public String Kind = null; public String Code = null; public String What = null; public String FromLoc = null; public String ToLoc = null; public Integer Bags = null; public BigDecimal Fare = null; public String PayMode = null; public String CardLast4 = null; public Boolean Charged = null; public String Stage = null; public String Headline = null; public String Sub = null; public Boolean IsClosed = null; public String Eta = null; public String DriverName = null; public String CustomerName = null; public ArrayList Steps = new ArrayList(); public Boolean Expired = null; public Boolean Invalid = null; public CourierTrackBusiness Business = null; public CourierTrackView Courier = null; public String Notice = null; public ResponseStatus ResponseStatus = null; public String getKind() { return Kind; } public DispatchTrackResponse setKind(String value) { this.Kind = value; return this; } public String getCode() { return Code; } public DispatchTrackResponse setCode(String value) { this.Code = value; return this; } public String getWhat() { return What; } public DispatchTrackResponse setWhat(String value) { this.What = value; return this; } public String getFromLoc() { return FromLoc; } public DispatchTrackResponse setFromLoc(String value) { this.FromLoc = value; return this; } public String getToLoc() { return ToLoc; } public DispatchTrackResponse setToLoc(String value) { this.ToLoc = value; return this; } public Integer getBags() { return Bags; } public DispatchTrackResponse setBags(Integer value) { this.Bags = value; return this; } public BigDecimal getFare() { return Fare; } public DispatchTrackResponse setFare(BigDecimal value) { this.Fare = value; return this; } public String getPayMode() { return PayMode; } public DispatchTrackResponse setPayMode(String value) { this.PayMode = value; return this; } public String getCardLast4() { return CardLast4; } public DispatchTrackResponse setCardLast4(String value) { this.CardLast4 = value; return this; } public Boolean isCharged() { return Charged; } public DispatchTrackResponse setCharged(Boolean value) { this.Charged = value; return this; } public String getStage() { return Stage; } public DispatchTrackResponse setStage(String value) { this.Stage = value; return this; } public String getHeadline() { return Headline; } public DispatchTrackResponse setHeadline(String value) { this.Headline = value; return this; } public String getSub() { return Sub; } public DispatchTrackResponse setSub(String value) { this.Sub = value; return this; } public Boolean getIsClosed() { return IsClosed; } public DispatchTrackResponse setIsClosed(Boolean value) { this.IsClosed = value; return this; } public String getEta() { return Eta; } public DispatchTrackResponse setEta(String value) { this.Eta = value; return this; } public String getDriverName() { return DriverName; } public DispatchTrackResponse setDriverName(String value) { this.DriverName = value; return this; } public String getCustomerName() { return CustomerName; } public DispatchTrackResponse setCustomerName(String value) { this.CustomerName = value; return this; } public ArrayList getSteps() { return Steps; } public DispatchTrackResponse setSteps(ArrayList value) { this.Steps = value; return this; } public Boolean isExpired() { return Expired; } public DispatchTrackResponse setExpired(Boolean value) { this.Expired = value; return this; } public Boolean isInvalid() { return Invalid; } public DispatchTrackResponse setInvalid(Boolean value) { this.Invalid = value; return this; } public CourierTrackBusiness getBusiness() { return Business; } public DispatchTrackResponse setBusiness(CourierTrackBusiness value) { this.Business = value; return this; } public CourierTrackView getCourier() { return Courier; } public DispatchTrackResponse setCourier(CourierTrackView value) { this.Courier = value; return this; } public String getNotice() { return Notice; } public DispatchTrackResponse setNotice(String value) { this.Notice = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public DispatchTrackResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class CourierTrackActRequest { public String Token = null; public String ActToken = null; public String getToken() { return Token; } public CourierTrackActRequest setToken(String value) { this.Token = value; return this; } public String getActToken() { return ActToken; } public CourierTrackActRequest setActToken(String value) { this.ActToken = value; return this; } } public static class DispatchTrackStepView { public String Name = null; public Date At = null; public Boolean Done = null; public Boolean Current = null; public String getName() { return Name; } public DispatchTrackStepView setName(String value) { this.Name = value; return this; } public Date getAt() { return At; } public DispatchTrackStepView setAt(Date value) { this.At = value; return this; } public Boolean isDone() { return Done; } public DispatchTrackStepView setDone(Boolean value) { this.Done = value; return this; } public Boolean isCurrent() { return Current; } public DispatchTrackStepView setCurrent(Boolean value) { this.Current = value; return this; } } public static class CourierTrackBusiness { public String Name = null; public String Phone = null; public String getName() { return Name; } public CourierTrackBusiness setName(String value) { this.Name = value; return this; } public String getPhone() { return Phone; } public CourierTrackBusiness setPhone(String value) { this.Phone = value; return this; } } public static class CourierTrackView { public String State = null; public String Code = null; public String RunCode = null; public String Shape = null; public String Template = null; public String CourierStep = null; public String UnitOne = null; public String UnitMany = null; public String UnitOneEs = null; public String UnitManyEs = null; public String FacilityNoun = null; public String FacilityNounEs = null; public Integer Units = null; public Boolean UnitsCounted = null; public String Address = null; public String DropoffAddress = null; public String DropoffName = null; public String Instructions = null; public String GateCode = null; public String Handoff = null; public String LevelName = null; public String ReadyPromise = null; public String WindowText = null; public Boolean IsAsap = null; public HashMap Times = new HashMap(); public Integer StopPosition = null; public Integer StopCount = null; public String DeliveryWindowText = null; public CourierTrackDriver Driver = null; public CourierTrackProof Proof = null; public String HandoffCode = null; public CourierTrackRating Rating = null; public Boolean TipAllowed = null; public BigDecimal TipsPct = null; public CourierTrackMissed Missed = null; public BigDecimal CancelFee = null; public BigDecimal CancelFeeCharged = null; public String CancelledBy = null; public String BookUrl = null; public CourierTrackCan Can = null; public ArrayList DeliverySlots = new ArrayList(); public ArrayList Messages = new ArrayList(); public Boolean MessagesOpen = null; public String CaseCode = null; public String CaseStatus = null; public String CaseReply = null; public Integer ThreadHrs = null; public Date ExpiresUtc = null; public Boolean LiveEta = null; public Boolean Live = null; public Date ServerUtc = null; public String getState() { return State; } public CourierTrackView setState(String value) { this.State = value; return this; } public String getCode() { return Code; } public CourierTrackView setCode(String value) { this.Code = value; return this; } public String getRunCode() { return RunCode; } public CourierTrackView setRunCode(String value) { this.RunCode = value; return this; } public String getShape() { return Shape; } public CourierTrackView setShape(String value) { this.Shape = value; return this; } public String getTemplate() { return Template; } public CourierTrackView setTemplate(String value) { this.Template = value; return this; } public String getCourierStep() { return CourierStep; } public CourierTrackView setCourierStep(String value) { this.CourierStep = value; return this; } public String getUnitOne() { return UnitOne; } public CourierTrackView setUnitOne(String value) { this.UnitOne = value; return this; } public String getUnitMany() { return UnitMany; } public CourierTrackView setUnitMany(String value) { this.UnitMany = value; return this; } public String getUnitOneEs() { return UnitOneEs; } public CourierTrackView setUnitOneEs(String value) { this.UnitOneEs = value; return this; } public String getUnitManyEs() { return UnitManyEs; } public CourierTrackView setUnitManyEs(String value) { this.UnitManyEs = value; return this; } public String getFacilityNoun() { return FacilityNoun; } public CourierTrackView setFacilityNoun(String value) { this.FacilityNoun = value; return this; } public String getFacilityNounEs() { return FacilityNounEs; } public CourierTrackView setFacilityNounEs(String value) { this.FacilityNounEs = value; return this; } public Integer getUnits() { return Units; } public CourierTrackView setUnits(Integer value) { this.Units = value; return this; } public Boolean isUnitsCounted() { return UnitsCounted; } public CourierTrackView setUnitsCounted(Boolean value) { this.UnitsCounted = value; return this; } public String getAddress() { return Address; } public CourierTrackView setAddress(String value) { this.Address = value; return this; } public String getDropoffAddress() { return DropoffAddress; } public CourierTrackView setDropoffAddress(String value) { this.DropoffAddress = value; return this; } public String getDropoffName() { return DropoffName; } public CourierTrackView setDropoffName(String value) { this.DropoffName = value; return this; } public String getInstructions() { return Instructions; } public CourierTrackView setInstructions(String value) { this.Instructions = value; return this; } public String getGateCode() { return GateCode; } public CourierTrackView setGateCode(String value) { this.GateCode = value; return this; } public String getHandoff() { return Handoff; } public CourierTrackView setHandoff(String value) { this.Handoff = value; return this; } public String getLevelName() { return LevelName; } public CourierTrackView setLevelName(String value) { this.LevelName = value; return this; } public String getReadyPromise() { return ReadyPromise; } public CourierTrackView setReadyPromise(String value) { this.ReadyPromise = value; return this; } public String getWindowText() { return WindowText; } public CourierTrackView setWindowText(String value) { this.WindowText = value; return this; } public Boolean getIsAsap() { return IsAsap; } public CourierTrackView setIsAsap(Boolean value) { this.IsAsap = value; return this; } public HashMap getTimes() { return Times; } public CourierTrackView setTimes(HashMap value) { this.Times = value; return this; } public Integer getStopPosition() { return StopPosition; } public CourierTrackView setStopPosition(Integer value) { this.StopPosition = value; return this; } public Integer getStopCount() { return StopCount; } public CourierTrackView setStopCount(Integer value) { this.StopCount = value; return this; } public String getDeliveryWindowText() { return DeliveryWindowText; } public CourierTrackView setDeliveryWindowText(String value) { this.DeliveryWindowText = value; return this; } public CourierTrackDriver getDriver() { return Driver; } public CourierTrackView setDriver(CourierTrackDriver value) { this.Driver = value; return this; } public CourierTrackProof getProof() { return Proof; } public CourierTrackView setProof(CourierTrackProof value) { this.Proof = value; return this; } public String getHandoffCode() { return HandoffCode; } public CourierTrackView setHandoffCode(String value) { this.HandoffCode = value; return this; } public CourierTrackRating getRating() { return Rating; } public CourierTrackView setRating(CourierTrackRating value) { this.Rating = value; return this; } public Boolean isTipAllowed() { return TipAllowed; } public CourierTrackView setTipAllowed(Boolean value) { this.TipAllowed = value; return this; } public BigDecimal getTipsPct() { return TipsPct; } public CourierTrackView setTipsPct(BigDecimal value) { this.TipsPct = value; return this; } public CourierTrackMissed getMissed() { return Missed; } public CourierTrackView setMissed(CourierTrackMissed value) { this.Missed = value; return this; } public BigDecimal getCancelFee() { return CancelFee; } public CourierTrackView setCancelFee(BigDecimal value) { this.CancelFee = value; return this; } public BigDecimal getCancelFeeCharged() { return CancelFeeCharged; } public CourierTrackView setCancelFeeCharged(BigDecimal value) { this.CancelFeeCharged = value; return this; } public String getCancelledBy() { return CancelledBy; } public CourierTrackView setCancelledBy(String value) { this.CancelledBy = value; return this; } public String getBookUrl() { return BookUrl; } public CourierTrackView setBookUrl(String value) { this.BookUrl = value; return this; } public CourierTrackCan getCan() { return Can; } public CourierTrackView setCan(CourierTrackCan value) { this.Can = value; return this; } public ArrayList getDeliverySlots() { return DeliverySlots; } public CourierTrackView setDeliverySlots(ArrayList value) { this.DeliverySlots = value; return this; } public ArrayList getMessages() { return Messages; } public CourierTrackView setMessages(ArrayList value) { this.Messages = value; return this; } public Boolean isMessagesOpen() { return MessagesOpen; } public CourierTrackView setMessagesOpen(Boolean value) { this.MessagesOpen = value; return this; } public String getCaseCode() { return CaseCode; } public CourierTrackView setCaseCode(String value) { this.CaseCode = value; return this; } public String getCaseStatus() { return CaseStatus; } public CourierTrackView setCaseStatus(String value) { this.CaseStatus = value; return this; } public String getCaseReply() { return CaseReply; } public CourierTrackView setCaseReply(String value) { this.CaseReply = value; return this; } public Integer getThreadHrs() { return ThreadHrs; } public CourierTrackView setThreadHrs(Integer value) { this.ThreadHrs = value; return this; } public Date getExpiresUtc() { return ExpiresUtc; } public CourierTrackView setExpiresUtc(Date value) { this.ExpiresUtc = value; return this; } public Boolean isLiveEta() { return LiveEta; } public CourierTrackView setLiveEta(Boolean value) { this.LiveEta = value; return this; } public Boolean isLive() { return Live; } public CourierTrackView setLive(Boolean value) { this.Live = value; return this; } public Date getServerUtc() { return ServerUtc; } public CourierTrackView setServerUtc(Date value) { this.ServerUtc = value; return this; } } public static class CourierTrackDriver { public String FirstName = null; public String Initial = null; public String Vehicle = null; public String Plate = null; public Integer EtaMin = null; public Integer EtaPct = null; public String getFirstName() { return FirstName; } public CourierTrackDriver setFirstName(String value) { this.FirstName = value; return this; } public String getInitial() { return Initial; } public CourierTrackDriver setInitial(String value) { this.Initial = value; return this; } public String getVehicle() { return Vehicle; } public CourierTrackDriver setVehicle(String value) { this.Vehicle = value; return this; } public String getPlate() { return Plate; } public CourierTrackDriver setPlate(String value) { this.Plate = value; return this; } public Integer getEtaMin() { return EtaMin; } public CourierTrackDriver setEtaMin(Integer value) { this.EtaMin = value; return this; } public Integer getEtaPct() { return EtaPct; } public CourierTrackDriver setEtaPct(Integer value) { this.EtaPct = value; return this; } } public static class CourierTrackProof { public String Kind = null; public String PhotoUrl = null; public String AtText = null; public Boolean GpsOk = null; public Integer Units = null; public String DamageNote = null; public String DeliveredTo = null; public Integer WaitedMin = null; public Integer Attempts = null; public String ContactedText = null; public Boolean EachTagged = null; public Boolean EachScanned = null; public String getKind() { return Kind; } public CourierTrackProof setKind(String value) { this.Kind = value; return this; } public String getPhotoUrl() { return PhotoUrl; } public CourierTrackProof setPhotoUrl(String value) { this.PhotoUrl = value; return this; } public String getAtText() { return AtText; } public CourierTrackProof setAtText(String value) { this.AtText = value; return this; } public Boolean isGpsOk() { return GpsOk; } public CourierTrackProof setGpsOk(Boolean value) { this.GpsOk = value; return this; } public Integer getUnits() { return Units; } public CourierTrackProof setUnits(Integer value) { this.Units = value; return this; } public String getDamageNote() { return DamageNote; } public CourierTrackProof setDamageNote(String value) { this.DamageNote = value; return this; } public String getDeliveredTo() { return DeliveredTo; } public CourierTrackProof setDeliveredTo(String value) { this.DeliveredTo = value; return this; } public Integer getWaitedMin() { return WaitedMin; } public CourierTrackProof setWaitedMin(Integer value) { this.WaitedMin = value; return this; } public Integer getAttempts() { return Attempts; } public CourierTrackProof setAttempts(Integer value) { this.Attempts = value; return this; } public String getContactedText() { return ContactedText; } public CourierTrackProof setContactedText(String value) { this.ContactedText = value; return this; } public Boolean isEachTagged() { return EachTagged; } public CourierTrackProof setEachTagged(Boolean value) { this.EachTagged = value; return this; } public Boolean isEachScanned() { return EachScanned; } public CourierTrackProof setEachScanned(Boolean value) { this.EachScanned = value; return this; } } public static class CourierTrackRating { public Integer Stars = null; public String Tags = null; public BigDecimal Tip = null; public String TipStatus = null; public Integer getStars() { return Stars; } public CourierTrackRating setStars(Integer value) { this.Stars = value; return this; } public String getTags() { return Tags; } public CourierTrackRating setTags(String value) { this.Tags = value; return this; } public BigDecimal getTip() { return Tip; } public CourierTrackRating setTip(BigDecimal value) { this.Tip = value; return this; } public String getTipStatus() { return TipStatus; } public CourierTrackRating setTipStatus(String value) { this.TipStatus = value; return this; } } public static class CourierTrackMissed { public String Code = null; public BigDecimal Fee = null; public Integer WaitedMin = null; public Boolean AutoRebook = null; public String RebookWindowText = null; public ArrayList Slots = new ArrayList(); public String getCode() { return Code; } public CourierTrackMissed setCode(String value) { this.Code = value; return this; } public BigDecimal getFee() { return Fee; } public CourierTrackMissed setFee(BigDecimal value) { this.Fee = value; return this; } public Integer getWaitedMin() { return WaitedMin; } public CourierTrackMissed setWaitedMin(Integer value) { this.WaitedMin = value; return this; } public Boolean isAutoRebook() { return AutoRebook; } public CourierTrackMissed setAutoRebook(Boolean value) { this.AutoRebook = value; return this; } public String getRebookWindowText() { return RebookWindowText; } public CourierTrackMissed setRebookWindowText(String value) { this.RebookWindowText = value; return this; } public ArrayList getSlots() { return Slots; } public CourierTrackMissed setSlots(ArrayList value) { this.Slots = value; return this; } } public static class CourierTrackCan { public Boolean EditInstructions = null; public Boolean ChangeUnits = null; public Boolean Cancel = null; public Boolean RescheduleDelivery = null; public Boolean Rebook = null; public Boolean Rate = null; public Boolean Message = null; public Boolean Report = null; public Integer MaxUnits = null; public Boolean isEditInstructions() { return EditInstructions; } public CourierTrackCan setEditInstructions(Boolean value) { this.EditInstructions = value; return this; } public Boolean isChangeUnits() { return ChangeUnits; } public CourierTrackCan setChangeUnits(Boolean value) { this.ChangeUnits = value; return this; } public Boolean isCancel() { return Cancel; } public CourierTrackCan setCancel(Boolean value) { this.Cancel = value; return this; } public Boolean isRescheduleDelivery() { return RescheduleDelivery; } public CourierTrackCan setRescheduleDelivery(Boolean value) { this.RescheduleDelivery = value; return this; } public Boolean isRebook() { return Rebook; } public CourierTrackCan setRebook(Boolean value) { this.Rebook = value; return this; } public Boolean isRate() { return Rate; } public CourierTrackCan setRate(Boolean value) { this.Rate = value; return this; } public Boolean isMessage() { return Message; } public CourierTrackCan setMessage(Boolean value) { this.Message = value; return this; } public Boolean isReport() { return Report; } public CourierTrackCan setReport(Boolean value) { this.Report = value; return this; } public Integer getMaxUnits() { return MaxUnits; } public CourierTrackCan setMaxUnits(Integer value) { this.MaxUnits = value; return this; } } public static class CourierTrackSlot { public String Id = null; public String Day = null; public String DayEs = null; public String Win = null; public String getId() { return Id; } public CourierTrackSlot setId(String value) { this.Id = value; return this; } public String getDay() { return Day; } public CourierTrackSlot setDay(String value) { this.Day = value; return this; } public String getDayEs() { return DayEs; } public CourierTrackSlot setDayEs(String value) { this.DayEs = value; return this; } public String getWin() { return Win; } public CourierTrackSlot setWin(String value) { this.Win = value; return this; } } public static class CourierTrackMessage { public String Who = null; public Boolean Mine = null; public Boolean Office = null; public String AtText = null; public String Body = null; public String getWho() { return Who; } public CourierTrackMessage setWho(String value) { this.Who = value; return this; } public Boolean isMine() { return Mine; } public CourierTrackMessage setMine(Boolean value) { this.Mine = value; return this; } public Boolean isOffice() { return Office; } public CourierTrackMessage setOffice(Boolean value) { this.Office = value; return this; } public String getAtText() { return AtText; } public CourierTrackMessage setAtText(String value) { this.AtText = value; return this; } public String getBody() { return Body; } public CourierTrackMessage setBody(String value) { this.Body = value; return this; } } }