/* Options: Date: 2026-08-01 04:15:29 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: PlanningRequest.* //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/workforce/planning", Verbs="GET") public static class PlanningRequest implements IReturn { public Date AsOf = null; public Date getAsOf() { return AsOf; } public PlanningRequest setAsOf(Date value) { this.AsOf = value; return this; } private static Object responseType = PlanningResponse.class; public Object getResponseType() { return responseType; } } public static class PlanningResponse { public PlanningSurface Surface = null; public Boolean CanSeePay = null; public ResponseStatus ResponseStatus = null; public PlanningSurface getSurface() { return Surface; } public PlanningResponse setSurface(PlanningSurface value) { this.Surface = value; return this; } public Boolean isCanSeePay() { return CanSeePay; } public PlanningResponse setCanSeePay(Boolean value) { this.CanSeePay = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public PlanningResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class PlanningSurface { public String WeekLabel = null; public Date WeekStart = null; public Integer WorkerCount = null; public OtExposureBoard Ot = null; public PerDiemBoard PerDiem = null; public MarginBoard Margin = null; public UtilizationBoard Utilization = null; public ArrayList Suggestions = new ArrayList(); public String getWeekLabel() { return WeekLabel; } public PlanningSurface setWeekLabel(String value) { this.WeekLabel = value; return this; } public Date getWeekStart() { return WeekStart; } public PlanningSurface setWeekStart(Date value) { this.WeekStart = value; return this; } public Integer getWorkerCount() { return WorkerCount; } public PlanningSurface setWorkerCount(Integer value) { this.WorkerCount = value; return this; } public OtExposureBoard getOt() { return Ot; } public PlanningSurface setOt(OtExposureBoard value) { this.Ot = value; return this; } public PerDiemBoard getPerDiem() { return PerDiem; } public PlanningSurface setPerDiem(PerDiemBoard value) { this.PerDiem = value; return this; } public MarginBoard getMargin() { return Margin; } public PlanningSurface setMargin(MarginBoard value) { this.Margin = value; return this; } public UtilizationBoard getUtilization() { return Utilization; } public PlanningSurface setUtilization(UtilizationBoard value) { this.Utilization = value; return this; } public ArrayList getSuggestions() { return Suggestions; } public PlanningSurface setSuggestions(ArrayList value) { this.Suggestions = value; return this; } } public static class OtExposureBoard { public BigDecimal TotalOtCost = null; public BigDecimal TotalOtHours = null; public Integer OverCount = null; public Integer WorkerCount = null; public ArrayList Rows = new ArrayList(); public BigDecimal getTotalOtCost() { return TotalOtCost; } public OtExposureBoard setTotalOtCost(BigDecimal value) { this.TotalOtCost = value; return this; } public BigDecimal getTotalOtHours() { return TotalOtHours; } public OtExposureBoard setTotalOtHours(BigDecimal value) { this.TotalOtHours = value; return this; } public Integer getOverCount() { return OverCount; } public OtExposureBoard setOverCount(Integer value) { this.OverCount = value; return this; } public Integer getWorkerCount() { return WorkerCount; } public OtExposureBoard setWorkerCount(Integer value) { this.WorkerCount = value; return this; } public ArrayList getRows() { return Rows; } public OtExposureBoard setRows(ArrayList value) { this.Rows = value; return this; } } public static class PerDiemBoard { public BigDecimal TotalCost = null; public BigDecimal NonTaxable = null; public BigDecimal Taxable = null; public Integer AwayCount = null; public ArrayList Jobs = new ArrayList(); public BigDecimal getTotalCost() { return TotalCost; } public PerDiemBoard setTotalCost(BigDecimal value) { this.TotalCost = value; return this; } public BigDecimal getNonTaxable() { return NonTaxable; } public PerDiemBoard setNonTaxable(BigDecimal value) { this.NonTaxable = value; return this; } public BigDecimal getTaxable() { return Taxable; } public PerDiemBoard setTaxable(BigDecimal value) { this.Taxable = value; return this; } public Integer getAwayCount() { return AwayCount; } public PerDiemBoard setAwayCount(Integer value) { this.AwayCount = value; return this; } public ArrayList getJobs() { return Jobs; } public PerDiemBoard setJobs(ArrayList value) { this.Jobs = value; return this; } } public static class MarginBoard { public Integer JobCount = null; public BigDecimal TotalFade = null; public ArrayList Jobs = new ArrayList(); public Integer getJobCount() { return JobCount; } public MarginBoard setJobCount(Integer value) { this.JobCount = value; return this; } public BigDecimal getTotalFade() { return TotalFade; } public MarginBoard setTotalFade(BigDecimal value) { this.TotalFade = value; return this; } public ArrayList getJobs() { return Jobs; } public MarginBoard setJobs(ArrayList value) { this.Jobs = value; return this; } } public static class UtilizationBoard { public Integer UnderCount = null; public Integer OverCount = null; public ArrayList Rows = new ArrayList(); public Integer getUnderCount() { return UnderCount; } public UtilizationBoard setUnderCount(Integer value) { this.UnderCount = value; return this; } public Integer getOverCount() { return OverCount; } public UtilizationBoard setOverCount(Integer value) { this.OverCount = value; return this; } public ArrayList getRows() { return Rows; } public UtilizationBoard setRows(ArrayList value) { this.Rows = value; return this; } } public static class PlanningSuggestion { public String Id = null; public String Kind = null; public String Title = null; public String Detail = null; public String SaveText = null; public String Effect = null; public String RuleId = null; public String LegalNote = null; public String ApplyLabel = null; public String Severity = null; public String getId() { return Id; } public PlanningSuggestion setId(String value) { this.Id = value; return this; } public String getKind() { return Kind; } public PlanningSuggestion setKind(String value) { this.Kind = value; return this; } public String getTitle() { return Title; } public PlanningSuggestion setTitle(String value) { this.Title = value; return this; } public String getDetail() { return Detail; } public PlanningSuggestion setDetail(String value) { this.Detail = value; return this; } public String getSaveText() { return SaveText; } public PlanningSuggestion setSaveText(String value) { this.SaveText = value; return this; } public String getEffect() { return Effect; } public PlanningSuggestion setEffect(String value) { this.Effect = value; return this; } public String getRuleId() { return RuleId; } public PlanningSuggestion setRuleId(String value) { this.RuleId = value; return this; } public String getLegalNote() { return LegalNote; } public PlanningSuggestion setLegalNote(String value) { this.LegalNote = value; return this; } public String getApplyLabel() { return ApplyLabel; } public PlanningSuggestion setApplyLabel(String value) { this.ApplyLabel = value; return this; } public String getSeverity() { return Severity; } public PlanningSuggestion setSeverity(String value) { this.Severity = value; return this; } } public static class OtRow { public Integer ContactID = null; public String WorkerName = null; public String ClassCode = null; public String Crew = null; public String Job = null; public String PatternLabel = null; public BigDecimal ProjHours = null; public BigDecimal OtHours = null; public BigDecimal DtHours = null; public BigDecimal OtCost = null; public String State = null; public String Tone = null; public Integer getContactID() { return ContactID; } public OtRow setContactID(Integer value) { this.ContactID = value; return this; } public String getWorkerName() { return WorkerName; } public OtRow setWorkerName(String value) { this.WorkerName = value; return this; } public String getClassCode() { return ClassCode; } public OtRow setClassCode(String value) { this.ClassCode = value; return this; } public String getCrew() { return Crew; } public OtRow setCrew(String value) { this.Crew = value; return this; } public String getJob() { return Job; } public OtRow setJob(String value) { this.Job = value; return this; } public String getPatternLabel() { return PatternLabel; } public OtRow setPatternLabel(String value) { this.PatternLabel = value; return this; } public BigDecimal getProjHours() { return ProjHours; } public OtRow setProjHours(BigDecimal value) { this.ProjHours = value; return this; } public BigDecimal getOtHours() { return OtHours; } public OtRow setOtHours(BigDecimal value) { this.OtHours = value; return this; } public BigDecimal getDtHours() { return DtHours; } public OtRow setDtHours(BigDecimal value) { this.DtHours = value; return this; } public BigDecimal getOtCost() { return OtCost; } public OtRow setOtCost(BigDecimal value) { this.OtCost = value; return this; } public String getState() { return State; } public OtRow setState(String value) { this.State = value; return this; } public String getTone() { return Tone; } public OtRow setTone(String value) { this.Tone = value; return this; } } public static class PerDiemJobRow { public String Job = null; public BigDecimal Total = null; public BigDecimal NonTax = null; public BigDecimal Tax = null; public Integer Days = null; public Integer AwayCount = null; public Boolean DayRateFlag = null; public String getJob() { return Job; } public PerDiemJobRow setJob(String value) { this.Job = value; return this; } public BigDecimal getTotal() { return Total; } public PerDiemJobRow setTotal(BigDecimal value) { this.Total = value; return this; } public BigDecimal getNonTax() { return NonTax; } public PerDiemJobRow setNonTax(BigDecimal value) { this.NonTax = value; return this; } public BigDecimal getTax() { return Tax; } public PerDiemJobRow setTax(BigDecimal value) { this.Tax = value; return this; } public Integer getDays() { return Days; } public PerDiemJobRow setDays(Integer value) { this.Days = value; return this; } public Integer getAwayCount() { return AwayCount; } public PerDiemJobRow setAwayCount(Integer value) { this.AwayCount = value; return this; } public Boolean isDayRateFlag() { return DayRateFlag; } public PerDiemJobRow setDayRateFlag(Boolean value) { this.DayRateFlag = value; return this; } } public static class MarginJobRow { public String Job = null; public BigDecimal BasePct = null; public BigDecimal ProjPct = null; public BigDecimal FadePts = null; public String Severity = null; public BigDecimal OtCost = null; public BigDecimal PerDiem = null; public String getJob() { return Job; } public MarginJobRow setJob(String value) { this.Job = value; return this; } public BigDecimal getBasePct() { return BasePct; } public MarginJobRow setBasePct(BigDecimal value) { this.BasePct = value; return this; } public BigDecimal getProjPct() { return ProjPct; } public MarginJobRow setProjPct(BigDecimal value) { this.ProjPct = value; return this; } public BigDecimal getFadePts() { return FadePts; } public MarginJobRow setFadePts(BigDecimal value) { this.FadePts = value; return this; } public String getSeverity() { return Severity; } public MarginJobRow setSeverity(String value) { this.Severity = value; return this; } public BigDecimal getOtCost() { return OtCost; } public MarginJobRow setOtCost(BigDecimal value) { this.OtCost = value; return this; } public BigDecimal getPerDiem() { return PerDiem; } public MarginJobRow setPerDiem(BigDecimal value) { this.PerDiem = value; return this; } } public static class UtilRow { public Integer ContactID = null; public String WorkerName = null; public String Crew = null; public BigDecimal ProjHours = null; public BigDecimal BaselineHours = null; public BigDecimal Pct = null; public String Band = null; public Integer getContactID() { return ContactID; } public UtilRow setContactID(Integer value) { this.ContactID = value; return this; } public String getWorkerName() { return WorkerName; } public UtilRow setWorkerName(String value) { this.WorkerName = value; return this; } public String getCrew() { return Crew; } public UtilRow setCrew(String value) { this.Crew = value; return this; } public BigDecimal getProjHours() { return ProjHours; } public UtilRow setProjHours(BigDecimal value) { this.ProjHours = value; return this; } public BigDecimal getBaselineHours() { return BaselineHours; } public UtilRow setBaselineHours(BigDecimal value) { this.BaselineHours = value; return this; } public BigDecimal getPct() { return Pct; } public UtilRow setPct(BigDecimal value) { this.Pct = value; return this; } public String getBand() { return Band; } public UtilRow setBand(String value) { this.Band = value; return this; } } }