/* Options: Date: 2026-06-22 22:49:21 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: PmResourcesRequest.* //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/pm/resources", Verbs="GET,OPTIONS") public static class PmResourcesRequest implements IReturn { public Integer Days = null; public Integer getDays() { return Days; } public PmResourcesRequest setDays(Integer value) { this.Days = value; return this; } private static Object responseType = PmResourcesResponse.class; public Object getResponseType() { return responseType; } } public static class PmResourcesResponse { public String FromDate = null; public String ToDate = null; public Integer OverbookedCount = null; public Integer CommittedCount = null; public Integer ShortfallCount = null; public ArrayList Equipment = new ArrayList(); public ArrayList Materials = new ArrayList(); public ResponseStatus ResponseStatus = null; public String getFromDate() { return FromDate; } public PmResourcesResponse setFromDate(String value) { this.FromDate = value; return this; } public String getToDate() { return ToDate; } public PmResourcesResponse setToDate(String value) { this.ToDate = value; return this; } public Integer getOverbookedCount() { return OverbookedCount; } public PmResourcesResponse setOverbookedCount(Integer value) { this.OverbookedCount = value; return this; } public Integer getCommittedCount() { return CommittedCount; } public PmResourcesResponse setCommittedCount(Integer value) { this.CommittedCount = value; return this; } public Integer getShortfallCount() { return ShortfallCount; } public PmResourcesResponse setShortfallCount(Integer value) { this.ShortfallCount = value; return this; } public ArrayList getEquipment() { return Equipment; } public PmResourcesResponse setEquipment(ArrayList value) { this.Equipment = value; return this; } public ArrayList getMaterials() { return Materials; } public PmResourcesResponse setMaterials(ArrayList value) { this.Materials = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public PmResourcesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class PmResEquipment { public Integer EquipmentID = null; public String Name = null; public String EquipmentType = null; public String SerialNumber = null; public Integer JobCount = null; public Boolean Overbooked = null; public String MaintenanceState = null; public ArrayList Commitments = new ArrayList(); public Integer getEquipmentID() { return EquipmentID; } public PmResEquipment setEquipmentID(Integer value) { this.EquipmentID = value; return this; } public String getName() { return Name; } public PmResEquipment setName(String value) { this.Name = value; return this; } public String getEquipmentType() { return EquipmentType; } public PmResEquipment setEquipmentType(String value) { this.EquipmentType = value; return this; } public String getSerialNumber() { return SerialNumber; } public PmResEquipment setSerialNumber(String value) { this.SerialNumber = value; return this; } public Integer getJobCount() { return JobCount; } public PmResEquipment setJobCount(Integer value) { this.JobCount = value; return this; } public Boolean isOverbooked() { return Overbooked; } public PmResEquipment setOverbooked(Boolean value) { this.Overbooked = value; return this; } public String getMaintenanceState() { return MaintenanceState; } public PmResEquipment setMaintenanceState(String value) { this.MaintenanceState = value; return this; } public ArrayList getCommitments() { return Commitments; } public PmResEquipment setCommitments(ArrayList value) { this.Commitments = value; return this; } } public static class PmResMaterial { public Integer MaterialID = null; public String Name = null; public String MaterialType = null; public Integer OnHand = null; public Integer NeededByJobs = null; public Integer QtyNeeded = null; public Boolean Shortfall = null; public Integer getMaterialID() { return MaterialID; } public PmResMaterial setMaterialID(Integer value) { this.MaterialID = value; return this; } public String getName() { return Name; } public PmResMaterial setName(String value) { this.Name = value; return this; } public String getMaterialType() { return MaterialType; } public PmResMaterial setMaterialType(String value) { this.MaterialType = value; return this; } public Integer getOnHand() { return OnHand; } public PmResMaterial setOnHand(Integer value) { this.OnHand = value; return this; } public Integer getNeededByJobs() { return NeededByJobs; } public PmResMaterial setNeededByJobs(Integer value) { this.NeededByJobs = value; return this; } public Integer getQtyNeeded() { return QtyNeeded; } public PmResMaterial setQtyNeeded(Integer value) { this.QtyNeeded = value; return this; } public Boolean isShortfall() { return Shortfall; } public PmResMaterial setShortfall(Boolean value) { this.Shortfall = value; return this; } } public static class PmResCommitment { public String ProjectName = null; public String JobName = null; public String StartDate = null; public String EndDate = null; public String getProjectName() { return ProjectName; } public PmResCommitment setProjectName(String value) { this.ProjectName = value; return this; } public String getJobName() { return JobName; } public PmResCommitment setJobName(String value) { this.JobName = value; return this; } public String getStartDate() { return StartDate; } public PmResCommitment setStartDate(String value) { this.StartDate = value; return this; } public String getEndDate() { return EndDate; } public PmResCommitment setEndDate(String value) { this.EndDate = value; return this; } } }