/* Options: Date: 2026-06-22 22:48:20 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: PmProjectDetailRequest.* //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/project/{Uid}", Verbs="GET,OPTIONS") public static class PmProjectDetailRequest implements IReturn { public String Uid = null; public String getUid() { return Uid; } public PmProjectDetailRequest setUid(String value) { this.Uid = value; return this; } private static Object responseType = PmProjectDetail.class; public Object getResponseType() { return responseType; } } public static class PmProjectDetail { public Integer ProjectID = null; public String ProjectUID = null; public String Name = null; public String Client = null; public String ProjectType = null; public String Status = null; public String Branch = null; public String StartDate = null; public String EndDate = null; public String Description = null; public PmFinance Finance = null; public PmReadiness Readiness = null; public ArrayList Jobs = new ArrayList(); public ArrayList Equipment = new ArrayList(); public ArrayList Materials = new ArrayList(); public ArrayList Calendar = new ArrayList(); public ArrayList ProjectStatuses = new ArrayList(); public ResponseStatus ResponseStatus = null; public Integer getProjectID() { return ProjectID; } public PmProjectDetail setProjectID(Integer value) { this.ProjectID = value; return this; } public String getProjectUID() { return ProjectUID; } public PmProjectDetail setProjectUID(String value) { this.ProjectUID = value; return this; } public String getName() { return Name; } public PmProjectDetail setName(String value) { this.Name = value; return this; } public String getClient() { return Client; } public PmProjectDetail setClient(String value) { this.Client = value; return this; } public String getProjectType() { return ProjectType; } public PmProjectDetail setProjectType(String value) { this.ProjectType = value; return this; } public String getStatus() { return Status; } public PmProjectDetail setStatus(String value) { this.Status = value; return this; } public String getBranch() { return Branch; } public PmProjectDetail setBranch(String value) { this.Branch = value; return this; } public String getStartDate() { return StartDate; } public PmProjectDetail setStartDate(String value) { this.StartDate = value; return this; } public String getEndDate() { return EndDate; } public PmProjectDetail setEndDate(String value) { this.EndDate = value; return this; } public String getDescription() { return Description; } public PmProjectDetail setDescription(String value) { this.Description = value; return this; } public PmFinance getFinance() { return Finance; } public PmProjectDetail setFinance(PmFinance value) { this.Finance = value; return this; } public PmReadiness getReadiness() { return Readiness; } public PmProjectDetail setReadiness(PmReadiness value) { this.Readiness = value; return this; } public ArrayList getJobs() { return Jobs; } public PmProjectDetail setJobs(ArrayList value) { this.Jobs = value; return this; } public ArrayList getEquipment() { return Equipment; } public PmProjectDetail setEquipment(ArrayList value) { this.Equipment = value; return this; } public ArrayList getMaterials() { return Materials; } public PmProjectDetail setMaterials(ArrayList value) { this.Materials = value; return this; } public ArrayList getCalendar() { return Calendar; } public PmProjectDetail setCalendar(ArrayList value) { this.Calendar = value; return this; } public ArrayList getProjectStatuses() { return ProjectStatuses; } public PmProjectDetail setProjectStatuses(ArrayList value) { this.ProjectStatuses = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public PmProjectDetail setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class PmFinance { public Double Budget = null; public Double Spent = null; public Double EstimatedCost = null; public Double CrewCost = null; public Double EquipCost = null; public Double MatCost = null; public Double Variance = null; public Integer HealthPct = null; public Integer SpentPct = null; public Integer ProgressPct = null; public Double getBudget() { return Budget; } public PmFinance setBudget(Double value) { this.Budget = value; return this; } public Double getSpent() { return Spent; } public PmFinance setSpent(Double value) { this.Spent = value; return this; } public Double getEstimatedCost() { return EstimatedCost; } public PmFinance setEstimatedCost(Double value) { this.EstimatedCost = value; return this; } public Double getCrewCost() { return CrewCost; } public PmFinance setCrewCost(Double value) { this.CrewCost = value; return this; } public Double getEquipCost() { return EquipCost; } public PmFinance setEquipCost(Double value) { this.EquipCost = value; return this; } public Double getMatCost() { return MatCost; } public PmFinance setMatCost(Double value) { this.MatCost = value; return this; } public Double getVariance() { return Variance; } public PmFinance setVariance(Double value) { this.Variance = value; return this; } public Integer getHealthPct() { return HealthPct; } public PmFinance setHealthPct(Integer value) { this.HealthPct = value; return this; } public Integer getSpentPct() { return SpentPct; } public PmFinance setSpentPct(Integer value) { this.SpentPct = value; return this; } public Integer getProgressPct() { return ProgressPct; } public PmFinance setProgressPct(Integer value) { this.ProgressPct = value; return this; } } public static class PmReadiness { public Integer JobsNoCrew = null; public Integer OpenRoles = null; public Integer EquipmentConflicts = null; public Integer MaterialGaps = null; public Integer TotalGaps = null; public Integer ReadyPct = null; public Integer getJobsNoCrew() { return JobsNoCrew; } public PmReadiness setJobsNoCrew(Integer value) { this.JobsNoCrew = value; return this; } public Integer getOpenRoles() { return OpenRoles; } public PmReadiness setOpenRoles(Integer value) { this.OpenRoles = value; return this; } public Integer getEquipmentConflicts() { return EquipmentConflicts; } public PmReadiness setEquipmentConflicts(Integer value) { this.EquipmentConflicts = value; return this; } public Integer getMaterialGaps() { return MaterialGaps; } public PmReadiness setMaterialGaps(Integer value) { this.MaterialGaps = value; return this; } public Integer getTotalGaps() { return TotalGaps; } public PmReadiness setTotalGaps(Integer value) { this.TotalGaps = value; return this; } public Integer getReadyPct() { return ReadyPct; } public PmReadiness setReadyPct(Integer value) { this.ReadyPct = value; return this; } } public static class PmJob { public Integer JobID = null; public String Name = null; public String Description = null; public String Status = null; public String StartDate = null; public String EndDate = null; public Integer CrewCount = null; public Double BudgetedHours = null; public Integer EquipmentCount = null; public Integer MaterialCount = null; public Double CrewCost = null; public Double EquipCost = null; public Double MatCost = null; public Double Cost = null; public Boolean NoCrew = null; public Boolean EquipConflict = null; public Boolean MaterialGap = null; public Integer ReadyPct = null; public ArrayList Crew = new ArrayList(); public ArrayList Equipment = new ArrayList(); public ArrayList Materials = new ArrayList(); public Integer getJobID() { return JobID; } public PmJob setJobID(Integer value) { this.JobID = value; return this; } public String getName() { return Name; } public PmJob setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public PmJob setDescription(String value) { this.Description = value; return this; } public String getStatus() { return Status; } public PmJob setStatus(String value) { this.Status = value; return this; } public String getStartDate() { return StartDate; } public PmJob setStartDate(String value) { this.StartDate = value; return this; } public String getEndDate() { return EndDate; } public PmJob setEndDate(String value) { this.EndDate = value; return this; } public Integer getCrewCount() { return CrewCount; } public PmJob setCrewCount(Integer value) { this.CrewCount = value; return this; } public Double getBudgetedHours() { return BudgetedHours; } public PmJob setBudgetedHours(Double value) { this.BudgetedHours = value; return this; } public Integer getEquipmentCount() { return EquipmentCount; } public PmJob setEquipmentCount(Integer value) { this.EquipmentCount = value; return this; } public Integer getMaterialCount() { return MaterialCount; } public PmJob setMaterialCount(Integer value) { this.MaterialCount = value; return this; } public Double getCrewCost() { return CrewCost; } public PmJob setCrewCost(Double value) { this.CrewCost = value; return this; } public Double getEquipCost() { return EquipCost; } public PmJob setEquipCost(Double value) { this.EquipCost = value; return this; } public Double getMatCost() { return MatCost; } public PmJob setMatCost(Double value) { this.MatCost = value; return this; } public Double getCost() { return Cost; } public PmJob setCost(Double value) { this.Cost = value; return this; } public Boolean isNoCrew() { return NoCrew; } public PmJob setNoCrew(Boolean value) { this.NoCrew = value; return this; } public Boolean isEquipConflict() { return EquipConflict; } public PmJob setEquipConflict(Boolean value) { this.EquipConflict = value; return this; } public Boolean isMaterialGap() { return MaterialGap; } public PmJob setMaterialGap(Boolean value) { this.MaterialGap = value; return this; } public Integer getReadyPct() { return ReadyPct; } public PmJob setReadyPct(Integer value) { this.ReadyPct = value; return this; } public ArrayList getCrew() { return Crew; } public PmJob setCrew(ArrayList value) { this.Crew = value; return this; } public ArrayList getEquipment() { return Equipment; } public PmJob setEquipment(ArrayList value) { this.Equipment = value; return this; } public ArrayList getMaterials() { return Materials; } public PmJob setMaterials(ArrayList value) { this.Materials = value; return this; } } public static class PmEquipmentRow { public Integer EquipmentID = null; public String Name = null; public String EquipmentType = null; public String SerialNumber = null; public String UsedByJobs = null; public Boolean Available = null; public ArrayList Conflicts = new ArrayList(); public Integer MaintenanceIntervalDays = null; public String LastServiceDate = null; public String NextServiceDate = null; public String MaintenanceState = null; public Integer getEquipmentID() { return EquipmentID; } public PmEquipmentRow setEquipmentID(Integer value) { this.EquipmentID = value; return this; } public String getName() { return Name; } public PmEquipmentRow setName(String value) { this.Name = value; return this; } public String getEquipmentType() { return EquipmentType; } public PmEquipmentRow setEquipmentType(String value) { this.EquipmentType = value; return this; } public String getSerialNumber() { return SerialNumber; } public PmEquipmentRow setSerialNumber(String value) { this.SerialNumber = value; return this; } public String getUsedByJobs() { return UsedByJobs; } public PmEquipmentRow setUsedByJobs(String value) { this.UsedByJobs = value; return this; } public Boolean isAvailable() { return Available; } public PmEquipmentRow setAvailable(Boolean value) { this.Available = value; return this; } public ArrayList getConflicts() { return Conflicts; } public PmEquipmentRow setConflicts(ArrayList value) { this.Conflicts = value; return this; } public Integer getMaintenanceIntervalDays() { return MaintenanceIntervalDays; } public PmEquipmentRow setMaintenanceIntervalDays(Integer value) { this.MaintenanceIntervalDays = value; return this; } public String getLastServiceDate() { return LastServiceDate; } public PmEquipmentRow setLastServiceDate(String value) { this.LastServiceDate = value; return this; } public String getNextServiceDate() { return NextServiceDate; } public PmEquipmentRow setNextServiceDate(String value) { this.NextServiceDate = value; return this; } public String getMaintenanceState() { return MaintenanceState; } public PmEquipmentRow setMaintenanceState(String value) { this.MaintenanceState = value; return this; } } public static class PmMaterialRow { 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 Integer ToOrder = null; public Double UnitCost = null; public Double LineCost = null; public Integer ProjectMaterialID = null; public Integer StatusID = null; public String Status = null; public String Supplier = null; public String OrderDate = null; public String DeliveryDate = null; public Boolean Shortfall = null; public Integer getMaterialID() { return MaterialID; } public PmMaterialRow setMaterialID(Integer value) { this.MaterialID = value; return this; } public String getName() { return Name; } public PmMaterialRow setName(String value) { this.Name = value; return this; } public String getMaterialType() { return MaterialType; } public PmMaterialRow setMaterialType(String value) { this.MaterialType = value; return this; } public Integer getOnHand() { return OnHand; } public PmMaterialRow setOnHand(Integer value) { this.OnHand = value; return this; } public Integer getNeededByJobs() { return NeededByJobs; } public PmMaterialRow setNeededByJobs(Integer value) { this.NeededByJobs = value; return this; } public Integer getQtyNeeded() { return QtyNeeded; } public PmMaterialRow setQtyNeeded(Integer value) { this.QtyNeeded = value; return this; } public Integer getToOrder() { return ToOrder; } public PmMaterialRow setToOrder(Integer value) { this.ToOrder = value; return this; } public Double getUnitCost() { return UnitCost; } public PmMaterialRow setUnitCost(Double value) { this.UnitCost = value; return this; } public Double getLineCost() { return LineCost; } public PmMaterialRow setLineCost(Double value) { this.LineCost = value; return this; } public Integer getProjectMaterialID() { return ProjectMaterialID; } public PmMaterialRow setProjectMaterialID(Integer value) { this.ProjectMaterialID = value; return this; } public Integer getStatusID() { return StatusID; } public PmMaterialRow setStatusID(Integer value) { this.StatusID = value; return this; } public String getStatus() { return Status; } public PmMaterialRow setStatus(String value) { this.Status = value; return this; } public String getSupplier() { return Supplier; } public PmMaterialRow setSupplier(String value) { this.Supplier = value; return this; } public String getOrderDate() { return OrderDate; } public PmMaterialRow setOrderDate(String value) { this.OrderDate = value; return this; } public String getDeliveryDate() { return DeliveryDate; } public PmMaterialRow setDeliveryDate(String value) { this.DeliveryDate = value; return this; } public Boolean isShortfall() { return Shortfall; } public PmMaterialRow setShortfall(Boolean value) { this.Shortfall = value; return this; } } public static class PmCalendarBar { public Integer JobID = null; public String Name = null; public String StartDate = null; public String EndDate = null; public String Status = null; public Integer getJobID() { return JobID; } public PmCalendarBar setJobID(Integer value) { this.JobID = value; return this; } public String getName() { return Name; } public PmCalendarBar setName(String value) { this.Name = value; return this; } public String getStartDate() { return StartDate; } public PmCalendarBar setStartDate(String value) { this.StartDate = value; return this; } public String getEndDate() { return EndDate; } public PmCalendarBar setEndDate(String value) { this.EndDate = value; return this; } public String getStatus() { return Status; } public PmCalendarBar setStatus(String value) { this.Status = value; return this; } } public static class PmCatalogItem { public Integer Id = null; public String Name = null; public Double Amount = null; public Integer getId() { return Id; } public PmCatalogItem setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public PmCatalogItem setName(String value) { this.Name = value; return this; } public Double getAmount() { return Amount; } public PmCatalogItem setAmount(Double value) { this.Amount = value; return this; } } public static class PmJobCrew { public Integer ContactID = null; public String Name = null; public Double Rate = null; public Double BudgetedHours = null; public Boolean IsOpen = null; public Integer getContactID() { return ContactID; } public PmJobCrew setContactID(Integer value) { this.ContactID = value; return this; } public String getName() { return Name; } public PmJobCrew setName(String value) { this.Name = value; return this; } public Double getRate() { return Rate; } public PmJobCrew setRate(Double value) { this.Rate = value; return this; } public Double getBudgetedHours() { return BudgetedHours; } public PmJobCrew setBudgetedHours(Double value) { this.BudgetedHours = value; return this; } public Boolean getIsOpen() { return IsOpen; } public PmJobCrew setIsOpen(Boolean value) { this.IsOpen = value; return this; } } public static class PmJobResource { public Integer Id = null; public String Name = null; public Double Amount = null; public Integer Qty = null; public Integer getId() { return Id; } public PmJobResource setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public PmJobResource setName(String value) { this.Name = value; return this; } public Double getAmount() { return Amount; } public PmJobResource setAmount(Double value) { this.Amount = value; return this; } public Integer getQty() { return Qty; } public PmJobResource setQty(Integer value) { this.Qty = value; return this; } } public static class PmConflict { public String ProjectName = null; public String JobName = null; public String StartDate = null; public String EndDate = null; public String getProjectName() { return ProjectName; } public PmConflict setProjectName(String value) { this.ProjectName = value; return this; } public String getJobName() { return JobName; } public PmConflict setJobName(String value) { this.JobName = value; return this; } public String getStartDate() { return StartDate; } public PmConflict setStartDate(String value) { this.StartDate = value; return this; } public String getEndDate() { return EndDate; } public PmConflict setEndDate(String value) { this.EndDate = value; return this; } } }