/* Options: Date: 2026-08-01 09:33:46 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: SafetyComplianceRequest.* //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/compliance", Verbs="GET,OPTIONS") public static class SafetyComplianceRequest implements IReturn { public Integer Days = null; public Integer getDays() { return Days; } public SafetyComplianceRequest setDays(Integer value) { this.Days = value; return this; } private static Object responseType = SafetyComplianceResponse.class; public Object getResponseType() { return responseType; } } public static class SafetyComplianceResponse { public ResponseStatus ResponseStatus = null; public SafetyComplianceKpis Kpis = null; public ArrayList Projects = new ArrayList(); public ArrayList Trend = new ArrayList(); public ArrayList IncidentMix = new ArrayList(); public ArrayList MissingTalks = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public SafetyComplianceResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public SafetyComplianceKpis getKpis() { return Kpis; } public SafetyComplianceResponse setKpis(SafetyComplianceKpis value) { this.Kpis = value; return this; } public ArrayList getProjects() { return Projects; } public SafetyComplianceResponse setProjects(ArrayList value) { this.Projects = value; return this; } public ArrayList getTrend() { return Trend; } public SafetyComplianceResponse setTrend(ArrayList value) { this.Trend = value; return this; } public ArrayList getIncidentMix() { return IncidentMix; } public SafetyComplianceResponse setIncidentMix(ArrayList value) { this.IncidentMix = value; return this; } public ArrayList getMissingTalks() { return MissingTalks; } public SafetyComplianceResponse setMissingTalks(ArrayList value) { this.MissingTalks = value; return this; } } public static class SafetyComplianceKpis { public Integer ParticipationPct = null; public Integer OpenIncidents = null; public Integer OverdueCAs = null; public Integer Recordables12mo = null; public Integer DaysWithoutRecordable = null; public Integer ProjectsWithTalkToday = null; public Integer ProjectsWithCrewToday = null; public Integer getParticipationPct() { return ParticipationPct; } public SafetyComplianceKpis setParticipationPct(Integer value) { this.ParticipationPct = value; return this; } public Integer getOpenIncidents() { return OpenIncidents; } public SafetyComplianceKpis setOpenIncidents(Integer value) { this.OpenIncidents = value; return this; } public Integer getOverdueCAs() { return OverdueCAs; } public SafetyComplianceKpis setOverdueCAs(Integer value) { this.OverdueCAs = value; return this; } public Integer getRecordables12mo() { return Recordables12mo; } public SafetyComplianceKpis setRecordables12mo(Integer value) { this.Recordables12mo = value; return this; } public Integer getDaysWithoutRecordable() { return DaysWithoutRecordable; } public SafetyComplianceKpis setDaysWithoutRecordable(Integer value) { this.DaysWithoutRecordable = value; return this; } public Integer getProjectsWithTalkToday() { return ProjectsWithTalkToday; } public SafetyComplianceKpis setProjectsWithTalkToday(Integer value) { this.ProjectsWithTalkToday = value; return this; } public Integer getProjectsWithCrewToday() { return ProjectsWithCrewToday; } public SafetyComplianceKpis setProjectsWithCrewToday(Integer value) { this.ProjectsWithCrewToday = value; return this; } } public static class SafetyComplianceProject { public Integer ProjectID = null; public String ProjectUID = null; public String ProjectName = null; public String Branch = null; public Integer CrewCount = null; public Boolean HasTalkToday = null; public Integer TalkAckPct = null; public Integer OpenIncidents = null; public Integer OverdueCAs = null; public Integer Recordables12mo = null; public Integer getProjectID() { return ProjectID; } public SafetyComplianceProject setProjectID(Integer value) { this.ProjectID = value; return this; } public String getProjectUID() { return ProjectUID; } public SafetyComplianceProject setProjectUID(String value) { this.ProjectUID = value; return this; } public String getProjectName() { return ProjectName; } public SafetyComplianceProject setProjectName(String value) { this.ProjectName = value; return this; } public String getBranch() { return Branch; } public SafetyComplianceProject setBranch(String value) { this.Branch = value; return this; } public Integer getCrewCount() { return CrewCount; } public SafetyComplianceProject setCrewCount(Integer value) { this.CrewCount = value; return this; } public Boolean isHasTalkToday() { return HasTalkToday; } public SafetyComplianceProject setHasTalkToday(Boolean value) { this.HasTalkToday = value; return this; } public Integer getTalkAckPct() { return TalkAckPct; } public SafetyComplianceProject setTalkAckPct(Integer value) { this.TalkAckPct = value; return this; } public Integer getOpenIncidents() { return OpenIncidents; } public SafetyComplianceProject setOpenIncidents(Integer value) { this.OpenIncidents = value; return this; } public Integer getOverdueCAs() { return OverdueCAs; } public SafetyComplianceProject setOverdueCAs(Integer value) { this.OverdueCAs = value; return this; } public Integer getRecordables12mo() { return Recordables12mo; } public SafetyComplianceProject setRecordables12mo(Integer value) { this.Recordables12mo = value; return this; } } public static class SafetyTrendWeek { public String WeekStart = null; public Integer Acks = null; public Integer Roster = null; public String getWeekStart() { return WeekStart; } public SafetyTrendWeek setWeekStart(String value) { this.WeekStart = value; return this; } public Integer getAcks() { return Acks; } public SafetyTrendWeek setAcks(Integer value) { this.Acks = value; return this; } public Integer getRoster() { return Roster; } public SafetyTrendWeek setRoster(Integer value) { this.Roster = value; return this; } } public static class SafetyIncidentMixRow { public String Severity = null; public Integer Cnt = null; public String getSeverity() { return Severity; } public SafetyIncidentMixRow setSeverity(String value) { this.Severity = value; return this; } public Integer getCnt() { return Cnt; } public SafetyIncidentMixRow setCnt(Integer value) { this.Cnt = value; return this; } } public static class SafetyMissingTalk { public Integer ProjectID = null; public String ProjectUID = null; public String ProjectName = null; public Integer CrewCount = null; public Integer getProjectID() { return ProjectID; } public SafetyMissingTalk setProjectID(Integer value) { this.ProjectID = value; return this; } public String getProjectUID() { return ProjectUID; } public SafetyMissingTalk setProjectUID(String value) { this.ProjectUID = value; return this; } public String getProjectName() { return ProjectName; } public SafetyMissingTalk setProjectName(String value) { this.ProjectName = value; return this; } public Integer getCrewCount() { return CrewCount; } public SafetyMissingTalk setCrewCount(Integer value) { this.CrewCount = value; return this; } } }