/* Options: Date: 2026-10-12 03:41: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: CourierAvailabilityRequest.* //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/profiles/{Id}/availability", Verbs="GET,OPTIONS") public static class CourierAvailabilityRequest implements IReturn { public Integer Id = null; public String Date = null; public String Zip = null; public Integer getId() { return Id; } public CourierAvailabilityRequest setId(Integer value) { this.Id = value; return this; } public String getDate() { return Date; } public CourierAvailabilityRequest setDate(String value) { this.Date = value; return this; } public String getZip() { return Zip; } public CourierAvailabilityRequest setZip(String value) { this.Zip = value; return this; } private static Object responseType = CourierAvailabilityResponse.class; public Object getResponseType() { return responseType; } } public static class CourierAvailabilityResponse { public Availability Availability = null; public String Date = null; public ResponseStatus ResponseStatus = null; public Availability getAvailability() { return Availability; } public CourierAvailabilityResponse setAvailability(Availability value) { this.Availability = value; return this; } public String getDate() { return Date; } public CourierAvailabilityResponse setDate(String value) { this.Date = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public CourierAvailabilityResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class Availability { public Boolean InArea = null; public Boolean ZipChecked = null; public Boolean Closed = null; public ArrayList Windows = new ArrayList(); public Boolean isInArea() { return InArea; } public Availability setInArea(Boolean value) { this.InArea = value; return this; } public Boolean isZipChecked() { return ZipChecked; } public Availability setZipChecked(Boolean value) { this.ZipChecked = value; return this; } public Boolean isClosed() { return Closed; } public Availability setClosed(Boolean value) { this.Closed = value; return this; } public ArrayList getWindows() { return Windows; } public Availability setWindows(ArrayList value) { this.Windows = value; return this; } } public static class Window { public String Id = null; public Integer DayIx = null; public Integer StartMin = null; public Integer EndMin = null; public String Label = null; public Boolean Asap = null; public ArrayList Levels = new ArrayList(); public String getId() { return Id; } public Window setId(String value) { this.Id = value; return this; } public Integer getDayIx() { return DayIx; } public Window setDayIx(Integer value) { this.DayIx = value; return this; } public Integer getStartMin() { return StartMin; } public Window setStartMin(Integer value) { this.StartMin = value; return this; } public Integer getEndMin() { return EndMin; } public Window setEndMin(Integer value) { this.EndMin = value; return this; } public String getLabel() { return Label; } public Window setLabel(String value) { this.Label = value; return this; } public Boolean isAsap() { return Asap; } public Window setAsap(Boolean value) { this.Asap = value; return this; } public ArrayList getLevels() { return Levels; } public Window setLevels(ArrayList value) { this.Levels = value; return this; } } public static class LevelOffer { public String Code = null; public String Name = null; public Boolean Ok = null; public String Why = null; public String Promise = null; public BigDecimal Surcharge = null; public String getCode() { return Code; } public LevelOffer setCode(String value) { this.Code = value; return this; } public String getName() { return Name; } public LevelOffer setName(String value) { this.Name = value; return this; } public Boolean isOk() { return Ok; } public LevelOffer setOk(Boolean value) { this.Ok = value; return this; } public String getWhy() { return Why; } public LevelOffer setWhy(String value) { this.Why = value; return this; } public String getPromise() { return Promise; } public LevelOffer setPromise(String value) { this.Promise = value; return this; } public BigDecimal getSurcharge() { return Surcharge; } public LevelOffer setSurcharge(BigDecimal value) { this.Surcharge = value; return this; } } }