/* Options: Date: 2026-06-22 20:28:50 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: VisitExceptionsRequest.* //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/visits/exceptions", Verbs="GET,OPTIONS") public static class VisitExceptionsRequest implements IReturn { private static Object responseType = VisitExceptionsResponse.class; public Object getResponseType() { return responseType; } } public static class VisitExceptionsResponse { public ArrayList Items = new ArrayList(); public Integer MissedCount = null; public Integer SlaCount = null; public Integer SkippedCount = null; public Integer AtRiskCount = null; public ResponseStatus ResponseStatus = null; public ArrayList getItems() { return Items; } public VisitExceptionsResponse setItems(ArrayList value) { this.Items = value; return this; } public Integer getMissedCount() { return MissedCount; } public VisitExceptionsResponse setMissedCount(Integer value) { this.MissedCount = value; return this; } public Integer getSlaCount() { return SlaCount; } public VisitExceptionsResponse setSlaCount(Integer value) { this.SlaCount = value; return this; } public Integer getSkippedCount() { return SkippedCount; } public VisitExceptionsResponse setSkippedCount(Integer value) { this.SkippedCount = value; return this; } public Integer getAtRiskCount() { return AtRiskCount; } public VisitExceptionsResponse setAtRiskCount(Integer value) { this.AtRiskCount = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public VisitExceptionsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class ExceptionItem { public String Kind = null; public String VisitKey = null; public Integer JobID = null; public Integer ProjectID = null; public Integer AgreementID = null; public Integer AgreementJobID = null; public String OccurrenceDate = null; public String CustomerName = null; public String LocationName = null; public String City = null; public Double Lat = null; public Double Lng = null; public Integer AgeDays = null; public String Reason = null; public Integer DurationMinutes = null; public Boolean IsCommercial = null; public Integer PreferredCrewID = null; public String getKind() { return Kind; } public ExceptionItem setKind(String value) { this.Kind = value; return this; } public String getVisitKey() { return VisitKey; } public ExceptionItem setVisitKey(String value) { this.VisitKey = value; return this; } public Integer getJobID() { return JobID; } public ExceptionItem setJobID(Integer value) { this.JobID = value; return this; } public Integer getProjectID() { return ProjectID; } public ExceptionItem setProjectID(Integer value) { this.ProjectID = value; return this; } public Integer getAgreementID() { return AgreementID; } public ExceptionItem setAgreementID(Integer value) { this.AgreementID = value; return this; } public Integer getAgreementJobID() { return AgreementJobID; } public ExceptionItem setAgreementJobID(Integer value) { this.AgreementJobID = value; return this; } public String getOccurrenceDate() { return OccurrenceDate; } public ExceptionItem setOccurrenceDate(String value) { this.OccurrenceDate = value; return this; } public String getCustomerName() { return CustomerName; } public ExceptionItem setCustomerName(String value) { this.CustomerName = value; return this; } public String getLocationName() { return LocationName; } public ExceptionItem setLocationName(String value) { this.LocationName = value; return this; } public String getCity() { return City; } public ExceptionItem setCity(String value) { this.City = value; return this; } public Double getLat() { return Lat; } public ExceptionItem setLat(Double value) { this.Lat = value; return this; } public Double getLng() { return Lng; } public ExceptionItem setLng(Double value) { this.Lng = value; return this; } public Integer getAgeDays() { return AgeDays; } public ExceptionItem setAgeDays(Integer value) { this.AgeDays = value; return this; } public String getReason() { return Reason; } public ExceptionItem setReason(String value) { this.Reason = value; return this; } public Integer getDurationMinutes() { return DurationMinutes; } public ExceptionItem setDurationMinutes(Integer value) { this.DurationMinutes = value; return this; } public Boolean getIsCommercial() { return IsCommercial; } public ExceptionItem setIsCommercial(Boolean value) { this.IsCommercial = value; return this; } public Integer getPreferredCrewID() { return PreferredCrewID; } public ExceptionItem setPreferredCrewID(Integer value) { this.PreferredCrewID = value; return this; } } }