/* Options: Date: 2026-07-08 20:36: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: SafetyIncidentListRequest.* //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/safety/incidents", Verbs="GET,OPTIONS") public static class SafetyIncidentListRequest implements IReturn { public Date FromDate = null; public Date ToDate = null; public Integer ProjectID = null; public Date getFromDate() { return FromDate; } public SafetyIncidentListRequest setFromDate(Date value) { this.FromDate = value; return this; } public Date getToDate() { return ToDate; } public SafetyIncidentListRequest setToDate(Date value) { this.ToDate = value; return this; } public Integer getProjectID() { return ProjectID; } public SafetyIncidentListRequest setProjectID(Integer value) { this.ProjectID = value; return this; } private static Object responseType = SafetyIncidentListResponse.class; public Object getResponseType() { return responseType; } } public static class SafetyIncidentListResponse { public ResponseStatus ResponseStatus = null; public ArrayList Incidents = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public SafetyIncidentListResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getIncidents() { return Incidents; } public SafetyIncidentListResponse setIncidents(ArrayList value) { this.Incidents = value; return this; } } public static class SafetyIncident { public Integer SafetyIncidentID = null; public UUID SafetyIncidentUID = null; public UUID BranchId = null; public Integer ProjectID = null; public String IncidentNo = null; public String IncidentType = null; public String Severity = null; public String Status = null; public String Title = null; public String Location = null; public String CrewLabel = null; public String Description = null; public String ReportedBy = null; public Boolean IsRecordable = null; public Date OccurredAt = null; public Date ClosedAt = null; public String SourceRef = null; public String CreatedBy = null; public Date CreatedAt = null; public Date UpdatedAt = null; public Integer DaysAgo = null; public Integer getSafetyIncidentID() { return SafetyIncidentID; } public SafetyIncident setSafetyIncidentID(Integer value) { this.SafetyIncidentID = value; return this; } public UUID getSafetyIncidentUID() { return SafetyIncidentUID; } public SafetyIncident setSafetyIncidentUID(UUID value) { this.SafetyIncidentUID = value; return this; } public UUID getBranchId() { return BranchId; } public SafetyIncident setBranchId(UUID value) { this.BranchId = value; return this; } public Integer getProjectID() { return ProjectID; } public SafetyIncident setProjectID(Integer value) { this.ProjectID = value; return this; } public String getIncidentNo() { return IncidentNo; } public SafetyIncident setIncidentNo(String value) { this.IncidentNo = value; return this; } public String getIncidentType() { return IncidentType; } public SafetyIncident setIncidentType(String value) { this.IncidentType = value; return this; } public String getSeverity() { return Severity; } public SafetyIncident setSeverity(String value) { this.Severity = value; return this; } public String getStatus() { return Status; } public SafetyIncident setStatus(String value) { this.Status = value; return this; } public String getTitle() { return Title; } public SafetyIncident setTitle(String value) { this.Title = value; return this; } public String getLocation() { return Location; } public SafetyIncident setLocation(String value) { this.Location = value; return this; } public String getCrewLabel() { return CrewLabel; } public SafetyIncident setCrewLabel(String value) { this.CrewLabel = value; return this; } public String getDescription() { return Description; } public SafetyIncident setDescription(String value) { this.Description = value; return this; } public String getReportedBy() { return ReportedBy; } public SafetyIncident setReportedBy(String value) { this.ReportedBy = value; return this; } public Boolean getIsRecordable() { return IsRecordable; } public SafetyIncident setIsRecordable(Boolean value) { this.IsRecordable = value; return this; } public Date getOccurredAt() { return OccurredAt; } public SafetyIncident setOccurredAt(Date value) { this.OccurredAt = value; return this; } public Date getClosedAt() { return ClosedAt; } public SafetyIncident setClosedAt(Date value) { this.ClosedAt = value; return this; } public String getSourceRef() { return SourceRef; } public SafetyIncident setSourceRef(String value) { this.SourceRef = value; return this; } public String getCreatedBy() { return CreatedBy; } public SafetyIncident setCreatedBy(String value) { this.CreatedBy = value; return this; } public Date getCreatedAt() { return CreatedAt; } public SafetyIncident setCreatedAt(Date value) { this.CreatedAt = value; return this; } public Date getUpdatedAt() { return UpdatedAt; } public SafetyIncident setUpdatedAt(Date value) { this.UpdatedAt = value; return this; } public Integer getDaysAgo() { return DaysAgo; } public SafetyIncident setDaysAgo(Integer value) { this.DaysAgo = value; return this; } } }