/* Options: Date: 2026-09-05 08:23:51 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: DispatchRequestDeclineRequest.* //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/requests/{RequestId}/decline", Verbs="POST,OPTIONS") public static class DispatchRequestDeclineRequest implements IReturn { public Integer RequestId = null; public String Reason = null; public Integer getRequestId() { return RequestId; } public DispatchRequestDeclineRequest setRequestId(Integer value) { this.RequestId = value; return this; } public String getReason() { return Reason; } public DispatchRequestDeclineRequest setReason(String value) { this.Reason = value; return this; } private static Object responseType = DispatchRequestsResponse.class; public Object getResponseType() { return responseType; } } public static class DispatchRequestsResponse { public ArrayList Requests = new ArrayList(); public DispatchRequestView Request = null; public ArrayList RigCounts = new ArrayList(); public ArrayList Carriers = new ArrayList(); public String QuoteLink = null; public String Delivery = null; public ResponseStatus ResponseStatus = null; public ArrayList getRequests() { return Requests; } public DispatchRequestsResponse setRequests(ArrayList value) { this.Requests = value; return this; } public DispatchRequestView getRequest() { return Request; } public DispatchRequestsResponse setRequest(DispatchRequestView value) { this.Request = value; return this; } public ArrayList getRigCounts() { return RigCounts; } public DispatchRequestsResponse setRigCounts(ArrayList value) { this.RigCounts = value; return this; } public ArrayList getCarriers() { return Carriers; } public DispatchRequestsResponse setCarriers(ArrayList value) { this.Carriers = value; return this; } public String getQuoteLink() { return QuoteLink; } public DispatchRequestsResponse setQuoteLink(String value) { this.QuoteLink = value; return this; } public String getDelivery() { return Delivery; } public DispatchRequestsResponse setDelivery(String value) { this.Delivery = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public DispatchRequestsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class DispatchRequestView { public Integer RequestId = null; public String Code = null; public String CustomerName = null; public String CustomerPhone = null; public String CustomerEmail = null; public String Cargo = null; public Integer Units = null; public String FromLoc = null; public String ToLoc = null; public Integer Miles = null; public String WindowText = null; public Boolean IsUrgent = null; public String Notes = null; public String Source = null; public String Status = null; public String RequiredRig = null; public Integer UnitsPerTruck = null; public BigDecimal RatePerLoad = null; public BigDecimal UrgencyPct = null; public BigDecimal CostPerLoad = null; public Integer LoadsNeeded = null; public BigDecimal QuoteTotal = null; public Integer QuoteVersion = null; public Date QuotedUtc = null; public String QuotedBy = null; public Date AcceptTokenExpiresUtc = null; public Date AcceptedUtc = null; public String AcceptedVia = null; public Date DeclinedUtc = null; public String DeclinedBy = null; public String DeclineReason = null; public Integer JobsCreated = null; public Integer JobsDone = null; public Integer JobsNeedDriver = null; public Date CreatedUtc = null; public String CreatedBy = null; public ArrayList Events = new ArrayList(); public Integer getRequestId() { return RequestId; } public DispatchRequestView setRequestId(Integer value) { this.RequestId = value; return this; } public String getCode() { return Code; } public DispatchRequestView setCode(String value) { this.Code = value; return this; } public String getCustomerName() { return CustomerName; } public DispatchRequestView setCustomerName(String value) { this.CustomerName = value; return this; } public String getCustomerPhone() { return CustomerPhone; } public DispatchRequestView setCustomerPhone(String value) { this.CustomerPhone = value; return this; } public String getCustomerEmail() { return CustomerEmail; } public DispatchRequestView setCustomerEmail(String value) { this.CustomerEmail = value; return this; } public String getCargo() { return Cargo; } public DispatchRequestView setCargo(String value) { this.Cargo = value; return this; } public Integer getUnits() { return Units; } public DispatchRequestView setUnits(Integer value) { this.Units = value; return this; } public String getFromLoc() { return FromLoc; } public DispatchRequestView setFromLoc(String value) { this.FromLoc = value; return this; } public String getToLoc() { return ToLoc; } public DispatchRequestView setToLoc(String value) { this.ToLoc = value; return this; } public Integer getMiles() { return Miles; } public DispatchRequestView setMiles(Integer value) { this.Miles = value; return this; } public String getWindowText() { return WindowText; } public DispatchRequestView setWindowText(String value) { this.WindowText = value; return this; } public Boolean getIsUrgent() { return IsUrgent; } public DispatchRequestView setIsUrgent(Boolean value) { this.IsUrgent = value; return this; } public String getNotes() { return Notes; } public DispatchRequestView setNotes(String value) { this.Notes = value; return this; } public String getSource() { return Source; } public DispatchRequestView setSource(String value) { this.Source = value; return this; } public String getStatus() { return Status; } public DispatchRequestView setStatus(String value) { this.Status = value; return this; } public String getRequiredRig() { return RequiredRig; } public DispatchRequestView setRequiredRig(String value) { this.RequiredRig = value; return this; } public Integer getUnitsPerTruck() { return UnitsPerTruck; } public DispatchRequestView setUnitsPerTruck(Integer value) { this.UnitsPerTruck = value; return this; } public BigDecimal getRatePerLoad() { return RatePerLoad; } public DispatchRequestView setRatePerLoad(BigDecimal value) { this.RatePerLoad = value; return this; } public BigDecimal getUrgencyPct() { return UrgencyPct; } public DispatchRequestView setUrgencyPct(BigDecimal value) { this.UrgencyPct = value; return this; } public BigDecimal getCostPerLoad() { return CostPerLoad; } public DispatchRequestView setCostPerLoad(BigDecimal value) { this.CostPerLoad = value; return this; } public Integer getLoadsNeeded() { return LoadsNeeded; } public DispatchRequestView setLoadsNeeded(Integer value) { this.LoadsNeeded = value; return this; } public BigDecimal getQuoteTotal() { return QuoteTotal; } public DispatchRequestView setQuoteTotal(BigDecimal value) { this.QuoteTotal = value; return this; } public Integer getQuoteVersion() { return QuoteVersion; } public DispatchRequestView setQuoteVersion(Integer value) { this.QuoteVersion = value; return this; } public Date getQuotedUtc() { return QuotedUtc; } public DispatchRequestView setQuotedUtc(Date value) { this.QuotedUtc = value; return this; } public String getQuotedBy() { return QuotedBy; } public DispatchRequestView setQuotedBy(String value) { this.QuotedBy = value; return this; } public Date getAcceptTokenExpiresUtc() { return AcceptTokenExpiresUtc; } public DispatchRequestView setAcceptTokenExpiresUtc(Date value) { this.AcceptTokenExpiresUtc = value; return this; } public Date getAcceptedUtc() { return AcceptedUtc; } public DispatchRequestView setAcceptedUtc(Date value) { this.AcceptedUtc = value; return this; } public String getAcceptedVia() { return AcceptedVia; } public DispatchRequestView setAcceptedVia(String value) { this.AcceptedVia = value; return this; } public Date getDeclinedUtc() { return DeclinedUtc; } public DispatchRequestView setDeclinedUtc(Date value) { this.DeclinedUtc = value; return this; } public String getDeclinedBy() { return DeclinedBy; } public DispatchRequestView setDeclinedBy(String value) { this.DeclinedBy = value; return this; } public String getDeclineReason() { return DeclineReason; } public DispatchRequestView setDeclineReason(String value) { this.DeclineReason = value; return this; } public Integer getJobsCreated() { return JobsCreated; } public DispatchRequestView setJobsCreated(Integer value) { this.JobsCreated = value; return this; } public Integer getJobsDone() { return JobsDone; } public DispatchRequestView setJobsDone(Integer value) { this.JobsDone = value; return this; } public Integer getJobsNeedDriver() { return JobsNeedDriver; } public DispatchRequestView setJobsNeedDriver(Integer value) { this.JobsNeedDriver = value; return this; } public Date getCreatedUtc() { return CreatedUtc; } public DispatchRequestView setCreatedUtc(Date value) { this.CreatedUtc = value; return this; } public String getCreatedBy() { return CreatedBy; } public DispatchRequestView setCreatedBy(String value) { this.CreatedBy = value; return this; } public ArrayList getEvents() { return Events; } public DispatchRequestView setEvents(ArrayList value) { this.Events = value; return this; } } public static class DispatchRigCountView { public String RigType = null; public Integer Rigs = null; public String getRigType() { return RigType; } public DispatchRigCountView setRigType(String value) { this.RigType = value; return this; } public Integer getRigs() { return Rigs; } public DispatchRigCountView setRigs(Integer value) { this.Rigs = value; return this; } } public static class DispatchCarrierPickView { public Integer VendorID = null; public String VendorName = null; public Integer getVendorID() { return VendorID; } public DispatchCarrierPickView setVendorID(Integer value) { this.VendorID = value; return this; } public String getVendorName() { return VendorName; } public DispatchCarrierPickView setVendorName(String value) { this.VendorName = value; return this; } } public static class DispatchRequestEventView { public Integer EventId = null; public String Kind = null; public String Detail = null; public Date AtUtc = null; public String ByWho = null; public Integer getEventId() { return EventId; } public DispatchRequestEventView setEventId(Integer value) { this.EventId = value; return this; } public String getKind() { return Kind; } public DispatchRequestEventView setKind(String value) { this.Kind = value; return this; } public String getDetail() { return Detail; } public DispatchRequestEventView setDetail(String value) { this.Detail = value; return this; } public Date getAtUtc() { return AtUtc; } public DispatchRequestEventView setAtUtc(Date value) { this.AtUtc = value; return this; } public String getByWho() { return ByWho; } public DispatchRequestEventView setByWho(String value) { this.ByWho = value; return this; } } }