/* Options: Date: 2026-06-22 20:27:53 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: PortalVisitsRequest.* //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="/portal/{Token}/visits", Verbs="GET,OPTIONS") public static class PortalVisitsRequest implements IReturn { public String Token = null; public String getToken() { return Token; } public PortalVisitsRequest setToken(String value) { this.Token = value; return this; } private static Object responseType = PortalVisitsResponse.class; public Object getResponseType() { return responseType; } } public static class PortalVisitsResponse { public ResponseStatus ResponseStatus = null; public ArrayList Visits = new ArrayList(); public ArrayList Photos = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public PortalVisitsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getVisits() { return Visits; } public PortalVisitsResponse setVisits(ArrayList value) { this.Visits = value; return this; } public ArrayList getPhotos() { return Photos; } public PortalVisitsResponse setPhotos(ArrayList value) { this.Photos = value; return this; } } public static class CustomerVisit { public Integer AgreementJobID = null; public Date VisitDate = null; public Date CompletedAt = null; public String ServiceName = null; public String CrewNotes = null; public Integer getAgreementJobID() { return AgreementJobID; } public CustomerVisit setAgreementJobID(Integer value) { this.AgreementJobID = value; return this; } public Date getVisitDate() { return VisitDate; } public CustomerVisit setVisitDate(Date value) { this.VisitDate = value; return this; } public Date getCompletedAt() { return CompletedAt; } public CustomerVisit setCompletedAt(Date value) { this.CompletedAt = value; return this; } public String getServiceName() { return ServiceName; } public CustomerVisit setServiceName(String value) { this.ServiceName = value; return this; } public String getCrewNotes() { return CrewNotes; } public CustomerVisit setCrewNotes(String value) { this.CrewNotes = value; return this; } } public static class CustomerVisitPhoto { public Integer ProjectLocationAttachmentID = null; public Integer AgreementJobID = null; public String DocTitle = null; public String MimeType = null; public Date UploadDate = null; public Integer getProjectLocationAttachmentID() { return ProjectLocationAttachmentID; } public CustomerVisitPhoto setProjectLocationAttachmentID(Integer value) { this.ProjectLocationAttachmentID = value; return this; } public Integer getAgreementJobID() { return AgreementJobID; } public CustomerVisitPhoto setAgreementJobID(Integer value) { this.AgreementJobID = value; return this; } public String getDocTitle() { return DocTitle; } public CustomerVisitPhoto setDocTitle(String value) { this.DocTitle = value; return this; } public String getMimeType() { return MimeType; } public CustomerVisitPhoto setMimeType(String value) { this.MimeType = value; return this; } public Date getUploadDate() { return UploadDate; } public CustomerVisitPhoto setUploadDate(Date value) { this.UploadDate = value; return this; } } }